3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: ValuePrint  (Read 1489 times)

« on: April 10, 2013, 03:48:12 PM »
Hi.

I want add much ValuePrint in my game and disable (Visable at start) in game.
Do this work can decrease FPS?
and I think ValuePrint make lower Loading time.right?

THANKS A LOT
« Last Edit: April 10, 2013, 04:15:44 PM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.

fourdee

« Reply #1 on: April 10, 2013, 04:18:52 PM »
I want add much ValuePrint in my game and disable (Visable at start) in game.
Do this work can decrease FPS?
Short answer:
- Yes.

long answer:
- Depends how many you intend to use
- your system specs
- Current optimization/load in your project

When you come round to wanting a "bit more" performance, and, experiment with scripts.
Use the iPrint function
Code: [Select]
iPrint(string,float,float,OBJ_X)
« Reply #2 on: April 10, 2013, 04:33:17 PM »
OK.

I want add health for my car. when Collision my car with another car I Need countdown health. for this work I don't Need Show text Number. You can offer me a better way?
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #3 on: April 10, 2013, 04:50:27 PM »
I want add health for my car. when Collision my car with another car I Need countdown health.

Jesus wept.... How many times do things need to be signposted on the forum for people!!!

Search, search, search, search.

Seek and ye shall find.

Here's one that's been on the site (in the same spot) for 3 years...

http://www.3drad.com/forum/index.php?topic=1620.msg33456#msg33456

and then there's Google...

https://www.google.co.uk/search?q=site%3Awww.3drad.com%2Fforum+health+bar&aq=f&oq=site%3Awww.3drad.com%2Fforum+health+bar&aqs=chrome.0.57j58.15027j0&sourceid=chrome&ie=UTF-8
« Reply #4 on: April 11, 2013, 03:02:47 AM »
Quote
Jesus wept.... How many times do things need to be signposted on the forum for people!!!

Search, search, search, search.

I think I did a good speech. :(
I've written health for my car with valuprint. now I want write this without valuprint. and I don't know how write this.
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #5 on: April 11, 2013, 06:02:37 AM »
Quote
Jesus wept.... How many times do things need to be signposted on the forum for people!!!

Search, search, search, search.

I think I did a good speech. :(
I've written health for my car with valuprint. now I want write this without valuprint. and I don't know how write this.
use the iPrint function....
SEARCH GOOGLE FOR MORE!!!!!!!IT HAS ALREADY BEEN ANSWERED!!!!!!!
« Reply #6 on: April 11, 2013, 10:45:53 AM »
I've written health for my car with valuprint. now I want write this without valuprint. and I don't know how write this.

To keep it as simple as possible. If you know how to write a script, then you can use iPrint to do it. If you don't know how to write a script, then stick to value print. You have no other options.
We can't teach you to script, this is something you have to learn on your own. No one is going to write this script for you, else they would already have done so.
Does any of this make any sense?
« Reply #7 on: April 11, 2013, 11:17:38 AM »
Quote
We can't teach you to script, this is something you have to learn on your own. No one is going to write this script for you, else they would already have done so.

I don't ask you to write the script. >:(

I know a little programming,I wanted to get guidance from you.

I attached a script object to EventOnContact, now I want know how can call collision in script?

do I must use (Contact Force or Coll.imposter id) in input section in Script Object? or is there another way?

THANKS
« Last Edit: April 11, 2013, 12:11:21 PM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #8 on: April 11, 2013, 12:01:42 PM »
Quote
Jesus wept.... How many times do things need to be signposted on the forum for people!!!

Search, search, search, search.

I think I did a good speech. :(
I've written health for my car with valuprint. now I want write this without valuprint. and I don't know how write this.
why you dont change the opacity of the valueprint to 0?
See my web:
« Reply #9 on: April 11, 2013, 12:08:57 PM »
think about alternative ways to represent heath without using an expensive value print object...

1- a simple flat sprite or skinmesh scaled to the current health value would work...

2- using the technique applied in the health bar demo project... without the textprint objects...

3- using a valuelabel bar and link it to an object where the opacity determines the health...


--Mike
« Reply #10 on: April 11, 2013, 12:25:37 PM »
Quote
why you dont change the opacity of the valueprint to 0?

this job don't decrease FPS?

Quote
1- a simple flat sprite or skinmesh scaled to the current health value would work...

2- using the technique applied in the health bar demo project... without the textprint objects...

3- using a valuelabel bar and link it to an object where the opacity determines the health...

I don't Need shown any sprite or text in my screen. I want write a script that don't decrease FPS and Loading Time.But I don't Know how call collision in script. ???
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #11 on: April 11, 2013, 12:42:22 PM »
there is no script that will decrease loading time or fps...

you do these things by carefully choosing what you include in your project...

come on B... think about it... how is a script gonna control loading time when the project isn't running yet...

i gave you some suggestions as how to do what you want... take em or leave em..

--Mike
« Reply #12 on: April 11, 2013, 01:03:51 PM »
I suggest that you stick to the objects to do the work for you behdadsoft, because you CANT use scripts to detect collision, unless you are using advanced scripting with imposter rigidbodies - which I feel is way beyond your scripting expertise.

Use the collision objects for collisions, use the valueprint for displays. If you are not happy using those, then take time to learn scripting, because this conversation is going around in circles and getting nowhere.

I'm not wasting any more time on "not getting through to the dude". Good luck to anyone else who wants to try.
« Reply #13 on: April 11, 2013, 03:16:32 PM »
Quote
how is a script gonna control loading time when the project isn't running yet...

yes right. But I mean that use script for don't use valuprint, Because much valuprint make decrease FPS. is not?

A brief about my project:
I want add damage mode for my car. I want add health for every part of the car (Doors, Hood,...). now when Hood collision with another car, reduce Hood health and if health==0 hide Hood and Show Damaged Hood. I do this work with a valuPrint and script Objects. Now I want make health without use ValuePrint.

I attached a script to EventonContact and used this script but don't work:

Code: [Select]
int Health = 100;
int Damage = 10;

void Main()
{
      int result = Health - Damage;
      result = Health;

   if (Health==0)
   {
      iObjectHide (OBJ_44);
      iObjectShow (OBJ_22);
   }
}
« Last Edit: April 11, 2013, 03:34:08 PM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #14 on: April 11, 2013, 03:34:00 PM »
Maybe you can use sjomething like

If counter -1

.      iPrintTextValue()

I don't know, but I am sure there is a way to use iprintText
To show value instead  and you can have hundreds of those with out csusinfg fps issues or increasing loading time.
 
Pages: [1] 2