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.

DarkBASIC Discussion / health and items in my game

Author
Message
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 16th Nov 2003 18:12
[email]

Hi, I'm Ali! I'm doing a frst person shooting game called Meta Mouse
and I'm putting items and objects in the game. But the problem is
I don't know how to do that Please can anyone give me the code in dark basic for health and items.

My game company is NUKESOFT and I'm the only one in it! And the
website will be released soon

and meta mouse is my first project to make a complete game.

So please if anyone could tell me the code for health and items I'd be happy



Ali Morrison
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 16th Nov 2003 18:46
there aren't just a few lines of code that everyone uses for items, and if someone was to code you items and objects you'd need to supply a hell of alot more infomation!
I think you've fallen into the trap of trying to make a game before your ready, i think pretty much everyone does this (including me), how about trying something smaller, before beginning your first game, i still haven't completed a game and i've been doing this for nearly a year!


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 17th Nov 2003 07:21
for health, make it a varable, something like p1health, or health.
make it = how many hit points you need, then when the player gets hit that takes away from thier health, health = health - 10, or something

Two words, moo.
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 18th Nov 2003 11:11
Well how am I suppose to do how many hit points and then dead?

Ali Morrison
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 18th Nov 2003 13:54
If health#<0 then dead#=1

You need to learn variables

RPGamer


Dont forget to Join the Forums!

Login to post a reply

Server time is: 2025-05-21 17:07:07
Your offset time is: 2025-05-21 17:07:07