I have a problem here.
I know session web storage doesn't work so i use local ones for highscore.
When it's game over a text appears saying the best score.
It works perfectly in my construct but when it comes to cocoonjs it simply doesn't appear.
So I would like to know what should i do to make highscore appear correctly in cocoonjs.
EDIT: And yeah it doesn't even work in HTML export so i have a big problem!
Solved with adding "int" to WebStorage.LocalValue()
The thing is web storage was storing strings and then converting to int. For some reasons writing directly "int" to the code solves the problem.