Fighting it in games

Started by
1 comment, last by Akura 24 years, 5 months ago
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.
Advertisement

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

It's good to be an outcast, you don't need to explain what you do, you just do it and say you don't belong there.
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?

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