How to create custom expression?

Discussion and feedback on Construct 2

Post » Fri Jan 06, 2012 10:22 am

Hello,

I am new to construct 2.

How to create custom expression using construct 2?

i think expression is like a javascript function? if i can create custom expression using construct 2 then i can call that function on completion of game.

Please help.


Thanks
Ravi
B
2
G
1
Posts: 2
Reputation: 504

Post » Fri Jan 06, 2012 12:32 pm

To have custom expression you would need to make a new plugin/behavior using the SDK.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
268
S
96
G
67
Posts: 7,219
Reputation: 73,739

Post » Sat May 03, 2014 1:21 pm

You could also use the function object, have a function that return a value, then call it via function.call(functionname)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
43
S
18
G
18
Posts: 2,106
Reputation: 16,436


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests