≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Variables in CopperCube
Posted by:
(you are not logged in)
Enter the missing letter in: "Internatio?al"
(you are not logged in)
Text:
[quote][b]dynamogames[/b] wrote: I created a system in my game where there player has a Score and a High Score and the high score is saved every few seconds(100ms) and loaded before first drawing. I'm trying to create a system where there is a Daily Target and the value changes based on the high score. For instance, if the player's high score is 500pts, the daily target can be 1000pts. Now I've setup a system already where I added a "If a variable has value do something" behavior where if high score is less than for instance, 200, I set or change a variable called "daily" equals 500 which is daily target. Now I did this a couple of more times where when the player's high score is is less than various values and I set or change variable to be equals a value. Now I have a 2D overlay text which displays the daily target but the problem I have now is that if for instance a players high score is 500 and I have different behaviors of "If a variable has value do something" where high score is less than different values let's say high score less than 1000, 2000, etc. Now the value 500 is less than both 1000 and 2000 so the 2d overlay would display the daily target as 2000 not 1000. I'll like to know how I can solve this.[/quote]
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