Discuss Scratch

GTGameDev
Scratcher
25 posts

Help with Multiplayer Fighting Game

It's my first time making a Multiplayer Game, I used ☁️ MINIONS - A Cloud Multiplayer Scrolling Platformer ☁️ as a base for the movement and scrolling of my game. I want to create a simple free-for-all fighting game (I know it's hard to code everything for a random, so just telling me how I make the punches register for the other players and make the costumes change for everyone would be enough), the mechanics would be:

Dash fowards and backwards (SPACE)
Attack from all directions:
- Up (↑ and C).
- Down (↓ and C) if on the air, a kick, if not, a sweep kick.
- Left and Right (X for quick punches, C for strong punches).
Stun, each player has a variable called “stun” with a certain value and with each attack they receive, their “stun” gets lowered, when it gets to 0, they enter the dizzy state for 3 seconds, it resets after that.
Throw, when touching a player and performing the combo ← or → then X then C, you throw your opponent far away and damages him the double a strong punch does.
Double Jump.

Please help me, I don't know anything about Cloud Variables! I know it's kinda complex to ask for help in the forum, I'm sorry.

leogames2016
Scratcher
500+ posts

Help with Multiplayer Fighting Game

As long as it isnt too violent,I think fighting games can be done but okay…


For the Dash mechanic here is how you do it

whenspace keypressedwaituntilleft ispressedorright ifdashthenglide0.2secstox:xy:xnextcostumeelsedonothing

Last edited by leogames2016 (Sept. 1, 2023 19:25:43)

GTGameDev
Scratcher
25 posts

Help with Multiplayer Fighting Game

leogames2016 wrote:

As long as it isnt too violent,I think fighting games can be done but okay…


For the Dash mechanic here is how you do it

whenspace keypressedwaituntilleft ispressedorright ifdashthenglide0.2secstox:xy:xnextcostumeelsedonothing

https://turbowarp.org/editor?project_url=https://unlisted.gantzos.com/cached/64f1e58dcb97c73992e527f8
I'll just put some impact effects, is that ok?
Does the dash you coded show for other players?

Powered by DjangoBB