Skip to content

Adventures in Game Development

Insights, tutorials and discussion of game development

  • Home
  • About
  • Contact
  • Play Witch Game

Tag: web worker

Posted on 5th January 2019 by nick

Kotlin and React Progress

Leave a comment

So the new year is upon us and it’s time I got back to this. I’ve been a bit distracted lately – Christmas and all that, as well as building factories in Factorio. This week I’ve tried to finish off my conversion to a React based interface. This has proved to be quite problematical, mostly
Continue reading Kotlin and React Progress

Posted on 18th November 201818th November 2018 by nick

Message Passing in Web Workers

Leave a comment

Once I’d implemented the Web Worker split, I had a new problem: How do I pass the messages back and forth? The main issues here is that I have to send the game state from the worker and the web page, and send requests for player interaction to the worker. Message Object The first thing
Continue reading Message Passing in Web Workers

Posted on 10th November 2018 by nick

Web Workers in Kotlin

Leave a comment

Something I’ve known is useful for a web game is using Web Workers – the reason for this is that we need something to run in the background when the page isn’t active, and a page’s timer runs much more slowly when the page isn’t in focus (eg if you go to another tab) Kotlin does
Continue reading Web Workers in Kotlin

Search

Tags

actions actor stats balance build tools clojurescript css design elm examples explore game loop icons kotlin language maths modifiers nim npm off topic planning probability programming progress report random react release resources review rituals serialisation setInterval setTimeout spells storage story string parsing style technical testing theme tutorial ui unlocks upgrades web worker

© Adventures in Game Development 2022
Theme: creativefocus by Mladjo.