Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » Scrolling | A Game
- UnknownHippo
-
Scratcher
5 posts
Scrolling | A Game
Hello Friends.
I am making a new game.
It’s a scrolling platformer!
I will put updates here and you can post stuff related to the game.
Happy Scratching
I am making a new game.
It’s a scrolling platformer!
I will put updates here and you can post stuff related to the game.
Happy Scratching

- cosmosaura
-
Scratch Team
1000+ posts
Scrolling | A Game
I'll move this over to the Things I'm Making and Creating section for you - that's a better fit for this kind of topic

- UnknownHippo
-
Scratcher
5 posts
Scrolling | A Game
I'll move this over to the Things I'm Making and Creating section for you - that's a better fit for this kind of topicThanks

- UnknownHippo
-
Scratcher
5 posts
Scrolling | A Game
I need help
The player is moving slow
Code:
The player is moving slow
Code:
if <<key [left arrow v] pressed?> and <touching [Ground v] ?>> then
walking (-90) (4)
end
if <<key [right arrow v] pressed?> and <touching [Ground v] ?>> then
walking (90) (-4)
end
define walking (D) (S)
point in direction (D)
change [x v] by (S)
set [ground? v] to [0]
repeat until <<(ground?) = [8]> or <not <touching [Ground v] ?>>>
change [y v] by (-1)
change [ground? v] by (1)
end
if <(ground) = [8]> then
change [x v] by ((0) + (S))
change [y v] by ((0) + (ground?))
end
- UnknownHippo
-
Scratcher
5 posts
Scrolling | A Game
-
Last edited by UnknownHippo (March 14, 2023 13:55:41)
- FoxEdStudios
-
Scratcher
1 post
Scrolling | A Game
I need helpTry turning on Run Without Screen Refresh
The player is moving slow
Code:
if <<key [left arrow v] pressed?> and <touching [Ground v] ?>> then
walking (-90) (4)
end
if <<key [right arrow v] pressed?> and <touching [Ground v] ?>> then
walking (90) (-4)
end
define walking (D) (S)
point in direction (D)
change [x v] by (S)
set [ground? v] to [0]
repeat until <<(ground?) = [8]> or <not <touching [Ground v] ?>>>
change [y v] by (-1)
change [ground? v] by (1)
end
if <(ground) = [8]> then
change [x v] by ((0) + (S))
change [y v] by ((0) + (ground?))
end
- UnknownHippo
-
Scratcher
5 posts
Scrolling | A Game
ThanksI need helpTry turning on Run Without Screen Refresh
The player is moving slow
Code:
if <<key [left arrow v] pressed?> and <touching [Ground v] ?>> then
walking (-90) (4)
end
if <<key [right arrow v] pressed?> and <touching [Ground v] ?>> then
walking (90) (-4)
end
define walking (D) (S)
point in direction (D)
change [x v] by (S)
set [ground? v] to [0]
repeat until <<(ground?) = [8]> or <not <touching [Ground v] ?>>>
change [y v] by (-1)
change [ground? v] by (1)
end
if <(ground) = [8]> then
change [x v] by ((0) + (S))
change [y v] by ((0) + (ground?))
end

- Discussion Forums
- » Things I'm Making and Creating
- » Scrolling | A Game
