level editor
-
so iv hit a bug in the level array don't know if its down to poor code or the fact that the array is 200 columns long
just wondering if id be better using the level editor ?
my only issue with that is when i try to transfer movement code ect for my character its not compatible with the level. the collision works but for gravity ect... sorry if this does not make sense.... -
It sounds like the level editor might be a better option for you given that the levels are the size they are - you could load different maps given the situation, allowing for better memory management.
If you want to use the actual collision functionality, you will have to use the sprite commands in your game as opposed to the
drawSheet()
method. This allows for the sprites to interact with the map collision data - but it also means that you must change a few other things too. Commands likesetSpriteAnimation()
and the sprite camera system are all made for use with the map editor.I'll send you a dm becasue there's more to go into here and I forgot to respond!