Code editor

Post your work in progress addons and get feedback

Post » Thu Nov 13, 2014 4:46 pm

Hello :)

I am writing an implementation of ACE in construct
ACE is a code aditor (an input with syntax coloring to be brief)

You can follow the project on this Bitbucket repository or download the alpha plugin here :)

You can also test the result of the example project here (V1.0)
I upload it frequently :)

If you experience a bug : https://bitbucket.org/armaldio/c2-codebox/issues/new

Donate if you want to support me :)

Image
Last edited by armaldio on Fri Mar 06, 2015 7:12 pm, edited 8 times in total.
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Thu Nov 13, 2014 6:34 pm

Here's a gift from one dev to another, if you want to finish it off all the power to you.
I'm not sure I have the time right now. Just note that the sdk doesn't handle dependencies that well, so some things like themes and some of the extra's are probably out of the question..


https://dl.dropboxusercontent.com/u/139 ... ns/ace.zip
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Thu Nov 13, 2014 6:34 pm

Hello,

will it be possible to write JS code directly in C2 and have access to all engine classes, methods etc? Something similar to unity script and the way scripting is implemented in unity? C2 event system is cool and fast, but unfortunatelly writing more complex logic is slow (perfomanse wise) and sometimes confusing. I know, there's C2 JS SDK, but it's a different story.
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

Post » Thu Nov 13, 2014 6:47 pm

Thank you @Noncentz705, good work, but I want to make more advanced stuff ^^

Noncentz705 wrote:Just note that the sdk doesn't handle dependencies that well, so some things like themes and some of the extra's are probably out of the question..

What do you want to say ?
I achieve to load and change the theme.

xoros wrote:Hello,

will it be possible to write JS code directly in C2 and have access to all engine classes, methods etc? Something similar to unity script and the way scripting is implemented in unity? C2 event system is cool and fast, but unfortunatelly writing more complex logic is slow (perfomanse wise) and sometimes confusing. I know, there's C2 JS SDK, but it's a different story.

I don't know, this is not what I am writing right now ^^
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Thu Nov 13, 2014 7:07 pm

@armaldio, that's why I've handed it to you, whatever though restart.
It would be convenient to be able to add a folder to the dependency key in edittime.js
As it is it auto loads any js files you add, which isn't the desired behavior in some cases and for files that like to require other files good luck
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Thu Nov 13, 2014 7:26 pm

Thank you :)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Thu Nov 13, 2014 10:37 pm

Looks really neat, i'm looking forward to it, is there anything you can do with it in construct 2 right now?
B
21
S
6
Posts: 244
Reputation: 2,665

Post » Thu Nov 13, 2014 10:50 pm

Thank you @Wisdoms :)
Now you can :

- Switch languages
- Switch themes
- Set text
- Get text
- Get selected text

Please go here to see result :)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Fri Nov 14, 2014 11:42 am

I can see that being useful for, let's say, mod writing or text-based level editing.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Nov 14, 2014 12:59 pm

Aphrodite wrote:I can see that being useful for, let's say, mod writing or text-based level editing.

Of course, good ideas :DD
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest