How To Make My First Platformer

Discussion and feedback on Construct 2

Post » Tue Nov 08, 2011 7:30 pm

I realize that's a very broad open-ended question, and actually I have a few specific questions to help me achieve that goal:

First, here's my capx: http://dl.dropbox.com/u/6990704/untitled_test.capx
Second, how do I make the ground solid in the image I've set up as a background? I want it to behave much like An Untitled Story as far as the character being able to do simple jumps and moves throughout the level.

Is there a way to select a color and make it solid? The brown area is what I want to be solid.

Thanks for your help!

Sincerely,

Steve
B
4
G
1
Posts: 15
Reputation: 580

Post » Tue Nov 08, 2011 7:38 pm

add behavior "solid" to a sprite to make it collide with your character, so you will need to make the brown color seperated from the rest, you could make a sprite with the brown color and stretch and copy to build it like you did in one graphicvtrix2011-11-08 19:40:14
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Tue Nov 08, 2011 7:50 pm

Ashley mentioned he's working on a tutorial for making a platformer game. Should be out soon, I hope.
B
10
S
2
G
5
Posts: 49
Reputation: 3,081

Post » Tue Nov 08, 2011 7:50 pm

You have a few examples in the examples folder of your C2 install. A few of them directly concern platformers and should help you.

A platformer tutorial (like the beginner's guide tutorial) is currently being worked on, check it when it will be out.

You can also check the How do I FAQ recensing a few examples about platformers game and check out the topic and .capx to see how other setup their games.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Nov 08, 2011 11:31 pm

Thanks so much for your feedback everybody! So, does my first picture (the background part with brown and yellow and blue) go on it's own layer? Do I add the brown sprites on THEIR own layer as well?

I really appreciate the help.

Have any of you ever played An Untitled Story? It's a sweet, but simple game that has a lot of depth. If I could ever make a game that good...I'd be awesome. :)
B
4
G
1
Posts: 15
Reputation: 580

Post » Wed Nov 09, 2011 6:10 pm

*bump*
Do I make the background it's own layer? Which tutorial would be best in helping me create what I'm going for in this situation.

I love these exploration games like http://www.kongregate.com/games/Hamumu/robot-wants-kitty

Thanks again for all your tips and advice.
B
4
G
1
Posts: 15
Reputation: 580

Post » Wed Nov 09, 2011 6:21 pm

When working with backgrounds yes it should be used as a separate layer than sprites, UI, ect...
B
26
S
6
G
7
Posts: 67
Reputation: 5,079

Post » Wed Nov 09, 2011 8:15 pm

So, here's what I've got so far.
Is it a backwards way of doing it?
I've basically just created a brown sprite that I'm dragging out to make all of my walls and floors solid.

Here's the capx: http://dl.dropbox.com/u/6990704/test2.capxhttp://dl.dropbox.com/u/6990704/test2.capxsteveg2011-11-09 20:16:15
B
4
G
1
Posts: 15
Reputation: 580

Post » Wed Nov 09, 2011 9:04 pm

its pretty good, you could now change the background image by a background cave scene and put a parallax effect on it, so it moves slower than your groundobjects, just click on the layer background and set parallax to 50,50 or something,

you can also use the tiled background as solid object, this repeats the image you put in it like a ground texture for example


also make a top layer and call it UI or something and put text and lives on it and set the parallax to 0,0 so it wont move with the scrolling

ow and maybe set the layout scale a start to "2" its so small now

also put you playersprite on the main layer now its on background

vtrix2011-11-09 21:15:14
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Wed Nov 09, 2011 11:13 pm

vtrix,

how do you move your player to the main layer?
silly question? :)

B
4
G
1
Posts: 15
Reputation: 580

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Mirlas, wrighthill and 14 guests