≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
distance covered / altitude meter
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Ummm..... well .. you can slow down the player by dexreasing animarion framerate... But without using javascript that would be difficult... Use this to slow down your player... If player has some stuff and let you set a variable for that... For example if player has one stuff Set variable Variable name = stuff Value = 1 Now if player has 1stuff. Use javascript Var player = Ccbgetscenenodefromname ("playernode"); Ccbsetscenenodeproperty (player, 'Framerate', 5); It will slow down the animation to play with 5 frames per second... To measure altitude you can measure the position of your player from scenenode.. and by putting the value of position to a variable name altitude.. You can create a virtual altitude.. Same method can be used for the latitude also,.... Measure the initial position of the player... (Rest position).. And by comparing it with the position of player while moving... You can create a simple altitude and lattitude system... *holy*[/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