Content tagged events

Events are Construct's main feature: instead of complicated scripting or programming languages with fiddly syntax and difficult errors, you can define how the game works using a simpler block system. The blocks are collectively referred to as events.

Report Tag

104 usages of this tag
  • 5 replies
  • 396 views
0 favourites

I'm trying to make a color change in my main menu when I mouse hover over the text. I want to create as few spritefont objects as possible, so I'm trying to cha...

posted 2 years ago
  • 4 replies
  • 375 views
This content is deleted
Forum Topic
How do I make things work with keyboard and controller ?
0 favourites

Currently, with only keyboard, the event is working ( Set boolean ). OR. Only controller event. But with theses two events ( I can hold Space or Hold A with my...

  • 1 replies
  • 222 views
This content is deleted
Forum Topic
How do I set an event on first game launch?
0 favourites

I got some files that contain start data, that is being modified later on. So I wanted to load the data from the files on game start to the local storage and wh...

  • 4 replies
  • 577 views
This content is deleted
Forum Topic
Need help with addEvent Listener
0 favourites

I have the following code in which I define a class: Runtime.GlobalVars.Class_Axt = class axt {. Constructor() {. This.Name = "Axe". This.MapObject = 0. This.Zi...

posted 2 years ago
  • 2 replies
  • 442 views
0 favourites

I would like to know how you can access the instances which are triggered by the collision event. With adding action you can easy acces them as it seen on the p...

posted 2 years ago
  • 5 replies
  • 363 views
This content is deleted
Forum Topic
Trigger Once for Each Instance Who Meets Certain Criteria
0 favourites

I am having a problem. In my game, I am attempting to implement a system wherein if an enemy's "Shield" value is reduced to zero, three things should happen: 1....

  • 2 replies
  • 268 views
This content is deleted
Forum Topic
How do I change an event with an action?
0 favourites

I am creating a game where it will spawn a certain amount of objects a second to make the game hard. I want to add something where if you press a button labeled...

  • 2 replies
  • 252 views
This content is deleted
Forum Topic
How do I fix this character keyboard action?
0 favourites

I'm new to programming and Construct. I have a character (Valentina) where I have set a variable assigned to her depending on what key or combination of keys th...

  • 7 replies
  • 448 views
This content is deleted
Forum Topic
How do I check if layer with some name exists?
0 favourites

I have some convention of layers naming like: "level_0", "level_1", "level_2". And there's logic shared between events sheets. I need to implement a function th...

posted 2 years ago
  • 2 replies
  • 705 views
This content is deleted
Forum Topic
How do you create and use custom events?
0 favourites

I want a way to create, dispatch, and listen to events I create myself through scripting. I've seen from the IBehaviorInstance API docs (cf. Image) that this se...

posted 2 years ago