Scripting in C2? ...

Discussion and feedback on Construct 2

Post » Mon Mar 19, 2012 12:12 am

Let me try to keep this, ah, quick...

Is there going to be scripting (a la Classic's Python scripting, i.e. in the event editor) in C2? I personally thought that Classic's scripting system is very rough and even buggy at times (which is understandable, since you guys spent so long making the event system shine as it does), but I know that having some sort of scripting in C2 (any language; I'm flexible) would be great for me - I can do a lot of things quicker by scripting than I can with events.

With all respect,
TheBen
B
8
S
2
G
6
Posts: 44
Reputation: 3,007

Post » Mon Mar 19, 2012 12:23 am

It took me long time to get used to d&d. I would like to have this option too.
B
40
S
5
G
5
Posts: 405
Reputation: 5,657

Post » Mon Mar 19, 2012 3:19 am

If you can do it quicker with scripting, start programming.

This has been explained so many times now that I think it needs a place in the FAQ or a sticky or something. If you want to extend C2's capabilities in some fashion, make a plugin with JavaScript. If you want to program exclusively, I don't think C2 is the tool for you.
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Mon Mar 19, 2012 3:22 am

If you prefer to script and work faster that way Impact might be the right tool.
B
17
S
6
G
6
Posts: 113
Reputation: 4,161

Post » Mon Mar 19, 2012 3:30 am

Have you tried the Javascript SDK?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon Mar 19, 2012 3:30 am

Write the entire game as one plug in.
B
11
S
3
G
2
Posts: 110
Reputation: 2,410

Post » Mon Mar 19, 2012 3:59 am

Plugin is designed for reusing, it worth to learn/make.
B
97
S
22
G
178
Posts: 4,122
Reputation: 104,051

Post » Mon Mar 19, 2012 7:21 am

[QUOTE=Trevor10] If you prefer to script and work faster that way Impact might be the right tool.[/QUOTE]

Huh, what? Is there another HTML5 tool? How does it compare to Construct 2? Here are a few features I like about Construct 2. Does it do:

1. Code obfuscation?
2. Export to HTML5 sites such as Chrome Store, Windows 8, Kongregate?
3. How large and helpful is the community?
4. How much do they provide for wannabe RPG game creators?
5. Any other feature comparisons?

I love Construct 2, but inquiring minds wanna know!
Check out my HTML5 Firefox OS Game Programming and Game Playing blog at http://firefoxosgaming.blogspot.com/ and my book on Amazon at http://www.amazon.com/dp/B00IZUYIGO. I wrote a newer post on using Construct for Firefox OS at http://firefoxosgaming.blogspot.com/201 ... -game.html.
B
16
S
4
G
4
Posts: 181
Reputation: 3,837

Post » Mon Mar 19, 2012 1:47 pm

The best place to get those answers would be from their website. I don't use Impact and am unlikely to start. However, unless you have solid knowledge of JavaScript or are willing to put in the time learning don't bother. With Impact you have to code your entire game. Hence it's nothing like C2 where only if you need very specific functionality do you have to write code in the form of a plugin.
B
17
S
6
G
6
Posts: 113
Reputation: 4,161

Post » Mon Mar 19, 2012 2:30 pm

@TheBen
Programming was not the main focus in Construct. If you want to get your hands dirty, there's a lot of tools that can get you that. Or you could just go the manly men route and get an IDE, like Programmers' Notepad or something and type away.

In Construct, you just have to make the concession of accepting that the code you create is not typed. Not severe, really. If you REALLY need to use code because something you want is not there, you can always suggest it's inclusion in future builds or get a plugin done.

If you want to clean up your project, just open c2runtime.js in your project folder and edit it afterwards.

I too asked that question, but C2 is great as it is, so I decided to accept it and I'm quite pleased with it.
B
25
S
8
G
7
Posts: 184
Reputation: 6,040

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests