Help with Platform game
Posted: Wed Feb 19, 2014 6:54 am
I've made a simple game using just the info from the Wiki which is a great source but I am struggling with some concepts in Love2d. I'm trying to make a Platform game but am finding it difficult to even know which parts of the wiki I should be looking at in order to do what I need, and I have tried researching online for some help with Love2d and platform stuff but haven't found anything. I came across 2 things only. The first one is listed on theLove2d main page, it's a Mario-like platform game. I downloaded it and it didn't work. I then went to the forums here and the person said it is not compatible with Love 0.9.0 so it won't work. The second thing I found was a tutorial but all that it consisted of was a huge block on the bottom of the screen and a small block that jumps up and down. Not much to go by (for me anyway).
I have drawn an example of what I want to do just to give you an idea of what I'm talking about:
(here is the link: http://s15.postimg.org/bpk9mcgzf/L2_DG.png )
In the sample image there are blocks, a red coin thing that theplayer needs to "pick up" and water.
What I'm struggling with is, how would I "lay out" a platform level? Would I need to individually load draw and place each and every single block manually?
I have used the Tile map samples on the wiki and have thought about using a Tile-based approach to this, but I just don't know if that is the right approach to be using and I'm also unsure of tile map style because in my levels, I will also have "moving parts" (some regular blocks that you think are ground, will suddenly fall into the water when you step on them) So how can I turn a single tile-based block into a movable thing? Also, I need to take into account Camera. I'll need to move along with the player as he gets closer to the right-edge of the level so that more of the level is revealed.
Any help is much appreciated, and sorry for the long post!
Does anyone know of any working platform sample games that I can learn from, or where should I start from to make a proper platform game?
I have drawn an example of what I want to do just to give you an idea of what I'm talking about:
(here is the link: http://s15.postimg.org/bpk9mcgzf/L2_DG.png )
In the sample image there are blocks, a red coin thing that theplayer needs to "pick up" and water.
What I'm struggling with is, how would I "lay out" a platform level? Would I need to individually load draw and place each and every single block manually?
I have used the Tile map samples on the wiki and have thought about using a Tile-based approach to this, but I just don't know if that is the right approach to be using and I'm also unsure of tile map style because in my levels, I will also have "moving parts" (some regular blocks that you think are ground, will suddenly fall into the water when you step on them) So how can I turn a single tile-based block into a movable thing? Also, I need to take into account Camera. I'll need to move along with the player as he gets closer to the right-edge of the level so that more of the level is revealed.
Any help is much appreciated, and sorry for the long post!
Does anyone know of any working platform sample games that I can learn from, or where should I start from to make a proper platform game?