Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Rules for code location/organization?

A topic by estragon0 created May 27, 2020 Views: 122 Replies: 1
Viewing posts 1 to 2
Submitted

How strictly is 'works as either a data url or a bookmarklet' meant to be interpreted? My game currently uses a bookmarklet to pull some elements off of the page it's run on, but then opens a new tab/window and passes the elements to remote HTML/JS where the actual game takes place. I could change it to inject remote JS into the current window, or even just cram all the JS in the local bookmarklet, but organizationally I kind of prefer the way it currently works, and I think it's still in the spirit of the jam since it's using data from the original page. Thoughts?

Host

that’s totally fine! Your game sounds amazing btw. I can’t wait to play it.