Making a fighter, need some help

For questions about using Classic.

Post » Sun May 03, 2009 10:03 pm

I'm trying to make a fighting game with character select and stage select and up to 4 players that plays like Super Smash Bros. I can make the fighters and stages easily, but how do I make the select screens? How do I make it so where it keeps what fighters are fighting and spawn them on the stage you choose? I could make the stages a clickable button and it goes to that frame but how do I make the fighters? Also, how could I make the higher % = less weight thing like in SSB/SSBM/SSBB? I can figure the rest out, it's just that this is some tough stuff to do.
B
2
G
4
Posts: 16
Reputation: 1,082

Post » Mon May 04, 2009 12:08 am

use global variables to store the selection choice of the fighters

I'm not sure what you mean about the higher%=less weight thing
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Mon May 04, 2009 7:51 am

for weight if you're using the platform behavior you'd have to check under platform actions.
There you can change gravity acceleration.

EDIT:
forgot a detail. Objects fall at the same speed no matter their weights.
So yeah. Highly unrealistic but there you go, videogame world. That's why you change gravity instead of mass properties.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Mon May 04, 2009 2:58 pm

[quote="Madster":12zea1n0]Objects fall at the same speed no matter their weights.
So yeah. Highly unrealistic but there you go, videogame world. That's why you change gravity instead of mass properties.[/quote:12zea1n0]\
Maybe his game takes place on The Moon? If you stand on The Moon, and drop a hammer and a feather at the same time from the same height, they will hit the ground simultaneously. ;)

/smartass

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Mon May 04, 2009 9:26 pm

yeah, it's not unrealistic for objects to fall at the same speed
the only thing that makes certain light things fall faster is air resistance

[url:2nsc0e1p]http://www.youtube.com/watch?v=_XJcZ-KoL9o[/url:2nsc0e1p]

physics doesn't account for air resistance, but you could code it with events if you wanted to, by adding upward force for times when there should be air resistance

in this example a constant resistance to falling is applied,
[url:2nsc0e1p]http://dl.getdropbox.com/u/1013446/airresistance.cap[/url:2nsc0e1p]

but if you wanted you could design a more complex model that takes angle into account, and external forces, like wind puffing out from dropped objects. And of course, code for the angle as well
it's just a matter of working it all out,

but point is, smaller things falling at the same speed is correct since physics doesn't have a parameter for air resistance or the presence of air for that matter
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests