Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] writing a script in the text editor for the 2d visual editor

Author
Message
Zackh
User Offline
Joined: 13th Aug 2019
Location:
Posted: 14th Aug 2019 11:59
Hello,

When I am in the 2d visual editor:
* I switch to the to text editor to try ato add a script
* I make sure to switch off the read only mode.
* I can add scripts to the text editor, but when I run the code whatever I write is deleted and read-only mode is automatically switched back on.


Am I missing something?

The author of this post has marked a post as an answer.

Go to answer

Cliff Mellangard 3DEGS
Developer
13
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 14th Aug 2019 15:48
This post has been marked by the post author as the answer.
Dont do it to the scenes script..
You create separate files you call the scene script in.

The scene script it self is for the editor to manage wathever you drag on to the screen.

Login to post a reply

Server time is: 2019-08-26 04:51:51
Your offset time is: 2019-08-26 04:51:51