Why my processing web game works only in Chrome?

72 views Asked by At

This is my game: https://github.com/andrea96/savethequeen

Here an online version: http://andreaciceri.altervista.org/savethequeen/

I don't understand why it works only in Chrome(and I need to reload the page twice). Playing it using Processing IDE it works perfectly.

1

There are 1 answers

0
user2314737 On BEST ANSWER

Try to use the preload directive for the PImage processingjs.org/reference/preload