Platformer Block Tiling?

Overview:
I want to know how to start with making a platformer game. My guess is first I need to learn to make a level grid and generate the positions of each physical block and non-physical block.

My question:
How do I make a level grid so I CAN snap physical image blocks and non-physical image blocks to the game?

Thanks in advanced.

-noah [import]uid: 76200 topic_id: 24591 reply_id: 324591[/import]

Not sure I understand you completely, what do you mean by physical and non-physical. If you mean platforms it’d be a waste of memory to load an image twice. Anyway if you want to know how to create platforms that you can jump through and on it goes something like this:

Let’s say your block.y = 150. Then you just have to do if character.y < block.y then isSensor = false, and another statement if character.y > block.y then isSensor = true. Haven’t actually tested this but I think it works like that, sorry if I didn’t understand your question completely. Feel free to ask if you have any questions [import]uid: 77199 topic_id: 24591 reply_id: 99550[/import]

I’d say download and use Tiled. You can use Export: LUA for the tile data and work from there. [import]uid: 10389 topic_id: 24591 reply_id: 99677[/import]