Very nice work for the short amount of time!
Eugene Lymar
20
Posts
1
Topics
9
Following
A member registered May 23, 2018 · View creator page →
Creator of
Avoid others to prevent infection. See how long you can last!
Survival
Play in browser
Recent community posts
itch.io Community » itch.io » Questions & Support · Replied to No Time To Play in Trouble accessing a game asset from p5js project
itch.io Community » itch.io » Questions & Support · Created a new topic Trouble accessing a game asset from p5js project
Hi, I'm having trouble loading an asset.
My game structure is simple:
- game.zip
- index.html
- build/
- game.js
- assets/
- font.otf
I am trying to load the font in, but seem to be getting some XML response.
I load the font in the js using p5js with loadFont('../assets/font.otf', ...
Is there another way I should be handling this? Are the paths off?
Thanks!