≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
question about frame rate drop
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hello tim12345, I guess your issue is related to a JavaScript counter issue. I've faced before when creating my on screen map. whenever I was updating the character location on the map the fps was dropping very fast. I've verified former scripts done and I've found the following lines that fixed my issue. [code] this.counter = 0; // I think this is to reset the timer counter. [/code] then two lines when doing the action/function [code] this.counter = this.counter+1; [/code] and only do the action when the timer is changed [code] if (this.counter==1){ ccbRegisterOnFrameEvent(ShowOnMap); [/code] This has really improved the fps drop actually. I'm wondering if someone of our scripting experienced users can explain this to us[/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