My 2cents about construct2

Discussion and feedback on Construct 2

Post » Tue Nov 29, 2011 4:19 pm

Hello,

I follow you guys from construct classic. I think that you really know what you're doing, construct2 games are really fast and optimized, still I'm considering switching to a "real" js engine (like impact).

I'll still be using construct2 for fun and small projects, sadly at the state in my humble opinion construct2 is no more than a click and play style product, not suitable for a "real" game. And it's a shame because the code it produce is lightning fast.

So far I found 2 critical problems with construct2.

1) Lack of debug. It' s impossible to keep track of what is happening in a complex project. I don't need nothing fancy, even something basic with all the var dump would be helpful.

2) Lack of clear references to ojbects id. I can pick an instance with a UID, but only from an event. What if inside an event I want to apply actions to one instance then switch to another? I understand that I could do it by creating "hacks" (setting global and local variables or object varibales and then checking them) but this gets really confusing and with the lack of a debugger almost impossible to track on large scale projects.

I hope this ends up in a constructive (no pun intended) conversation. I would love to hear other opinions.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Tue Nov 29, 2011 5:39 pm

1. Not sure how a debugger would work since even the preview runs off of another program... your browser.
However the text object can be used with events fairly efficiently.

2. Please, please, please stop using uid. It was not designed for this purpose.
Instead use the object index, as in sprite(index). Each time you add an instance(even in the editor) it is assigned an index based on how many instances already exist. That's far more practical than trying to guess what the uid is.

Just remember that sprite(0), or tiledbg(0) is the first instance added, sprite(1) is the second etc.
Image Image
B
161
S
48
G
90
Posts: 7,350
Reputation: 66,755

Post » Tue Nov 29, 2011 5:52 pm

1. C2 is in beta - there's a lot of functionality missing. I expect a debugger to be made at some point.

2. Some of that functionality that's missing is functions, which in CC you can use to, in the middle of an event, run another event with its own selected object list, with the option of remembering or forgetting the instances of the event the function was run from.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Tue Nov 29, 2011 6:00 pm

C2 = Klik n' Play? Wow, dude. C2 is completely capable of making "real games." It's just that people would rather experiment with it right now than make full-fledged games because it hasn't even been in development for an entire year yet. People seem to forget that.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Tue Nov 29, 2011 6:04 pm

I'll agree with you on the debug part, that was an inconvenience
when I first started with C2, but that's all it is, an inconvenience.
You can easily make your own debug with a text object and an
every tick event.

I also agree with you on making a full-fledged game at this stage in development.

Give it time until its features are filled out more.
When it gets to the point where Construct is feature-wise,
it's going to be an extremely capable engine, plenty capable
of full games. But that's a ways off, that's why I'm not doing anything
serious in C2.

I also don't think we're going to see anything amazing from it until
some more exporters come out for it.
B
12
S
2
G
4
Posts: 44
Reputation: 2,389

Post » Tue Nov 29, 2011 6:06 pm

[quote]
2. Please, please, please stop using uid. It was not designed for this purpose.
Instead use the object index, as in sprite(index). Each time you add an instance(even in the editor) it is assigned an index based on how many instances already exist. That's far more practical than trying to guess what the uid is.
[/quote]
The problem is that you can't access dynamically the ID ofan object. For example, when I click witht the mouse object on a Sprite, I can store his UID in a var, but not is ID.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Nov 29, 2011 7:08 pm

We hope to remedy points #1 and #2 in future with some extra features. We have a long todo list though!

As for the point about being able to make "real" games - they certainly have been made in Classic, and we're aiming to make Construct 2 even better for big games. I would argue this point further, but I think an even better thing to do is for us to spend the next year or so continuing down the long list of features we have planned to make "real" games easy to make in Construct 2, wait for some people to make "real" games, then link you to those games as a counter-argument. Ashley2011-11-29 19:09:00
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

Post » Tue Nov 29, 2011 7:15 pm

Debugging is hard in these kind of programming languages. The best way to do it is to constantly test and run step by step. If you are used to classic game production with code you have to test as you go.

Personally there isn't a better 2D engine. The scale ability of the engine is pretty impressive once you get to know it.
B
69
S
11
G
6
Posts: 324
Reputation: 8,321

Post » Tue Nov 29, 2011 7:20 pm

Well, for debugging I use Firebug for Firefox, at least it tells me what went wrong whenever the game fails to run or crashes.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Nov 29, 2011 7:32 pm

Fully agreed with Mipey.

Also a "true engine as jsimpact", on the debugger part will rely also on the browser's debugger.
So if you want to debug, use the console in the browser, it is here for it.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests