Help on understanding Space Blaster game

Get help using Construct 2

Post » Tue Nov 11, 2014 1:01 am

Hi,

So I'm reading the Space Blaster's Game events and first thing that I noticed was the variable dt.

Move 300 * dt pixels at angle angle(Player.X, Player.Y, Touch.X, Touch.Y)


Where was it initialized? Is it a reserved variable like a System class' property?

Is there a view in Construct 2 that lists all the variables available in the project?

I can only see them as I type something (code completion) in the parameter window.
B
2
Posts: 3
Reputation: 156

Post » Tue Nov 11, 2014 1:15 am

ImageImageImageImage
B
157
S
64
G
41
Posts: 2,590
Reputation: 34,640

Post » Tue Nov 11, 2014 1:51 am

Thank you very much!
B
2
Posts: 3
Reputation: 156

Post » Tue Nov 11, 2014 7:46 pm

You should see the expressions window when entering an expression. You can press F4 to show/hide it if it's not visible. You can see all the system expressions (including dt) in there under "System".

expressions.PNG
You do not have the required permissions to view the files attached to this post.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Thu Nov 20, 2014 1:02 pm

Nice! That will help me a lot in reading the source code. Thanks!
B
2
Posts: 3
Reputation: 156


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2 and 15 guests