Any other way to make a map?
by Draco Tempus · in Torque 2D Beginner · 05/31/2013 (8:49 pm) · 3 replies
Only thing i see for making a map for a top down game is tiles. Any other way to achieve the same thing? I want something so that I can easily add more maps without much coding. However I don't really wanna use tiles.
I was thinking of using an image at layer 30. Then overlaying another image on top. Of course with transparency where ever the player can walk.
Is there any easy way to have it detect transparency level and set collision based on that? Or even check color for any color besides maybe pink.
I was thinking of using an image at layer 30. Then overlaying another image on top. Of course with transparency where ever the player can walk.
Is there any easy way to have it detect transparency level and set collision based on that? Or even check color for any color besides maybe pink.
About the author
#2
06/01/2013 (7:26 am)
Textures have a size limit. You're not forced to "tile" your map together. Collision isn't based on transparency, it's based on collision shapes. There is no easy way to create non-scquare/circle collision shapes yet but support for http://www.codeandweb.com/physicseditor is coming soon. Have you tried my level editor toy? It's crude but works (I'm using it :) ).
#3
@practicing01 Can I see the level editor you have? Might give me a good idea.
06/01/2013 (10:25 am)
@chase Well I know about a map editor and building it myself. However I was hoping to just use a few images and make it change based on the graphic dynamically. However if we have no easy way to make a collision area based on transparency, then making a level editor will probably be the best way. @practicing01 Can I see the level editor you have? Might give me a good idea.
Torque Owner Chase Webb