Discuss Scratch

matna
Scratcher
17 posts

super smash bros game

So i want to make a super smash bros like game, but i do not know how to make it so that different attacks do different damage, and the damage counters read how much damage there is, and also make number sprites that are also functional. also i need to know how to make you fly farther if you have more
and also when you get in to the game that you are the character you chose, damage and different attacks make you fly farther if you have more damage as you can see, i have quite a lot of problems i do not know to program so please help. also i need to know how to make sprites detect platforms a such
(so really collision detection)

Last edited by matna (Feb. 6, 2018 00:11:07)

DaEpikDude
Scratcher
1000+ posts

super smash bros game

Hoo boy, this is a lot…

How to make different attacks do different damage:
You can have a list that stores the attack damage, then when you're hit by a specific attack, it looks up the damage in the list and then uses that.

To display damage:
Either use a variable, or make a text sprite.

Collision detection:
Search up griffpatch_tutor's platformer tutorial: it has some good stuff there.

How to make you start as the right character:
You can have each player choose a character, then that's stored in a variable, then you use that variable to figure out which character to spawn.

How to increase knockback with damage:
If you have a knockback script that's based off of a knockback value in attacks (so more damaging attacks deal more knockback as well), then you can just use the damage as a multiplier for the knockback (e.g. if you have an attack with a knockback value of, say, -10 x speed and 5 y speed, you can multiply that by the damage (for argument's sake, let's say it's 50%) and so the knockback will be -5 x speed and 2.5 y speed: you can scale this around to make it feel better).

Just saying: not trying to be mean or anything like that, but if you're not sure how to do collision detection and stuff you might want to consider trying something less crazy.
Instead of a platformer fighting game, maybe try a platformer or a fighting game first?

“You can buy everything except love, friendship and experience points.”
- Topolla Theatre Manager
matna
Scratcher
17 posts

super smash bros game

well, scratcher this was a sort of future thing, but i thought it would be nice to know. i have been a scratch member for a few years now, but i do not have a lot of time so thats why i am still sort of a noob

Last edited by matna (Feb. 6, 2018 03:22:10)

DaEpikDude
Scratcher
1000+ posts

super smash bros game

matna wrote:

well, scratcher this was a sort of future thing, but i thought it would be nice to know. i have been a scratch member for a few years now, but i do not have a lot of time so thats why i am still sort of a noob
‾\(シ)/‾

“You can buy everything except love, friendship and experience points.”
- Topolla Theatre Manager

Powered by DjangoBB

Standard | Mobile