Fighting it in games
It looks fine to me, I don't see anything weird about it. Looks kinda like some psuedo code I wrote for a side-scrolling game of mine.
Hi
I'm doing a fighting game like Budokan (for not.
My idea was this (pseudo code):
if attack then check collision of sprites
if collision occurs then check defense status
if attack sucessful then score point
this is a little weird any thioughs ??
thks
Bruno Sousa aka Akura
No, that's fine. All you have to do now is expand on each step, for instance:
* How do you check for a collision?
* How do you define defence status?
* How do you check for a collision?
* How do you define defence status?
Stuff on collision detection has probably been mentioned before, it doesn't have to be brilliant - just fast.
Defining defence status is actually not as hairy as it sounds - what I mean is, if your fighter ducks a high kick or blocks a punch, you'd deal with them in different ways.
Good luck, hope it works for you.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement