≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
how to change mouse cursor in coppercube??
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: You can change the cursor in Windows .exe and Mac OS X app by making it invisible and drawing an image at its place. But you'd need scripting for this. Like this: [code]function onFrameDrawing() { // draw a red, transparent rectangle at the position of the mouse var mouseX = ccbGetMousePosX(); var mouseY = ccbGetMousePosY(); ccbDrawColoredRectangle(0x77ff0000, mouseX-10, mouseY-10, mouseX+10, mouseY+10); } ccbRegisterOnFrameEvent(onFrameDrawing);[/code] You mean how to make an AI object follow another object? There is the scripting function "ccbAICommand". You could continuously tell an AI to move to the position of the object it should follow.[/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