Discuss Scratch

qa102
Scratcher
28 posts

How to make a 2-player game

Hey guys I want to show you how to make a 2-player game
————————————-player1——————————-
when green flag clicked
forever
if <key [right] pressed?> then
move (10) steps
end
if <key [left] pressed?> then
move (-10) steps
end
———-player2————————————————————
same
Wahsp
Scratcher
1000+ posts

How to make a 2-player game

This belongs in Help With Scripts, but I'll help you out. Try repeating Player One's script but with different buttons for Player Two to press

when green flag clicked
forever
if <key [d v] pressed?> then
move (10) steps
end
if <key [a v] pressed?> then
move (-10) steps
end
qa102
Scratcher
28 posts

How to make a 2-player game

Thanks for telling me @Wahsp!
LosingAccounts
Scratcher
21 posts

How to make a 2-player game

i want to make a multiplayer game, like 2 real players playing the game and if only one player is there then the player will be waiting in the lobby

Powered by DjangoBB