Skip to main content
deleted 135 characters in body; edited title
Source Link
House
  • 73.3k
  • 17
  • 185
  • 273

Is there a HTML5 game engine that will tell me How do I detect when thean HTML 5 game is overhas ended?

This question is really, really specific and I'm not sure if anyone will know the answer but here goes.

I'm currently building a website, and I'd like to embed HTML5 games in certain pagesa website, but I need to be able to detect when the game has ended so I can run some of my own JavaScript. 

Looking at the output of some game engines (Construct 2, for example) reveals a nightmare of code that I couldn't hope to tweak so that it fires off an event when done.

Is this an unrealistic goalHow can I detect when a game has ended?

Is there a HTML5 game engine that will tell me when the game is over?

This question is really, really specific and I'm not sure if anyone will know the answer but here goes.

I'm currently building a website, and I'd like to embed HTML5 games in certain pages, but I need to be able to detect when the game has ended so I can run some of my own JavaScript. Looking at the output of some game engines (Construct 2, for example) reveals a nightmare of code that I couldn't hope to tweak so that it fires off an event when done.

Is this an unrealistic goal?

How do I detect when an HTML 5 game has ended?

I'd like to embed HTML5 games in a website, but I need to be able to detect when the game has ended so I can run some of my own JavaScript. 

Looking at the output of some game engines (Construct 2, for example) reveals a nightmare of code that I couldn't hope to tweak so that it fires off an event when done.

How can I detect when a game has ended?

Source Link

Is there a HTML5 game engine that will tell me when the game is over?

This question is really, really specific and I'm not sure if anyone will know the answer but here goes.

I'm currently building a website, and I'd like to embed HTML5 games in certain pages, but I need to be able to detect when the game has ended so I can run some of my own JavaScript. Looking at the output of some game engines (Construct 2, for example) reveals a nightmare of code that I couldn't hope to tweak so that it fires off an event when done.

Is this an unrealistic goal?