Discuss Scratch

Faith_247
Scratcher
20 posts

How to make a Scrolling Platformer

Hi! I want to make a scrolling platformer, but I'm not sure how. Does anyone else know?
j_a_n_t_i
Scratcher
500+ posts

How to make a Scrolling Platformer

DrDoe
Scratcher
46 posts

How to make a Scrolling Platformer

Change ur Movement with Two New Variables X and Y and have those change the pos of the platform/ground
Maximouse
Scratcher
1000+ posts

How to make a Scrolling Platformer

This tutorial by griffpatch is very helpful.
orangetheory
Scratcher
500+ posts

How to make a Scrolling Platformer

Make 1 variable: scroll x. Go to your levels and apply this code:
whenclickedforeversetxtoscrollxchangexbyscrollx*480*1-1

Apply this code to your levels.
Then, go to your sprite/character and put in:
whenclickedifkeyright arrowpressed?thenchangescroll xby-5ifkeyleft arrowpressed?thenchangescroll xby5

(for some reason I can't put the left arrow if statement out of the right arrow if statement so just make sure that you put that after the right arrow if statement and make sure to put a forever loop around the whole 2nd script I gave you.) -_-
I'm assuming you know the jumping code, so I hope this helps with your scrolling platformer
Faith_247
Scratcher
20 posts

How to make a Scrolling Platformer

orangetheory wrote:

Make 1 variable: scroll x. Go to your levels and apply this code:
whenclickedforeversetxtoscrollxchangexbyscrollx*480*1-1

Apply this code to your levels.
Then, go to your sprite/character and put in:
whenclickedifkeyright arrowpressed?thenchangescroll xby-5ifkeyleft arrowpressed?thenchangescroll xby5

(for some reason I can't put the left arrow if statement out of the right arrow if statement so just make sure that you put that after the right arrow if statement and make sure to put a forever loop around the whole 2nd script I gave you.) -_-
I'm assuming you know the jumping code, so I hope this helps with your scrolling platformer


Thanks!!! I'll try it
Thinkright20man
Scratcher
100+ posts

How to make a Scrolling Platformer

Griffpatch made a very useful tutorial one YouTube you can see: Scrolling Platformer Tutorial.

Powered by DjangoBB