≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Does ammount of functions affects the optimization of behavior?
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: By functions if you mean an actual function like var dosomething = function () {..xxx...} then wont be a problem at all...its better to use functions rather than re writing the same code over and over in different places. Behaviours however run every frame and so will use up system resources if you have lots of them - better to create once off Actions instead so that it stops running when not needed. I myself plan to inlcude most of my game code into a single Behavior with parts of it running at different timings (speed) for better performance. In general Actions work great though and best used as much as possible.[/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