Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
the destroyer
15
Years of Service
User Offline
Joined: 24th Dec 2008
Location:
Posted: 13th Apr 2009 17:56 Edited at: 13th Apr 2009 17:58
Hi there, I made a simple game, and all I want is to make enemies standing on boxes, so that if I touch them, then I'll loose health

download the project file with all the media
I would like to know what you think about what I done
thanx

Attachments

Login to view attachments
the destroyer
15
Years of Service
User Offline
Joined: 24th Dec 2008
Location:
Posted: 14th Apr 2009 07:43
Have somebody seen it?
pc nerd
User Banned
Posted: 14th Apr 2009 09:45
then position the boxes you make at the same position of your enimys, place them right inside the boxes, then apply collistion to the boxes, then make it to where when the 2 objects collision takes place then you loose health.im downloading now ill let you know .

dweeb
pc nerd
User Banned
Posted: 14th Apr 2009 09:50 Edited at: 14th Apr 2009 09:53
ok, i see what you meen now, its fun, i alredy like it, it made me lauph, just place you enimys on the boxes, then make a varitible for there health like
health#=100

then print it to screen like you already have the points set up, then set collition to the enimys then do this in the loop.
or something like this




dweeb
GIDustin
16
Years of Service
User Offline
Joined: 30th May 2008
Location:
Posted: 14th Apr 2009 21:53
Gah, only had 5 minutes to test it out, I kept falling off the world.

Looks like it could be fun though
the destroyer
15
Years of Service
User Offline
Joined: 24th Dec 2008
Location:
Posted: 15th Apr 2009 09:04
Allright, i'am happy that you enjoy it, but nobody answeared my question yeat, how do i add enemies to the game, and place everyone on a box??
kuljot
15
Years of Service
User Offline
Joined: 2nd Jan 2009
Location: sacramneto, ca united states
Posted: 16th Apr 2009 04:02
hey once again awesome game. all you have to do is load them and position them on top of the boxes.
make variable
health=100
then use
if object collision (playernumber,enemy number)=1
health=health-amount of health you want to take away.

hope that helps

Gateway GT5628 Quad Core Desktop Intel Core 2 Q6600 2.4GHz Quad Core 3072MB RAM / 500GB 7200 SATA II Hard drive DVD RW 18X multi dual NVIDIA GeForce 8500GT ....
the destroyer
15
Years of Service
User Offline
Joined: 24th Dec 2008
Location:
Posted: 17th Apr 2009 23:14
please try to do it u'r self and see what happens
Tobo
19
Years of Service
User Offline
Joined: 12th May 2005
Location:
Posted: 18th Apr 2009 07:11
I can't even get it to run!



T
the destroyer
15
Years of Service
User Offline
Joined: 24th Dec 2008
Location:
Posted: 18th Apr 2009 10:16
You don't have sparky's collision dll do you?
Tobo
19
Years of Service
User Offline
Joined: 12th May 2005
Location:
Posted: 18th Apr 2009 20:19
No. Unless I missed it, it was never mentioned as necessity.

T
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 20th Apr 2009 20:01
To use Sparky's collision commands you need the DLL to get them to work.

Login to post a reply

Server time is: 2024-11-25 08:43:50
Your offset time is: 2024-11-25 08:43:50