Don't Miss Out

Follow us now so you don't miss new releases!


Lightning Draw

linkman2004

26.647 seconds

Przemek32767

32.217 seconds

CrudeMik

59.5 seconds

For the first 3 people to download this release!

Quick Draw

Kyatric

1m 1s

Kastas

1m 4s

Nickydude

1m 10s

shinkan

1m 11s

Guest

1m 13s

adagar

2m 32s

Potato

2m 44s

plut

2m 45s

Dableo

2m 58s

Esdreika

2m 58s

jhjhjh111

2m 11s

Be one of the first 15 people to download this release!

Construct 2 Release r128

This is an old Beta release! Download the latest Beta release instead here.
Download

114.4 mb, Windows 8/Windows 7/Vista/XP

Wednesday, May 01, 2013

New this build: parameters dialog improvements and HTML5 export templates!

Parameters dialog improvements

This build should be a big improvement for those of you who use complicated expressions. First up is the parameters dialog now has syntax highlighting, which can make it a lot easier to read expressions. Strings are a reddish brown, numbers are purple, operators are blue, recognised object or family names are green, and behavior names will also appear orange.

Construct 2 syntax hilighting

Next up is error highlighting. Previously if you had made a mistake in an expression, you wouldn't find out until you hit 'Done'. Now mistakes are underlined with a squiggly red line so you can recognise and fix mistakes before trying to close the dialog. For example, below the name of the Player object's instance variable has been mis-spelt, and it's been underlined to show the problem.

Construct 2 error hilighting

There's also new parentheses matching. Having complicated expressions with lots of deeply nested parentheses can get confusing since it's hard to quickly see how the brackets pair up. Now if you move the cursor by a bracket, both in the pair are highlighted to show how they match up. If the selected bracket doesn't match up, it also highlights in red.

Construct 2 brace hilighting

Finally, we've added global autocomplete. Previously an autocomplete popup wouldn't pop up until you typed the dot in an expression, e.g. "Player." before the dropdown suggests things like "X" and "Y" to complete the expression. Now you can just start typing and autocomplete suggests global variables, local variables in scope, object and family names, and system expressions. This can make it quicker and easier to type in expressions!

Construct 2 global autocomplete

HTML5 export templates

Now when exporting as a HTML5 website, you can choose between three templates: normal (what you got before), an 'ad bar' template (reserves room down the side of the page suitable for placing an advert or other content), and an 'embed' template (margins and scrolling disabled, suitable for Kongregate/Newgrounds style iframed games). The ad bar style might make it a bit easier to monetise web games - just paste an advert in to the side bar - and the embed style should save you having to hack the CSS of exported games to work in online arcades.

Changelog

Add

Parameters dialog: syntax coloring for expressions

Add

Parameters dialog: autocomplete pops up as soon as you start typing

Add

Parameters dialog: typed expressions now underline errors with a squiggly red line in real-time to make it quicker to see mistakes

Add

Parameters dialog: matching parentheses highlighting

Add

Template selection when exporting as a HTML5 website

Add

Layout view: hold shift while placing a paste to paste in-place (objects will paste at their original positions rather than relative to the mouse)

Change

Changed default loading icon from the HTML5 icon to a Construct 2 icon

Change

When switching to an event sheet tab it will update the UI for the layout if C2 can find a single associated layout for the event sheet. (E.g. the layers bar updates if switching to an event sheet directly used by a layout)

Bug Fix

Physics: was broken on CocoonJS and any other minified export

Bug Fix

Dragging a local variable to a new scope did not always update expressions which could cause a crash

Bug Fix

'Pick by UID' now works again when inverted (was broken in r127). Note however the inverted form still iterates every instance like a normal condition; only the non-inverted form uses a single lookup.

SDK

Plugins specifying a dependency on a .css file now automatically get the .css file included in the exported HTML page via a link tag

SDK

CocoonJS export: now always includes CocoonJS.js, CocoonJS_App.js, CocoonJS_App_ForCocoonJS.js, CocoonJS_Ad.js, and CocoonJS_Store.js (may be useful for third-party plugins depending on CocoonJS extensions)


Comments

11
mammoth 8,459 rep

Awesome possum!

Wednesday, May 01, 2013 at 5:50:29 PM
7
Przemek32767 23.6k rep

Syntax highlighting is one of my most wanted features! It's great to see it has already been implemented. Keep up the good work!

Wednesday, May 01, 2013 at 5:51:44 PM
6
glerikud 20.5k rep

Great update. Best software on this market.

Wednesday, May 01, 2013 at 5:52:18 PM
6
Rory 11.3k rep

Good job Tom & Ashley!

Wednesday, May 01, 2013 at 5:52:37 PM
4
Kyatric 87.5k rep

Nice list of improvements ! Thank you.

Wednesday, May 01, 2013 at 5:52:49 PM
5
Paradox 40.0k rep

Oh boy, a day of exploring a new Construct2...

Wednesday, May 01, 2013 at 5:52:54 PM
5
episuarez 2,879 rep

Good job! :)

Wednesday, May 01, 2013 at 5:55:43 PM
5
firebelly 7,239 rep

This is a HUGE HELP, HUGE!!!

Wednesday, May 01, 2013 at 5:57:41 PM
5
stachir 3,693 rep

well done !
again !

Wednesday, May 01, 2013 at 6:09:39 PM
5
JEtherington 3,888 rep

Happy days!!! :D

Wednesday, May 01, 2013 at 6:10:03 PM
4
russpuppy 8,969 rep

awesome, I was just thinking about trying to figure out how to get the embed thing to work on websites to disable scrolling. Wish I had this before submitting my game entry to the newgrounds contest--thanks for the nice update though!

Wednesday, May 01, 2013 at 6:11:57 PM
5
siks 8,830 rep

Nice! I was just here thinking how highlighting would be awesome for the complicated things I'm doing! Thanks!

Wednesday, May 01, 2013 at 6:12:46 PM
4
Pixel perfick 12.3k rep

Coloured expressions are so cool...Thanks for update.

Wednesday, May 01, 2013 at 6:15:48 PM
5
SergioRM 6,879 rep

again I say AWESOME!

Wednesday, May 01, 2013 at 6:27:44 PM
5
ferrod 17.4k rep

Great improvements, thanks,

Wednesday, May 01, 2013 at 6:29:45 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.