OGMO help part III


(Nate ) #1

I decided I was going to put this in its own thread!

Hey guys! So after figuring out what I had to do with the negative ones to make my OGMO generated map appear correctly when I ran my game I had my grid and layer one loading properly. So I just tried adding some water using the same method, and this is the result. Is there a reason that OGMO seems to be getting the coordinates off when I bring the .oel into my game?

Does resolution possibly have something to do with it?

this map is 2560 x 720

Here is a screen shot of what I am dealing with! Also don’t make fun of the art used it is either place holder art or stuff I did really fast! lol

Any thoughts or suggestions would greatly be appreciated! I finally have OGMO working properly and want to bang out some nice levels!

Also, in my water class I have an animated spritemap for it, is there a way I can pass the spritemap to the tilemap? Or is that against the rules? Once I have the water in the right spot, I would like it to have its collision properties as well as be animated!

Thanks guys!


(Nate ) #2

Okay so I decided to add the water as an entity in OGMO, and imported it fine that way!

However I am still curious as to why the second layer was offset and did not lay properly on top of the first layer. Any thoughts?