Developer shares five lessons from building a browser-based Worms-style artillery game
The developer of Bear Wars, a turn-based artillery game inspired by Worms and Hedgewars, describes five technical lessons from building it. The game runs in a browser with no installation, features wind-affected shots, and supports play against a computer, local hot-seat play, or online 1v1 matches via room codes. Key design choices include treating terrain as a collision mask separate from the art, carving craters with a single circle-based primitive, and using swept collision checks so fast projectiles don't pass through thin walls. The post also covers a fixed-tick simulation for consistent results across devices, slope-based movement rules, and an AI opponent that reuses the game's own physics to choose shots.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in