What is one thing you realised WAY too long into using C2?

Discussion and feedback on Construct 2

Post » Sat Nov 05, 2016 2:27 pm

BackendFreak wrote:That you can do a shorthand if's (condition ? result_if_true : result_if_false) in expressions. Somehow missed that in the manual ;)

I realized it after 2-3 years into C2. I filled out some programming test at the university and noticed this strange line. Turned out it's a common programming practice.
B
138
S
33
G
17
Posts: 1,561
Reputation: 20,839

Post » Sat Nov 05, 2016 7:07 pm

If you're debugging a game to check framerates, the "Inspect" tab can artificially move your FPS and CPU% to unusable levels. Switch to the "Watch" or "Profile" tabs instead.
Eh, Steve!
B
116
S
54
G
13
Posts: 114
Reputation: 16,185

Post » Mon Nov 07, 2016 7:23 pm

While debugging you can change variables live
My latest game is: Plants at www.rogerty.com
B
29
S
6
G
7
Posts: 693
Reputation: 5,736

Post » Mon Nov 07, 2016 10:25 pm

You can navigate back in menus by ALT + LEFT.
ALT + 4 preview from current layout and ALT + 5 debug .
B
74
S
36
G
45
Posts: 462
Reputation: 28,370

Post » Tue Nov 08, 2016 6:24 pm

it may not be used often, but the fact that you can reference instances by doing: Sprite(1).x for example.. or Sprite(-1).x can come in handy sometimes.

The IID?
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
66
S
17
G
5
Posts: 172
Reputation: 8,496

Post » Tue Nov 08, 2016 6:25 pm

it may not be used often, but the fact that you can reference instances by doing: Sprite(1).x for example.. or Sprite(-1).x can come in handy sometimes.

The IID?
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
66
S
17
G
5
Posts: 172
Reputation: 8,496

Post » Tue Nov 08, 2016 6:26 pm

Pickedcount. 3 or 4 years and just NOW someone told me that's a thing. Pickedcount.
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
66
S
17
G
5
Posts: 172
Reputation: 8,496

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests