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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top