Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to make a scrolling platformer???
- grandhallhi
- Scratcher
28 posts
how to make a scrolling platformer???
HI! I think i'm going to try making a scrolling platformer, but i don't know HOW , does anyone know?
when green flag clicked
say [thnx! :D] for (2) secs
- grandhallhi
- Scratcher
28 posts
how to make a scrolling platformer???
i don't know… i kinda want it in person.
- aydadaylan
- Scratcher
30 posts
how to make a scrolling platformer???
1) Select a background
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:
5) Make this scripts to the script you started:
9) Draw your character
10) Make this script to the character:
If you want to add more platforms duplicate the land and change the second one like this:
and the third must be like:
I hope the scripts work, thanks for looking this
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:
when green flag clickedThis will be reseting the position when you start
show
set size to (you choose here) %
set [ scrollx] to [0]
5) Make this scripts to the script you started:
foreverThis will set the position of the land when you are moving
set x to (scrollx)
end
9) Draw your character
10) Make this script to the character:
when green flag clicked
if <key [right arrow ] pressed?> then
change [ scrollx] by (the speed you choose)
end
if <key [ left arrow] pressed?> then
change [ scrollx] by (the negative speed you choose)
end
If you want to add more platforms duplicate the land and change the second one like this:
forever
set x to ((scrollx) + (480))
end
and the third must be like:
forever
set x to ((scrollx) + (960))
end
I hope the scripts work, thanks for looking this
Last edited by aydadaylan (June 5, 2020 15:14:58)
Potterhead l Bookworm l Tennis Player l Photoghrapher l Animal Lover
Albert Einstein wrote: Imagination is more important than knowledge.
- aditya345621
- Scratcher
2 posts
how to make a scrolling platformer???
No can you make the full version of the mobile scrolling platformer
- fundaye
- Scratcher
13 posts
how to make a scrolling platformer???
Search on Youtube 'How to make a scrolling platformer in scratch'
- fundaye
- Scratcher
13 posts
how to make a scrolling platformer???
yea just watch a tutorial try and find a scrolling platformer tutorial
- Colin_wisdom
- Scratcher
2 posts
how to make a scrolling platformer???
THx alot 1) Select a background
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:when green flag clickedThis will be reseting the position when you start
show
set size to (you choose here) %
set [ scrollx] to [0]
5) Make this scripts to the script you started:foreverThis will set the position of the land when you are moving
set x to (scrollx)
end
9) Draw your character
10) Make this script to the character:when green flag clicked
if <key [right arrow ] pressed?> then
change [ scrollx] by (the speed you choose)
end
if <key [ left arrow] pressed?> then
change [ scrollx] by (the negative speed you choose)
end
If you want to add more platforms duplicate the land and change the second one like this:forever
set x to ((scrollx) + (480))
end
and the third must be like:forever
set x to ((scrollx) + (960))
end
I hope the scripts work, thanks for looking this
- Smarty8347
- Scratcher
100+ posts
how to make a scrolling platformer???
Griffpatch has tutorials on youtube. Search “Griffpatch” on youtube. Please click the button close topic below.
Be moist
Check out @JL9591's Starter Pack.
Hello!
Some of my projects:
I'm currently working on the following things:
Battle Royale
Scrolling Platformer
A Scrolling World
A Recreation of Fruit Ninja
Credits to @ipzy for the pfp creator.
- gilbert_given_189
- Scratcher
500+ posts
how to make a scrolling platformer???
Why though? Please click the button close topic below.
If you see a line above this text, it means that below this text is my signature.
This place is just a memory to me, I may return occasionally but I'm busy.
I guess I'm an ATer now.
I think I may have seasoned my posts a bit too much.
Colored Pencil is supposed to color the siggy, but Scratch says it's too big.
There is nothing here…
don don pan pan
dondo pan pan
- CaEd-2010_
- New to Scratch
1 post
how to make a scrolling platformer???
search up on google safari or bing whatever you have 'how to make a scrolling platformer
define thanks for reading
- SRU1928
- Scratcher
2 posts
how to make a scrolling platformer???
THANKS YOUTHx alot 1) Select a background
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:when green flag clickedThis will be reseting the position when you start
show
set size to (you choose here) %
set [ scrollx] to [0]
5) Make this scripts to the script you started:foreverThis will set the position of the land when you are moving
set x to (scrollx)
end
9) Draw your character
10) Make this script to the character:when green flag clicked
if <key [right arrow ] pressed?> then
change [ scrollx] by (the speed you choose)
end
if <key [ left arrow] pressed?> then
change [ scrollx] by (the negative speed you choose)
end
If you want to add more platforms duplicate the land and change the second one like this:forever
set x to ((scrollx) + (480))
end
and the third must be like:forever
set x to ((scrollx) + (960))
end
I hope the scripts work, thanks for looking this
- J2hub
- Scratcher
3 posts
how to make a scrolling platformer???
Simple, take an ordinary platformer, add two new variables named player pos x and player pos y , then replace the move movement blocks with some thing like this: instead of if right arrow pressed change x by 10 do if right arrow pressed change player pos x by 10. To add in the scrolling component give your object sprite forever set x to (insert desired x position)-player pos x. you can do the same thing with player pos y to constantly move to the correct position.
- J2hub
- Scratcher
3 posts
how to make a scrolling platformer???
for movement another thing you could do to refine your project is add blocks like ground check which will do this: move your player sprite down a bit, if its touching your ground sprite it moves you back up until you are not touching the ground. I would recommend making a custom block with run without screen refresh on just to make it instant and put this inside your movement infinity loop. you should also do this sort of thing for wall detection, it moves you the direction you are trying to move if you are touching your object sprite it moves you back.
- denglechi34
- Scratcher
1 post
how to make a scrolling platformer???
when green flag clicked
forever
play sound [ eowiuhrwuirpq98y43 098yt 08]
end
- nitehawkminisbr
- Scratcher
16 posts
how to make a scrolling platformer???
when green flag clicked
forever
if <> then
<not <<touching [ground v]>> ?>
change y by (-5)
if <key [right arrow v] pressed?> then
change x by (4)
if <key [left arrow v] pressed?> then
change x by (-4)
if <key [up arrow v] pressed?> then
change y by (45)
repeat until <touching [ground v] ?>
change y by (-5)
end
end
end
end
end
end
forever
change [coolness] by (1)
end
- nitehawkminisbr
- Scratcher
16 posts
how to make a scrolling platformer???
not touching ground goes in if statement
and everything inside the forever loop
and everything inside the forever loop
forever
change [coolness] by (1)
end
- Ivans_Secr3t
- Scratcher
1 post
how to make a scrolling platformer???
All you have to do is
1) Select a background
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:
when
clicked
show
set
size
to
you
choose
here
%
set
scrollx
to
0
This will be reseting the position when you start
5) Make this scripts to the script you started:
forever
set
x
to
scrollx
This will set the position of the land when you are moving
9) Draw your character
10) Make this script to the character:
when
clicked
if
key
right arrow
pressed?
then
change
scrollx
by
the
speed
you
choose
if
key
left arrow
pressed?
then
change
scrollx
by
the
negative
speed
you
choose
If you want to add more platforms duplicate the land and change the second one like this:
forever
set
x
to
scrollx
+
480
and the third must be like:
forever
set
x
to
scrollx
+
960
I hope the scripts work, thanks for looking this
1) Select a background
2) Make a variable scrollx ( This will be indicating the position of the land)
3) Draw your land
4) Make this scripts for land:
when
clicked
show
set
size
to
you
choose
here
%
set
scrollx
to
0
This will be reseting the position when you start
5) Make this scripts to the script you started:
forever
set
x
to
scrollx
This will set the position of the land when you are moving
9) Draw your character
10) Make this script to the character:
when
clicked
if
key
right arrow
pressed?
then
change
scrollx
by
the
speed
you
choose
if
key
left arrow
pressed?
then
change
scrollx
by
the
negative
speed
you
choose
If you want to add more platforms duplicate the land and change the second one like this:
forever
set
x
to
scrollx
+
480
and the third must be like:
forever
set
x
to
scrollx
+
960
I hope the scripts work, thanks for looking this
- --garbage-animator--
- Scratcher
4 posts
how to make a scrolling platformer???
paper mario origami kimg? i like that game i finished i was aking it but i cant make it scrolling and 3dWhy though? Please click the button close topic below.
- Discussion Forums
- » Help with Scripts
- » how to make a scrolling platformer???