Hi everyone! I am currently using bump.lua for my collisions and I am using STI for drawing my tiled map. I was wondering, is there some way to just specify an area of my map (using coordinates or whatever) that I can then use as an item to add into my bump world? For example I have a few trees on my map and I want to make it so that the player can't just walk right over them.
I was thinking about just making a rectangle around the tree and just not drawing the rectangle, but I'm under the impression that isn't a thing.
Any and all help is appreciated!
[SOLVED]How to specify a section of a map to use collisions
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[SOLVED]How to specify a section of a map to use collisions
Last edited by hrobohboy on Mon Jul 27, 2015 10:23 pm, edited 1 time in total.
I am cursed to trek through the Desert of Life, searching for an Oasis that does not exist.
Re: How to specify a section of a map to use for collisions
Totally figured it out myself. The answer to my question is yes, you can indeed draw a rectangle around and object and just not draw it, and simply use it for collisions.
I am cursed to trek through the Desert of Life, searching for an Oasis that does not exist.
Who is online
Users browsing this forum: Ahrefs [Bot] and 207 guests