Event sheet editing through text

New releases and general discussions.

Post » Wed Oct 06, 2010 3:21 am

I think it would be really useful to develop a text-based format in which you can type out event sheets instead of clicking through a ton of GUI menus. This is just an editor type feature that wouldn't add any functionality (scripting is separate) but would make editing event sheets much quicker for people who become more and more experienced with Construct.
B
11
S
2
G
3
Posts: 283
Reputation: 1,968

Post » Wed Oct 06, 2010 12:02 pm

agree with that. clicking dozen times per sec is a bit anoing... only a bit, but still ;)
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Wed Oct 06, 2010 10:50 pm

I've always thought this would be much less useful than people think. Consider typing "On collision between SpriteA and SpriteB". If you typo'd and wrote "On collisiion between SpriteA and SpriteB" Construct wouldn't be able to recognise the condition and would point to it as an error. And it'd take so long to type out you probably could have picked it out from the menu by then, if you're experienced. Plus the text format could never be as clear as the event sheet: to prevent ambiguities in which part of a condition or action are parameters, you'd have to differentiate it somehow. So instead of "Sprite value 'X' less than 5" you'd have to type something like "Sprite: value param('x') param('less than') param(5)" which has already destroyed the readability.

Are you sure it would make it quicker and easier considering that? I think an experienced user can click through the menus very quickly so typing out a long event could actually take a lot longer IMO, especially if you make some typos.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Oct 06, 2010 11:23 pm

How about something in between, a dummy object that would allow typing out conditions, and actions?
Kinda like Python?
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Wed Oct 06, 2010 11:56 pm

Ashley, thanks for the reply. I'm a bit new so maybe I'm wrong about this but it seems to me typing out the text that's in the events themselves would be faster than going through a menu for people who are used to it. I find myself much more productive not having to move around a mouse. I don't really have to look around and scroll through a list to click on a specific spot. It requires far less coordination and attention than performing a visual search and clicking precisely (or, at least, the coordination required is already well-trained for most people these days). Using the GUI, every time an object is added the place you have to click for many objects changes, for example. So I'm not sure if it would be faster, but I think it would surely require less attentional resources. Why couldn't you do something like Sprite.X < 5, or Sprite.Variable (whatever variable) < 5, and just use the stuff after the final period as variables and the stuff prior to it as objects?

You could reserve a character to separate parts of a condition, e.g. Sprite.X | less than | Sprite2.Y . It's actually hard for me to make suggestions on the actual implementation since I don't really know how the events work behind the scenes. But yeah, is till do think it would be easier for me to type something like Sprite: value param('x') param('less than') param(5). Even if it's slower or about the same speed-wise, it is just so much simpler to type than to click on GUI stuff

I also think it would help with sharing systems since you could export event sheets that way in a simple way instead of having to scroll through an image event by event and duplicate those in your own game.
B
11
S
2
G
3
Posts: 283
Reputation: 1,968

Post » Thu Oct 07, 2010 1:39 am

There are pros and cons to both clicking and typing. As you mentioned, sharing bits of code would be much easier with a typing style of interface. And for people who type fast, yes it would be a lot faster.

But... with a typing interface you would be required to learn syntax, and as Ash mentioned typos would be a problem. With the current clicking system, you don't need to learn coding syntax at all... everything that Construct can do is plainly shown in a list that you select from. It's much more noob friendly. You don't need to memorize commands or structure. You don't need to wonder if such-and-such function is available or not, because they're all right there in plain sight.

And while it may be possible to create a hybrid system that parses what you type into normal events, that's kind of a tall order to lay on the devs, especially this late in the game :P.

Anyway, if you're more comfortable typing and you don't mind learning programming syntax, then I might suggest using a program that has an actual coding environment, like XNA or Flash or something. After all, Construct is supposed to be for people who want to make games without coding. That's the whole purpose behind it :).

At any rate, I'd suggest keeping at it for now. The clicking might seem cumbersome at first, but once you become more familiar with where to find things in the list it'll get a lot faster. I promise :wink:
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Oct 07, 2010 2:52 am

Actually I did mean a hybrid. I really like the event system as is, and would prefer this system over a typing system if I had to choose one, especially for the early stages of learning, mainly because it's sort of self-documenting (I can click on things instead of looking through docs). And yeah I was just posting random ideas in the forum since it's here, I won't be bummed if the devs don't do it. I just thought I'd offer up the idea and if they liked it they could do it. I do know how to code at an intermediate to advanced (but not expert) level as I code artificial neural networks for a living :). I can evne do someg some directX programming, but I haven't found a 2D engine with as much functionality as Construct that offers pre-compiled events like this for speed. And being a solo hobbyist coding a graphics engine from scratch is just boring for me :P

So yeah just to say, I do appreciate what has been done with this game engine and I find it quite amazing. The stuff that can be done with it without any coding is outright amazing.
B
11
S
2
G
3
Posts: 283
Reputation: 1,968

Post » Thu Oct 07, 2010 5:35 am

tl;dr.

I like the idea of typing through dialogs. quicksearching objects, tabbing through fields, accepting with enter.

I do this whenever possible.

sys [enter] star [enter] --> On Layout Start event :)
Now, if I could highlight an insertion point and add conditions/events with the keyboard, I wouldn't even touch the mouse!
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sun Oct 31, 2010 2:49 pm

I hope no one minds a bump.

I think a text-editor would be a great thing.
While it would be closer to coding, it should still be far enough removed therefrom - we would already be familiar with the "language" after the event editor, leaving only a minimal amount of syntax to learn. And it would still serve as an ideal concept prototyping platform.
If such a thing were added, it's not as if it would harm anyone - those who don't want to deal with text just wouldn't have use for the "Import text file" button or whatever.

[quote:10033szo]like XNA or Flash or something. After all, Construct is supposed to be for people who want to make games without coding. That's the whole purpose behind it[/quote:10033szo]
Construct is still easier to use than both, and, re: Flash, unfortunately, not all of us have the money to throw down on it. Also, I would like to point out that there are Python plug-ins for Construct. Apparently, typing can't be so bad, and programming doesn't entirely replace Construct. :P

I've rewritten this post several times, as I can't seem to keep it from stretching uncomfortably long, but I would like finish with that, as a Starcraft mapper and modder, having dealt with a system remarkably similar to Events with their "Triggers'" Conditions and Actions and with animation script editing, I've moved from GUI to text twice, and like many score if not hundreds of others in that community, have never looked back (or in my case, only now, and only with great reluctance).

That last sentence probably seems a tad dramatic, but eh, it's how I write. :P And I do believe it's entirely true.
B
1
G
2
Posts: 2
Reputation: 629

Post » Sun Oct 31, 2010 3:13 pm

[quote="madster":27ek02d4]Now, if I could highlight an insertion point and add conditions/events with the keyboard, I wouldn't even touch the mouse![/quote:27ek02d4]
this
B
2
S
2
G
3
Posts: 193
Reputation: 1,636

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests