Articles and field notes
Games
Game development: multiplayer, online services and live operations.
- Articles
- 21
- Last published
- 10 Nov 2026
Index 21 articles
Articles in “Games” from the PN Scripts blog: plain guides and notes from our own work on software, hosting and games.
-
Games
Screen shake in Godot 4: a trauma camera for 2D and 3D that survives hit-stop
Trauma based camera shake for Camera2D and Camera3D in Godot 4 that keeps your own camera offset, keeps moving during hit-stop and settles back to rest.
11 min read
-
Games
Adaptive graphics quality in a Three.js game: a first guess from the GPU, a measured title screen and dynamic resolution
How our Three.js game picks its graphics level: a guess from the GPU name, a frame-rate test on the title screen, dynamic resolution and a remembered level.
8 min read
-
Games
Save slots for a browser game in localStorage: versioned data, safe loading and saving when the tab closes
Save progress in a browser game that survives updates, full storage and closed tabs: one versioned record, merged defaults and saves on pagehide.
8 min read
-
Games
One art style from mixed CC0 asset packs: repainting palette textures and trimming models for the web
How we make free CC0 3D packs look like one game: check the licence, repaint the shared palette texture by colour masks, trim and compress the models.
8 min read
-
Games
Keyboard, gamepad and remappable controls in a browser game: physical keys, dead zones and honest prompts
Controls for a browser game that work on any keyboard layout and gamepad: physical key codes, a polled Gamepad API, dead zones, rebinding and prompts.
8 min read
-
Games
Playtest bots that prove every level can be beaten, and that the core rule is not optional
How we use bot players in tests: a planner that must finish every level, a bot that ignores the core rule and must fail, and win tables per skill.
8 min read
-
Games
Procedural game sound effects with the Web Audio API: one mix bus, layered recipes and measured levels
Synthesise game sounds in the browser without samples: a mix bus that never clips, layered recipes for impacts and chimes, variation, and a level test.
8 min read
-
Games
Terrain that breaks where the player cuts it: Voronoi plates and a flood fill in a Three.js game
How our arena game splits an island into irregular Voronoi plates and drops every piece a cut separates from its anchor, with code and tests.
9 min read
-
Games
A fixed-timestep game loop in JavaScript that plays the same at 60, 144 and 165 Hz
Make a browser game run the same on 60, 144 and 165 Hz screens: an accumulator loop, interpolation, safe pausing and a test that proves it.
9 min read
-
Games
Scheduled restarts for a Paper Minecraft server: warnings, saving and coming back up
Why a Minecraft server needs a daily restart, how to warn players, what saves the world, how to make the server start again, and when not to schedule it.
9 min read
The PN Scripts family
Other PN Scripts sites
Hosting, games and the blog each have their own site, run by the same company.
-
pnscripts.com
PN Scripts
Software engineering
Custom web, mobile and API development, plus our open-source products and plugins.
-
games.pnscripts.com
Games
Games and game servers
The home for PN Scripts games: free browser games you can play right now, with game servers coming soon.
-
hosting.pnscripts.com
Hosting
Hosting and infrastructure
Shared hosting, KVM VPS, dedicated servers and domains, from the same company that builds your project.
-
blog.pnscripts.com
Blog
Articles and field notes
Practical articles on software development, hosting, open source and games, written with AI assistance and checked by the people who build them.
You are here