Download Construct 2 release 28

Discussion and feedback on Construct 2

Post » Mon Feb 14, 2011 4:31 am

[size=150:2qa6q1fu]Download Construct 2 public preview 28[/size:2qa6q1fu]
[size=85:2qa6q1fu]Link to release 27[/size:2qa6q1fu]

Lots of additions, changes and fixes. Hopefully this corrects all the teething issues that have come up since the public preview.

I can't reproduce the crash-on-close bug, but I made a change that might fix it - let me know if it still crashes on close.

[size=150:2qa6q1fu]Changelog[/size:2qa6q1fu]
- [ADD] System expression: newline
- [ADD] Common object expression: count
- [ADD] System expression 'loopindex' can now take a parameter of the name of the loop index to get
- [ADD] Text: 'Append text' action
- [ADD] Instance variables dialog: can drag and drop variables to reorder, rename via label edits and F2, and move up and down from the toolbar.
- [ADD] Sprite and Text: Is Visible, Set Visible
- [CHANGE] Boolean instance variables: now use a true/false combo in properties, and have their own conditions and actions: 'Is boolean instance variable set', 'Set boolean' and 'Toggle boolean'. Boolean variables don't appear in the other instance variable actions/conditions and vice versa. Booleans should be fully functional now. They provide a nicer way of using on/off flags, such as 'Player: Is Alive' as opposed to 'Player: Alive = 1'.
- [CHANGE] By default the canvas doesn't bring up a context menu when you right click it. (Thanks Gullanian)
- [CHANGE] Instance indexing (e.g. Sprite(n).X) previously worked indexing in to the SOL (the currently picked objects) - this seems inconvenient in practice, so now it indexes for all objects, regardless of which are picked. This means Sprite(0).X is always the first instance's X co-ordinate, whereas before Sprite(0).X was identical to Sprite.X (which is the first currently picked instance's X co-ordinate).
- [CHANGE] Text: now accepts numbers passed to 'Set Text'
- [FIX] System 'For' condition was not inclusive to the end value
- [FIX] Text object did not wrap newlines in text properly
- [FIX] Recursive loops (loops-in-loops) work now
- [FIX] Subevents to loops sometimes ran even when they were false
- [FIX] IDE crash clicking back in parameters dialog with an invalid expression
- [FIX] Runtime: instance variables are set to a correct initial value when a new object is created (previously it accidentally gained the last instance's current variables)
- [FIX] System 'Create object' did not pick the created instance
- [FIX] max and min system expressions would not accept instance variable parameters
- [FIX] Error cloning an object type with instance variables
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon Feb 14, 2011 4:36 am

Wow!
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Mon Feb 14, 2011 4:43 am

[quote="Ashley":2voq6dlh]- [FIX] System 'Create object' did not pick the created instance[/quote:2voq6dlh]
Awesome! :) Now I can get down to making some fancier stuff.

EDIT: It looks like collisions are borked now. :? You can see this when running the demo mentioned in the announcement post in the latest version. IE9 locks up when a collision occurs, and Chrome drops frames like mads and doesn't actual register the collisions.
Moderator
B
99
S
37
G
19
Posts: 1,584
Reputation: 17,842

Post » Mon Feb 14, 2011 5:04 am

Oh, poop. I'll have that fixed and get a 28.2 out soon.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon Feb 14, 2011 5:09 am

Here's a hotfix till then: paste this runtime.js file to <install path>\exporters\html5\plugins\sprite\runtime.js - it's got fixed collisions.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Mon Feb 14, 2011 6:28 am

Awesome update! :) I especially like how boolean variables read in event sheets. Very clear.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Mon Feb 14, 2011 7:45 am

What a lot of additions :O Will have to try this when I get home. And I thought you said you wouldn't work on this for a short while :P
B
10
S
3
G
3
Posts: 110
Reputation: 2,206

Post » Mon Feb 14, 2011 2:04 pm

Cool!, I'm downloading it now! I can't wait to try it...
B
2
G
1
Posts: 17
Reputation: 484

Post » Mon Feb 14, 2011 2:12 pm

still crashes on close on windows vista home premium
B
2
G
1
Posts: 17
Reputation: 484

Post » Mon Feb 14, 2011 5:39 pm

Same for thedeveloper, it crashes on close for me. I'm using windows vista home premium / service pack 2. I don't know if I'm supposed to report it because you already know about this bug.

Things I did:

1. Create a new project
2. Add Sprite (I saved the sprite as it is, I didn't draw anything on paint. But I can draw or paste images, it'll just be same in end.)
3. Save, then Exit -> *crash*

(It happens with capx and folder types. Same result.)

It did save the project though. So I reopened the project, removed the sprite, and save/exit. It still crashed. It didn't crash for me if I only used mouse, keyboard, or text. It only does it with the sprite.

EDIT: Forgot to mention I'm using 32bit.
B
8
S
1
G
1
Posts: 13
Reputation: 788

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests