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?

I once had a whim and I had to obey it to buy a french horn from a second hand shop, I polished it up and I started to play it in spite of the neighbours who begged me to stop. To sound my horn, I had to develop my embouchure, I found my horn, was a bit of a devil to play. So artfully wound, to give you a sound, a beautiful sound, so rich and round. Oh, the hours I ha-ad to spend before I mastered it in the end! But that was yesterday, and just today I looked in the usual place. There was the case, but the horn itself was missing! Who? Swiped? That? Horn? I'll bet you a quid, somebody did! Knowing I found a concerto and wanted to play it afraid of my talent at playing the horn, for early today to my utter dismay it had vanished away like the dew in the morn. Tutti. I've lost that horn, I know I was using it yesterday, I've lost that horn, lost that horn, found that horn gorn! There's not much hope of getting it back though I'd willingly pay a reward. I know some hearty folk whose party joke's pretending to hunt with the Quorn. Gone away! Gone away! Was it one of them took it away? I shall tell the police! I! Want! That! French! Horn! Baaaaaack… I miss its music more and more and more, without that horn, I'm feeling sad and so forlo-orn… (oooooooh) I found a concerto and wanted to play it displaying my talent at playing the horn, but early today to my utter dismay it had totally vanished away! I practised the horn and I wanted to play it but somebody took it away, I practised the horn and was longing to play it but somebody took it away! My neighbour's asleep in his bed. I'll soon make him wish he were dead. I'll take up the tuba instead - wah wah!
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
‾\(シ)/‾

I once had a whim and I had to obey it to buy a french horn from a second hand shop, I polished it up and I started to play it in spite of the neighbours who begged me to stop. To sound my horn, I had to develop my embouchure, I found my horn, was a bit of a devil to play. So artfully wound, to give you a sound, a beautiful sound, so rich and round. Oh, the hours I ha-ad to spend before I mastered it in the end! But that was yesterday, and just today I looked in the usual place. There was the case, but the horn itself was missing! Who? Swiped? That? Horn? I'll bet you a quid, somebody did! Knowing I found a concerto and wanted to play it afraid of my talent at playing the horn, for early today to my utter dismay it had vanished away like the dew in the morn. Tutti. I've lost that horn, I know I was using it yesterday, I've lost that horn, lost that horn, found that horn gorn! There's not much hope of getting it back though I'd willingly pay a reward. I know some hearty folk whose party joke's pretending to hunt with the Quorn. Gone away! Gone away! Was it one of them took it away? I shall tell the police! I! Want! That! French! Horn! Baaaaaack… I miss its music more and more and more, without that horn, I'm feeling sad and so forlo-orn… (oooooooh) I found a concerto and wanted to play it displaying my talent at playing the horn, but early today to my utter dismay it had totally vanished away! I practised the horn and I wanted to play it but somebody took it away, I practised the horn and was longing to play it but somebody took it away! My neighbour's asleep in his bed. I'll soon make him wish he were dead. I'll take up the tuba instead - wah wah!

Powered by DjangoBB

Standard | Mobile