≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Out of memory
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b][/b] wrote: I have just seen, that not the whole code was posted, so here is the rest: [code] //Correct Y-position if (!this.Fly) { /* if (this.MyPos.y > waterlevel - 3 && dist > this.EscapeDistance) { this.MyPos.y -= 0.1; ccbSetSceneNodeProperty(node, "Position", this.MyPos); } */ if (this.MyPos.y > this.InitHeight.y + 1 && dist > this.EscapeDistance) { //ccbPlaySound("ding1.wav"); this.MyPos.y -= 0.01; ccbSetSceneNodeProperty(node, "Position", this.MyPos); } if (this.MyPos.y < this.InitHeight.y - 1 && dist > this.EscapeDistance) { this.MyPos.y += 0.01; ccbSetSceneNodeProperty(node, "Position", this.MyPos); } } return true; }[/code][/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