≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
every 5th exec is a bug
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]VP[/b] wrote: I do have a work around, but it's not very graceful solution and the same problem eventually came back after I thought it was fixed. I can't code (I have number dyslexia/dyscalcula), so the way I fixed it was to use a separate folder node, then added the "every few seconds" action to that. To make it work as a crude "before first draw", I used "If" action and "set variable" action to switch variable: "start=0" to "start=1" on the very fist cycle of "every few seconds". The "before first draw" was causing so many different (random) problems for me - objects would not "rotate", collisions suddenly stopped working, variables were not working as expected, fade-screen stopped, music wasn't playing properly, on proximity didn't trigger - it was driving me insane - this was the only workaround I found. It seems that (for some reason), the "before first draw" will occasionally repeat itself over and over and over - and sometimes will not trigger at all - best to avoid using it at all if possible (attach the code to folder nodes, inside the scene, instead). I think the bug is triggered when too many similar events happen at the same time - but I wasn't able to fully figure out why it happens - no-one else was experiencing the problem, so they assumed it was just a mistake I'd made somewhere. I was getting major problems if several things are using "every few seconds" action. I had around 6 things that worked perfectly, individually, but would break when I tried to run them together - same fix, I moved everything from "the root of the scene" to a folder node inside the scene and it fixed problems for a while - but then they came back as I added more and more content to the game. For example... I could get my game running perfectly, but if I kept adding 3D objects (such as 100 coins) and apply the "rotate" action to them, they would eventually all stop rotating. When this happens, any variables I had set in the "before first draw" would also break - and "on proximity" would stop working. If I randomly deleted a few coins (or removed the "rotate" action from a few of them), everything would suddenly start working again. If I move the variables to a folder node instead, the coins would rotate and the variables and"on proximity" would work again. There are also (possibly) quite a few "bugs" in the default coppercube actions/behaviours/plugins which could be triggering/breaking things too. A few times, people commented that I must have been making mistakes in my code or game loginc - I hadn't actually coded anything, I only ever used the default Coppercube actions/behaviours/plugins. I really hope it gets addressed soon but I genuinely don't think anyone else encounters the problem. I restarted my projects several times but I eventually gave up because of this. I really hope you can figure it out with a bit of experimentation. Please let me know if you find a better fix.[/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