Full Preview of gadgets.

Discussion and feedback on Construct 2

Post » Mon Nov 07, 2011 1:14 pm

Hello Mr. Thomas and Mr. Ashley,

I would like know if a suggestion in the gadgets building system is welcome?

This is how Flash games are made, I used the Castle Crashers sprites to show how We work there, and is amazing how easy the learning curve is.

First, there you make the pin poing, nine of them are pre-established, but you can type a exactly number too. It look very similar to C2 xD



Them, you make the sprite a symbol, and attach it to another symbol, like in C2, using the pin.

But, is hard to figure out how it's going, or aligned, without a preview.

So, on Flash, you can build it and watch the animation, also, you can make ghosts of past frames and future frames, etc.

I believe C2 can be much better with a preview system like this, making easy the learning curve for pins and saving much time on Complex Multi-Sprite monsters and bosses =P


(Please, ignore the text inside the image, I did it for a friend a long time ago.)

That image is not the best one to show. I'll try to describe it better.

In the animation editor, where you select the pin alignment, is okay, but, on the Main Canvas, where you place your boss, for example, and he will have body, head and a composite neck, build up with circles.

When you pin each one using code, you can preview them only when playing.

A specific area to preview and build composite things can improve much more Our job =P

Another example is when you're doing a game where you can change the pants. So, you set anchor points, and align each one using number in the source code, but when you wanna use the same "weapon" sprite, only re-sizing it a little bit and rotating it, you'll can save much bandwidth and work.

But, is near to impossible make it only using codes. An example to see the situation:

I did the castle crasher chacacter with his arms in a separated animation, pinned it to the body, pinned the sword to the arm, when I rotated the arm, the weapon will keep his angle, to make it show like the animation above, I need to Math his angle with the arm and the body, but when using the "gravity" angle different from 90 in the game, it become slight complex ^^

With the Composite gadgets preview, You can make options to change the anchored sprite angle according to the anchor sprite angle, and much more, looking forward, you can build the preview with sub-animations, where We can easily call it in the code, etc.

What do you think? xDTELLES08082011-11-07 13:44:44
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,214
Reputation: 18,486

Post » Mon Nov 07, 2011 1:46 pm

Isn't this possible using Image Points? Some UI in the layout view would certainly make this a lot easier, but we have a great deal to do as it is already. You say it's 'near impossible' but I think it should be pretty straightforward with a bunch of 'set position' actions to an image point. You could also use instance variables to keep track of angles along joints like arms. Wouldn't that do the trick?

Edit: or even try the Pin behavior!Ashley2011-11-07 13:48:02
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Nov 07, 2011 2:05 pm

Also in the editor, use the property "Initial frame" to see directly in the editor the "outcome" of different frames of an animation.
You can have a kind of preview and help your way visually through the setting of "logical frames" of your complex sprite. (the pin behavior might indeed be useful there)

Or you just wait a few months for Lucid to finish/make his spriter plugin for C2.
Kyatric2011-11-07 14:06:44
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: 7,000
Reputation: 57,795

Post » Mon Nov 07, 2011 2:57 pm

[QUOTE=Kyatric] Also in the editor, use the property "Initial frame" to see directly in the editor the "outcome" of different frames of an animation.
You can have a kind of preview and help your way visually through the setting of "logical frames" of your complex sprite. (the pin behavior might indeed be useful there)

Or you just wait a few months for Lucid to finish/make his spriter plugin for C2.
[/QUOTE]

@Kyatric
That was exactly what I was talking about ^^

@Ashley
Indeed, and with the Brashmonkey plugin, it'll be much faster =]

Thanks!TELLES08082011-11-07 16:45:38
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,214
Reputation: 18,486


Return to Construct 2 General

Who is online

Users browsing this forum: shinichild, Unconnected and 2 guests