Search found 2 matches

by contadotempo
Thu Jul 28, 2016 9:34 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 771912

Re: Simple Tiled Implementation - STI v0.16.0.2

You can use the map:convertPixelToTile method convert the player's position to a tile, and then determine which tiles it may be touching base don proximity. Thank you, I'll give it a go. I get: module 'sti' not found How does your directory structure look? Make sure the folder sti has the script in...
by contadotempo
Wed Jul 27, 2016 10:51 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 914
Views: 771912

Re: Simple Tiled Implementation - STI v0.16.0.2

Hello, Is it possible to acquire which tiles or layers the player is colliding with? In my case I'm trying to make a simple platformer using box2d, where the player is either on the ground or attached to a wall. Ground tiles have the tile properties: collidable=true and ground=true, walls have: coll...