Content tagged variable
A symbolic name associated with a value and whose associated value may be changed.
When creating conditions in the event sheet, is there a way to change the name of the variable that an object binds to? I want to access instance variables of t...
I'm trying to replicate a classic game called "Deadly Duck" and I'm working on a mechanic where the ships attacking the player go to the side of the screen, "gr...
I have an object instance with variables X = 0 and Y = 0. I need to check if instance with variables X = 1 and Y = 2 exists to fire a function. How can I do thi...
I set two variable for p1,p2 in action (meaning, they'll punch, defend or do nothin') and p1,p2 for receiving damage. The problem is, even though I set the inpu...
I'm making a platformer 2d game in which I have a circle with multiple paths that are supposed to connect with different horizontal pathways once it rotates to...
I actually try to delete a data in my array but don't really know how I can do it. My array is width 0 and Height 4 and I recorded my object's Json in it plus 3...
How do I compare var I want to see if a var is = to true and if so do something.
There are two enemy instances with LOS behaviour. I want to set the player instance variable to 1 when player is in the LOS of any enemy instance and when the p...
In Construct 3 I'm able to pass a global var in JS using the following: Rik.LogError(runtime.GlobalVars.MyGlobalVar); In c2 obviously I need to use the Browser....
I am making a platformer with some boxes that I want to have destroyed if the player is doing a special move while falling. It seems really simple but I'm havin...