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
294
S
117
G
96
Posts: 7,310
Reputation: 71,084

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
53
S
22
G
18
Posts: 2,122
Reputation: 17,123


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests