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 wan to remove initial black background or I wan to make it transparent!

Before impact game initialized I have added a background in canvas! But when impact game starts it's creating black background. I wan to make it to transparent or need to delete it! Is it possible??

1 decade ago by Joncom

Here you go.

1 decade ago by swamykumarv

Quote from Joncom
Here you go.


Sorry I tried that, but doesn't work! but following works fine:

In init function of main class we have to write it:
ig.game.clearColor = "";

then transparent :)

thank you very much for reply!!
Page 1 of 1
« first « previous next › last »