Fighting Game Demo

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Fighting Game Demo

Postby Bee-Ant » Tue Apr 13, 2010 11:48 am

Here, a fighting game demo I made...
Take a look the code to figure out how it works...
I have made it as simple as possible...
Enjoy :D
Screenshot.png
Ize vs Ize
Attachments
Fighting-Demo-Ize.zip
(249.45 KiB) Downloaded 1686 times
User avatar
Bee-Ant
 
Posts: 3695
Joined: Wed Apr 11, 2007 12:05 pm
Location: Can bee found antywhere
Score: 208 Give a positive score

Re: Fighting Game Demo

Postby Hblade » Tue Apr 13, 2010 1:07 pm

Cool game, bee :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4365
Joined: Fri Dec 08, 2006 11:14 pm
Score: 168 Give a positive score

Re: Fighting Game Demo

Postby Bee-Ant » Tue Apr 13, 2010 1:11 pm

Thanks :D
I hope this is useful for anyone working on fighting game :D

Oh yah, this is the control :
ARROW LEFT : Move Left
ARROW RIGHT : Move Right
ARROW UP : Jump
SPACE : Attack
User avatar
Bee-Ant
 
Posts: 3695
Joined: Wed Apr 11, 2007 12:05 pm
Location: Can bee found antywhere
Score: 208 Give a positive score

Re: Fighting Game Demo

Postby Hblade » Tue Apr 13, 2010 1:13 pm

This is very helpfull ^.^ Now I can probably integrate this type of a battle system in an RPG I'll make after I make Sonic Chao :D

Thanks again ^.^ + 1
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4365
Joined: Fri Dec 08, 2006 11:14 pm
Score: 168 Give a positive score

Re: Fighting Game Demo

Postby krenisis » Wed Apr 14, 2010 4:09 am

YES bee-ant this is exactly what i needed this is great thanks alot.
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 607
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: Fighting Game Demo

Postby krenisis » Wed Apr 14, 2010 4:17 am

Ok i read the code and have a question. What makes the enemy keep chasing you?
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 607
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: Fighting Game Demo

Postby Bee-Ant » Wed Apr 14, 2010 10:26 am

I'm glad to hear a question :D
krenisis wrote:Ok i read the code and have a question. What makes the enemy keep chasing you?

Look the code in the : p2 -> Timer -> Walk
It means, when this timer (Walk) occur...
1. if p2 x coordinate smaller than p1 (he's in the left side of p1), change p2 direction to right (direct=1)
2. if p2 x coordinate greater than p1 (he's in the right side of p1), change p2 direction to left (direct=-1)
That's how it works :D
User avatar
Bee-Ant
 
Posts: 3695
Joined: Wed Apr 11, 2007 12:05 pm
Location: Can bee found antywhere
Score: 208 Give a positive score

Re: Fighting Game Demo

Postby Nextoy » Wed Apr 18, 2012 9:46 pm

So I edited the game size to see how it would work with the size I have planned for mine (hope you don't mind me just taking this as my game's engine and building it up to what I need) and now he wont move past the half way point on the screen. Worst part is I can't figure out what's causing it. :/

Either way though this is good. Gives me a basic understanding of what needs to be done for my project. +1
User avatar
Nextoy
 
Posts: 39
Joined: Sat Apr 07, 2012 9:56 pm
Score: 4 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest