≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
New "Do Something Later" extension please?
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: [quote] Thanks [b]sven[/b] [/quote] Thanks - yeah, admittedly I'm probably doing something wrong. Only thing is that it was all working well but then it randomly stopped working. So I re-wrote the entire game from scratch. I though this had fixed it because it was all working - but now this new game has started glitching in exactly the same way... here's what I'm trying to do... At the start/restart of the game, I'm setting all my variables. Some of the variable are dependent on others - so I use the [b]Do Later[/b] to make sure that one variable is set before the other. Here's an example.... [b]On First Draw(and on restart), Set Variable1 = 0, Do Later 500ms, Set Variable2=1[/b] To my logic, this should set [b]variable2[/b] from [b]0[/b] to [b]1[/b] after [b]500ms[/b] - but what happens instead is: every [b]500ms[/b], [b]variable2[/b] is being set to [b]1[/b]. Because of this glitch - every time I try to change variable2 during the game, it will always get set to 1 after 500ms - but surely the "Do Later" should only run "On first draw (and on restart)"? Pretty sure it has something to do with the timing - I would understand if it's processing too many variables at once, it may throw the timing out - but I can;t make sense of why it would repeat over and over.[/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