Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by swamykumarv

Hi,

I am very new bee to Impact! hope I can get help from u guys!

After game over I want to remove entire game! I mean "ig.game" need to deleted from canvas! Is it possible?

thanks!

1 decade ago by mimik

try
delete ig.game

?

1 decade ago by dominic

Why do you want to delete it? To restart the game? Maybe you're just looking for:

ig.system.setGame( MyGame ); // Delete old game and start new

1 decade ago by swamykumarv

no actually I developed a platform to load games! So, I will load game into it, after game complete I have to delete and remove from canvas! So, that is the my requirement! thanks for reply!

1 decade ago by swamykumarv

Quote from mimik
try
delete ig.game

?


By using this command "delete ig.game" it's deleting! but draw functions(repeat) still working in background! how could we stop them?

Following are error:

Uncaught TypeError: Cannot read property '_rscreen' of undefined
Page 1 of 1
« first « previous next › last »