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 Professional Discussion / My first game (need some help please!)

Author
Message
JIMAC
14
Years of Service
User Offline
Joined: 25th Nov 2011
Location: Scotland
Posted: 25th Nov 2011 23:51
Ok I am new here and to GDK in general, i studied C++ for a year so i have a little knowledge and understanding of the code.

So far i have the skeleton for my game using some graphics bought from this site(support the developers!)i will add buildings and vehicals once i have got the basics done.

Now onto what's got me, a health bar for the player and a ammo counter, so yeah any help on these 2 subjects would be great and any idea's on improving my code also would be great, i am always looking to learn thanks for your time....

Captain Coder
FPSC Reloaded TGC Backer
15
Years of Service
User Offline
Joined: 6th Jul 2011
Playing: Elite: Dangerous
Posted: 5th Dec 2011 21:29
Hi JIMAC! Welcome to the forums!

Unfortunately, I'm afraid you've posted in the wrong board. This board is for people who write FPI scripts, used by TGC's FPS Creator. There is a DarkGDK board near the top of the forum homepage; you should get much better response there. Hope your project goes well!

Captain Coder

One of the most humbling days in your life will be the day you discover you AREN'T the best at what you love to do.
- Me
Lucas Tiridath
AGK Developer
17
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 6th Dec 2011 06:07
As captain coder says, this is technically the wrong board so you might get better responses on the Dark GDK board.

Quote: "This board is for people who write FPI scripts, used by TGC's FPS Creator."

In fact, this is the DarkBASIC Professional board .

Anyhow back to the question... You've got quite a bit of code there so could you clarify what is causing you the problems? Is it the recording of these values that you're struggling with or rendering them to the screen in a visual way? Your code clearly shows that you understand variables so you obviously realise that you need a couple of integer variables; one storing health and the other ammo. If you could clarify what the problem is, I'd be happy to help.

zenassem
23
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 6th Dec 2011 15:37
Is this Socratic irony at work???

~ZENassem
Daniel wright 2311
User Banned
Posted: 6th Dec 2011 17:16
whoops, still the wrong board

my signature keeps being erased by a mod So this is my new signature.
JIMAC
14
Years of Service
User Offline
Joined: 25th Nov 2011
Location: Scotland
Posted: 25th Jan 2012 01:47
Ha sorry for the posting here, found the correct section (blush) won't happen again, the problem i had was linking the value of health/ammo to the image representing health/ammo bar, after hours struggling i decided i will stick to pong and frogger until my skills develop a little more.

Many thanks though and sorry for the wrong section post i understand this causes problems on forums, peace out

Login to post a reply

Server time is: 2026-07-10 00:43:15
Your offset time is: 2026-07-10 00:43:15