Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Time is running out behaviour - Help needed.

j0linar
Registered User
Quote
2017-02-22 10:49:04

Now i broke my head into pieces.. if you ever played superhot you will know how it looks.

To the meat, i need some advice/help in creating a time is running out behaviour. The time should be set able ( i need it to 30minutes) and time should start decreasing once a node gets visible.

Lets say you pickup a coin, that pickup is a var that makes the coin useable in your inventory and when you use it it starts decreasing the time.

Now i know this all sounds really weird but am working on
http://www.moddb.com/games/super... for a competition and am prepared to forget the idea and to do something else instead but then again maybe someone can help out?.. Thanks for reading.


just_in_case
Moderator
Quote
2017-02-23 05:18:45




just_in_case
Moderator
Quote
2017-02-23 05:31:35

See this thread here is the explanation on how to create a timer...

http://www.ambiera.com/forum.php...

If you need more help .. ask me..!

all you need you need to do to the above method is add a behaviour before drawing do something...


And set a variable
Variable name= seconds
Value = 30 (the time in seconds you want to display as counter)

And in the previous method just change the add to subtract ... Thats all...

Now every second the timer will decrease the value of 30 secinds by 1... And display it on 2d overlay ... U can use this variable to acheive your target...


For more help ask me here angelonghost@gmail.com



Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact