I just got the new beta version :)
And I would like to know if there are any tutorials or a manual entry on the new functions plugin?
Else I would not know how to assign them
Manual entries are only updated on stable versions.
Here is a simple and useless example on how to use functions.
it is logically the same thing as functions in "regular" programming languages, you might want to look it up in another language to understand how/why to use it and pretty much how in C2.
Develop games in your browser. Powerful, performant & highly capable.
They're not in the manual yet. You add them as a plug in on your layout. You can set them up in the event sheet as an event, and then add the actions you want them to perform. They can also be used as actions in the event sheet.
I just was not sure how to create a function in Construct2.
Thank you for the example.
1) Add a Function object to your project.
2) In your event sheet, add this event to create your function:
Function: On "MyFunc"
- Add your action/s (get parameter values with: Function.Param(n))
Add a function call event e.g. System On start of layout
- Add this action: Function: Call "MyFunc", with parameters as/if required
Yeah so it basically is like a actual function.