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
276
S
103
G
84
Posts: 7,289
Reputation: 83,093

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
48
S
20
G
18
Posts: 2,111
Reputation: 16,771


Return to Construct 2 General

Who is online

Users browsing this forum: repkino and 6 guests