Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » game help
- GOOD-guy_to-BE
- Scratcher
8 posts
game help
i want to make a game please help me i know this
when green flag clicked
if <key [ up arrow] pressed?> then
change y by (10)
change y by (-10)
- z8_
- Scratcher
100+ posts
game help
What type of game are you trying to do? And also do this:
when green flag clicked
forever
if <key [up arrow v] pressed?> then
change y by (10)
wait (0.5) secs
change y by (-10)
end
end
Last edited by z8_ (July 28, 2021 21:02:49)
@BatteRaquette58's 3 letter account dedicated to forums.
After 2 months, I am finally back!
- ImYourFwend_
- Scratcher
100+ posts
game help
i want to make a game please help me i know thiswhen green flag clicked
if <key [ up arrow] pressed?> then
change y by (10)
change y by (-10)
when green flag clicked
forever
if <key [up arrow] pressed?> then
repeat (10)
change y by (1)
wait (0.01) secs
end
wait (0.01) secs
repeat (10)
change y by (-1)
wait (0.01) secs
end
end
end
This is my signature. I love cats a much very much!
CTRL+SHIFT+DOWN ARROW to see more of my siggy!
[(。・∀・)ノ゙]
This is Weirdy. He protects my signature from villians.
I hate 60 secs cooldown
Mech Arena lover!
Video game lover… maybe
The daily best project
My mission is to reach 500+ posts
- Geometry_Dash3
- Scratcher
100+ posts
game help
when green flag clicked
forever
if <key [up arrow v] pressed?> then
change y by (10)
wait (0.5) secs
change y by (-10)
end
end
when green flag clicked
forever
if <key [up arrow v] pressed?> then
change y by (10)
set [gravity v] to [15]
repeat until <touching [level v] ?>
change [gravity v] by (-1)
change y by (gravity)
end
end
end
signature
- TEEJIO
- Scratcher
86 posts
game help
if you mean a jump script heres a semi-complex one
when gf clicked
forever
change [y v] by (-1)
if < (-11) > ( y ) > then// max fall speed
set [y v] to (-11)
end
if <touching (ground v)> then
reset timer
end
if << key (up arrow v) pressed > and < (.25) > (timer) >> then
set [ y v] to (17)
end
change y by (y)
if <touching (ground v)> then
repeat until < not < touching (ground v)>>
change y by ((-.1) * (y)
set [ y v] to (0)
Last edited by TEEJIO (July 29, 2021 00:46:28)
Hi Ima an enby aro/ace that likes to code
My 64th post!
jimmy box ( :D :: #abcedf) (✌゚∀゚ :: #fdeabc) (>;D :: #00FF00) ()// siggy jimmy spot
define YAY ::hat custom
repeat until <not <(current [month v]) = [June]>
YES :: #FF0000
IT :: #FF8800
IS ::#FFFF00
REALLY ::#88FF00
PRIDE ::#0000FF
MONTH :: #8800F
end
repeat until <(current [month v]) = [June]>
ITS ONLY A FEW MONTHS AWAY
end
(o(*^▽^* :: #cbaabc)o :: #cbaabc)// siggy protecting JIMMY
They're on shifts
- GOOD-guy_to-BE
- Scratcher
8 posts
game help
no no no not just jump codes.
i also learned this a gravity code:
i also learned this a gravity code:
when green flag clicked
forever
if not tuching ground then
change y by -5
Last edited by GOOD-guy_to-BE (Aug. 1, 2021 02:47:08)
- Discussion Forums
- » Help with Scripts
- » game help