Hi, I'm new to construct 3. And I need help on how to make an in game shop (i have two: one for buying health potions and one for buying weapons/Armour). I want the character to be able to talk to the shop person and be able to buy stuff (where money is actually spent).
Also when my character fights monsters, I want them to be able to attack and also get hurt (resulting in lower health),
Here a tutorial/demo how instance variables work (for health or whatever you want) (Instance variable Demo):
https://editor.construct.net/#open=instance-variables
however when they use potions, I want their health to go up but not go beyond their max health (which is different in different levels).
You check in the condition: Is instance variable x bigger or/and equal x (condition) then set local variable to x. (action)
Finally, when my character goes offscreen, I want them to go to a different area (so if my character goes to a path leading offscreen, then I want them to be in the "monster" area where they can earn coins by killing monsters).
You can change the layout when the player goes offscreen: Is player outside the layout (condition) then go to layout x.(action)
Would really appreciate any help :)
Hope it helps.. :)