Game templates

The Open City template: cars, chases and missions in an open city

A ready open-world template on iDos Games. The player walks and drives a whole city as their own account avatar, steals cars, runs from the police, takes missions and plays with up to 8 friends. What is inside and how to make it your own game.

Open City is a ready game to start from: a whole city to walk and drive around as the player's own account avatar, with cars, police chases and missions. A new project on this template is playable right away, with races, side jobs, daily quests, leaderboards and rooms for friends. Then you reshape it into your own idea with the AI coder.

What is inside

  • The city. Five districts (downtown, homes, the port, the suburbs, the coast) with roads, bridges, a park and a beach, built from one recipe, so every player gets the same city. Day turns into night: street lights and car lights come on.
  • Your avatar. A third-person camera behind the player's own avatar: walk, run, jump, swim.
  • Cars. Eleven kinds, from a small hatchback and a convertible sports car to a truck and a motorbike. Get in an empty car or pull a driver out. Cars take damage, smoke, burn and blow up. Each car has a radio with stations of generated music.
  • Traffic and people. Cars keep to their lanes and stop at traffic lights. People walk the pavements, panic and run, and sometimes hit back.
  • Wanted level. Five badges. A crime seen by the police counts at once. A crime seen only by a passer-by counts when they finish their phone call to the police. More badges bring patrols, then roadblocks, then a helicopter. Leave the search zone and hide, or repaint the car.
  • Fights. Fists, a bat, pistols, an SMG, a shotgun and a rifle, aimed over the shoulder. A death sends the player to the hospital, an arrest to the police station, both for a fee.
  • Missions. Three contacts with their own stories and cutscenes, side jobs (taxi, ambulance, patrol), three street races and stunt jumps.
  • Money and places. A gun shop, a paint shop, a garage for your cars and a safehouse where the game saves.
  • On a phone. A stick, a look pad and buttons, all laid out for a narrow screen.
  • Real cities. In the Cities menu a player finds an address and builds a district of up to 1.5 km from OpenStreetMap: real streets, houses, parks, rivers and terrain. Your own map can be edited: remove or raise a house, repaint it, put your own model in its place. Maps live in the Workshop, so friends in a room play on the same map.

Systems already connected

Besides the six systems of every project, the template brings its own:

SystemWhat it does in the gameWhere to set it up in the dashboard
LeaderboardBest time of each race and the longest stuntLive Operations → v2 → Leaderboard
QuestDaily tasks: side jobs, a won race, a lost chaseLive Operations → v2 → Quest
StoreGems and coin packsLive Operations → v2 → Store
MultiplayerRooms for up to 8 playersLive Operations → v2 → Multiplayer
WorkshopReal city maps: who makes them, the fee, limitsLive Operations → v2 → Workshop

In a new project all of this is already filled with a sample: three race boards and a stunt board that reset every week with prizes for the top places, three daily tasks and rooms for 8 players.

Step 01Create a project on the template

On the Create page describe an open-world city, for example: "An open-world city: I drive cars, run from the police and take missions, with friends". The platform picks this base, and the project is playable right away. More on creating in how to make a game with AI.

Step 02Make it your own

Tell the AI coder what to change, one change at a time:

  • "Add a desert district with a long highway".
  • "Add a mission where I chase a truck and stop it".
  • "Make the police give up faster".
  • "Add a monster truck to the garage".

Prizes, daily tasks and room size are easier to change in the dashboard: they are settings, not code, and players get them without a new build.

Step 03Tune it and release

Go through the sections from the table above, check the game in the test version and release it - see publishing and links.

For developers

  • The game module is open-city (Three.js with a UI kit panel on top). The game sits inside the lobby: "Play" opens it, "To the lobby" in the pause menu brings the player back. It brings the multiplayer, leaderboard, quests, store, inventory and workshop systems with it.
  • The city, the cars and the missions are data: a city recipe (CitySpec), car classes and mission steps that the AI coder edits without touching the engine of the game.
  • The game sends the race time to the city_race_downtown, city_race_port and city_race_hills boards and the air time of a stunt to city_stunt, in tenths of a second, and reports the city_jobs, city_races and city_escapes counters to quests. A board or a task that is not configured is skipped.
  • Co-op uses the @idosgames/netplay package: every player owns their body and the car they drive, the room host keeps the clock and the co-op mission.

How projects and modules are built is in the TypeScript SDK overview.

Frequently asked questions

How do I get this template?

Describe an open-world city idea on the create page, for example "I drive cars, run from the police and take missions, with friends", and the platform picks this base. The AI coder installs the template into an existing project on request.

Who is the hero?

The player's own account avatar. A look changed in the avatar editor shows up in the city at once; a player without an avatar gets a random one.

Can friends play together?

Yes. "Play with friends" in the lobby opens a room for up to 8 players. Everyone drives their own car, can ride in a friend's car and play the co-op missions. Friendly fire and a shared wanted level are room settings.

See also

Make your own game

Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.