Bomb/AI coding/Health/anti-moonwalk 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

Bomb/AI coding/Health/anti-moonwalk Demo

Postby Sgt. Sparky » Mon Mar 10, 2008 11:03 pm

Here is a demo about how to make bombs, enemies that move and attack you, and how to make health (and display) for your player and enemy. :D
(anti-moonwalk for both on the side.)
The enemy even runs away from the bombs and explosions!
(He also runs back to the right of the map every time he throws a bomb.)

Here are the controls:
LEFT arrow = Move left.
RIGHT arrow = Move right.
UP arrow = Jump.
Space = Throw bomb.
A + SPACE BAR = Throw bomb with a quicker fuse.
S + SPACE BAR = Throw bomb higher higher into the air.
S + A + SPACE BAR = Throw bomb with a quick fuse higher into the air.
:D :D
Enjoy!

This demo is a partial request from Equinox

As for dealing with clones equinox, you can use getclone("actorname.1")->variable == so and so;
Attachments
Bomb_demo_01.png
Bomb_demo.zip
(298.9 KiB) Downloaded 902 times
Bomb_demo_02.png
Last edited by Sgt. Sparky on Mon Nov 17, 2008 1:15 am, edited 1 time in total.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby pyrometal » Tue Mar 11, 2008 1:54 am

Nice work Sparky! Your AI is actually beating me up pretty badly! Also, I looked at the anti moonwalk code you used. Personally, I do it in a very different manner, but hey, whatever works is fine. +1 pt, since I'm sure this will help some people fix their animation bugs.

-- Pyro
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby equinox » Tue Mar 11, 2008 8:25 am

Hi Sparky,

Really a demo done very well.

Now beginning to study him/it. I hope to succeed in understanding some functions in GE.

Thanks still for your gentleness.
User avatar
equinox
 
Posts: 118
Joined: Tue Jan 29, 2008 3:38 pm
Score: 0 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Bee-Ant » Tue Mar 11, 2008 10:43 am

So...you've dissapeared for long time just to make this demo???
Good demo anyway...+14U :D
And like always...very hard game!!!
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Azou » Tue Mar 11, 2008 3:14 pm

Cool tutorial,Sergent!!
It's nice,that will help me :P
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby edh » Tue Mar 11, 2008 7:27 pm

Garrrgh! This AI...! :)
User avatar
edh
 
Posts: 233
Joined: Thu Sep 13, 2007 12:17 am
Location: Maine, USA
Score: 14 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Azou » Tue Mar 11, 2008 7:30 pm

:?:
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby edh » Tue Mar 11, 2008 7:36 pm

Azou, I just meant the AI is tough. It's hard to kill him.
User avatar
edh
 
Posts: 233
Joined: Thu Sep 13, 2007 12:17 am
Location: Maine, USA
Score: 14 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Sgt. Sparky » Wed Mar 12, 2008 12:40 am

The reason the AI is difficult to defeat is mainly because he runs away from the bomb. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Caaz Games » Wed Mar 12, 2008 2:04 am

that AI is really good, it through a bomb on my head
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Bee-Ant » Wed Mar 12, 2008 7:39 am

Sgt. Sparky wrote:The reason the AI is difficult to defeat is mainly because he runs away from the bomb. :D

You should make him run away in random... :roll:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Game A Gogo » Wed Mar 12, 2008 11:50 am

very nice demo!
you should add like a time reaction to the enemy, would be more realistic a little if ya get what I mean
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby moonmoon » Wed Mar 12, 2008 12:28 pm

it's nice but very hard game!!!
moonmoon
 
Posts: 10
Joined: Sat Feb 16, 2008 2:16 pm
Score: 0 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Azou » Wed Mar 12, 2008 5:34 pm

edh wrote:Azou, I just meant the AI is tough. It's hard to kill him.

:D
I haven't played it yet,my computer has got again a virus (trojan,I think) :cry:
User avatar
Azou
 
Posts: 514
Joined: Thu Sep 13, 2007 1:12 pm
Score: 35 Give a positive score

Re: Bomb/AI coding/Health/anti-moonwalk Demo

Postby Bee-Ant » Fri Mar 14, 2008 7:34 am

Azou wrote:my computer has got again a virus (trojan,I think) :cry:

Keep your computer carefully...you really careless :| :?
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Next

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron