Author Topic: Creating Game Help  (Read 572 times)

0 Members and 1 Guest are viewing this topic.

Danny Roerring

  • Guest
Creating Game Help
« on: September 01, 2004, 07:37:26 PM »
yes is it possible in version 3 or above to create extra indicators say a health bar food bar and weight bar on the display screen instead of the score indicator.  :D



Offline Cloudee1

Re:Creating Game Help
« Reply #1 on: September 02, 2004, 12:00:01 AM »
There may not be enough room to display all of that on the menu bar, but I can't think of any reason why it wouldn't be possible.

But then again I have never done it so my guess is only a guess, not an educated one.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Danny Roerring

  • Guest
Re:Creating Game Help
« Reply #2 on: September 04, 2004, 10:51:21 PM »
Dude it's been 3 days comon somone please reply i need to know

Offline Doan Sephim

Re:Creating Game Help
« Reply #3 on: September 05, 2004, 11:42:49 AM »
im sure its possible...would it be worth all the extra coding it would take to do it instead of putting those bars anywhere else; probably not. if i were you, i would just make a life bar and put it in the upper right corner or really any corner.

Danny Roerring

  • Guest
Re:Creating Game Help
« Reply #4 on: September 05, 2004, 08:59:24 PM »
how would i go about doing such a  thing like what code would i need and how and where would i place the code

Offline Doan Sephim

Re:Creating Game Help
« Reply #5 on: September 06, 2004, 09:43:48 AM »
i dont want to sound rude, so let me begin by saying that if i knew i would tell you...that is, im ignorant of how to do it myself.
but if you do not even know where to put in the code to make this change, it is unlikely that you have a good enough grasp of the language even to make the changes necessary. with my limited knowledge, i can tell that it would be a very difficult thing to do, necesitating alot of code that im definately not smart enough to do myself as it would have to go in scripts already writted as templates and mess around with the code there.
besides all of that, there is an easier solution, and one that i think is more aesthetically appealing anyway. you could put a long black bar under the top bar, or at the bottom of the screen with all of these indicators.
again, my intention is not to sound rude and assume youre not a competent script writer. i just want to say, why travel the up-hill road full of obstacles when there is an easier (and i think better) road?
no reason spending hours on something that could be done in minutes
doan

Offline Eigen

Re:Creating Game Help
« Reply #6 on: September 06, 2004, 11:23:36 AM »
That would be quite easy to make. Open up main.sc  and scroll down to

(instance statusCode  of Code
   (properties)
....

Then just replace the Format with:

Format(param1 " Health: %d   Food: %d   Weight: %d  " healthVar foodVar weightVar)

or something like that. The healthVar, foodVar and weightVar are global variables contain the values you need to show. Is this what you mean?


-Eigen
Artificial Intelligence Competition

Danny Roerring

  • Guest
Re:Creating Game Help
« Reply #7 on: September 06, 2004, 03:48:18 PM »
Cool man thanks alot for that i needed it

Offline Doan Sephim

Re:Creating Game Help
« Reply #8 on: September 06, 2004, 09:16:23 PM »
yup, that proves my ignorance rather sufficiently!  :P

Danny Roerring

  • Guest
Re:Creating Game Help
« Reply #9 on: September 09, 2004, 09:09:30 PM »
hay is there anyway to add graphics the these extra bars say like below

_________________
/////////                |
________________ |


Offline idoit

Re:Creating Game Help
« Reply #10 on: September 12, 2004, 09:18:56 PM »
i think you should ask HIM!!!

Danny Roerring

  • Guest
Re:Creating Game Help
« Reply #11 on: September 15, 2004, 05:23:20 PM »
Can someone that knows this shit please help


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.051 seconds with 22 queries.