Download Construct 2 release 35

Discussion and feedback on Construct 2

Post » Mon May 16, 2011 6:16 pm

[size=200:1bgmlt7e]Download Construct 2 public preview 35[/size:1bgmlt7e]
[size=85:1bgmlt7e]Link to release 34[/size:1bgmlt7e]

Lots new in this build! Firstly, an early version of the Platform behavior! It's not as advanced as the old Classic one, but it should be fun to play with. Try an online demo here (.capx file here). Don't forget to add the Solid behavior to objects you want it to land on.

Secondly, the expressions panel has a little tweak where it remains semitransparent if you don't use it. That should stop it being distracting if you don't need it immediately. So at first it looks something like this:



If you mouse over it or use it, it becomes fully opaque again. I think it's a nice visual reminder that you want to direct your attention to the parameters, but let me know if you find it distracting.

Thirdly, behavior expressions are done! These appear in the expressions panel in a similar way to behavior actions and conditions in the event wizard, like this:



Behavior expressions have a new syntax: Object.Behavior.Expression. For example, Player.8Direction.Speed. Behaviors also appear in autocomplete for expressions:



...and you can autocomplete a full behavior expression as well:



Finally, a nice little cosmetic change is behavior actions and conditions now show the behavior icon by the behavior name, a bit like this:



Let me know if you have any more suggestions or ideas! I think the new syntax is much better than Classic (Player[8Direction].Speed), especially since it autocompletes fully.

[size=150:1bgmlt7e]Changelog[/size:1bgmlt7e]
- [Feature] Behavior expressions. The syntax to use is Object.Behavior.Expression, e.g. Player.8Direction.Speed. This is an improvement over the Classic syntax (Player[8Direction].Speed) - it's a bit more readable just with dots separating. The object panel by the parameters dialog now also lists behavior expressions next to object expressions (similar to the event wizard for behavior actions and conditions). Behaviors also autocomplete like object expressions. Behavior expressions also work with instance indexing, so you can use e.g. Player(3).8Direction.Speed to get the 4th instance of Player's 8 direction movement speed.
- [Add] Platform movement behavior. This is very simple compared to the Classic platform movement, but is a start. It only lands on Solids right now.
- [Add] Object panel: the panel window now starts off semitransparent. This should draw the user's attention to the parameters dialog where their input is needed. It fades in if you move the mouse over it, and fades out if you move back, but once you use it (i.e. click on something) it doesn't fade out again.
- [Add] 8 direction: now cannot pass through solids
- [Add] Event sheet view: behavior actions and conditions now show the behavior icon next to the name
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon May 16, 2011 6:47 pm

...Cave Johnson, we're done here.

Holy crap, that was quick. I'm now grinning from ear to ear, all I need now is a proper Custom Movement behavior, animations, fine collisions, and families, and I'm good to go with what I want to do.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Mon May 16, 2011 7:11 pm

I need about double the performance before I can use C2, but the tool itself is shaping up well :)
B
13
S
6
G
6
Posts: 144
Reputation: 3,106

Post » Mon May 16, 2011 7:24 pm

Keep it up guys. Great work!
B
51
S
13
G
8
Posts: 194
Reputation: 7,311

Post » Mon May 16, 2011 8:47 pm

Nice :)
B
2
S
2
G
1
Posts: 121
Reputation: 1,092

Post » Mon May 16, 2011 9:41 pm

Lookin' pretty awesome, Ash; you guys are working at a great pace!
Check out my VGM on my soundcloud page!
Video-Game Music: E.C.2151
B
7
S
2
G
2
Posts: 193
Reputation: 1,561

Post » Tue May 17, 2011 4:13 am

this is my first post; nice, but once the block goes offscreen it doesn't come back...idk if its just me having a problem...well its a nice platform demo...
B
1
G
1
Posts: 1
Reputation: 427

Post » Tue May 17, 2011 8:22 am

Man, what you doing? :) I haven't translated r34 and new release is out, good work.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Tue May 17, 2011 3:24 pm

Nice job on the new release. I like how this is turning out.

BTW, would it make sense to mark auto-complete suggestions that aren't expressions in themselves? Like:
Height
Opacity
Platform*
B
51
S
10
G
7
Posts: 184
Reputation: 6,825

Post » Tue May 17, 2011 3:58 pm

I'm not sure if I should even mention it since the platform behavior is so early, but there is a one pixel boundary around an object with platform behavior and the objects it collides with.

As for Yarfapet's suggestion, perhaps instead of a *, what about a period? since the expression sprite.Platform is invalid, maybe it should display "Platform." in the auto complete with the period. Then upon pressing enter with the auto complete, it immediately brings up another auto complete for the platform expression. Seems to make sense, reduce confusion and removes an unnecessary key press.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,422

Next

Return to Construct 2 General

Who is online

Users browsing this forum: fredriksthlm, MilkGames, shinichild and 15 guests