Skip to content

Add the "Space minimap and radar" example - #1133

Merged
4ian merged 1 commit into
mainfrom
claude/dreamy-mendel-iw5mn6
Nov 27, 2026
Merged

4ian merged 1 commit into
mainfrom
claude/dreamy-mendel-iw5mn6

Conversation

@4ian

@4ian 4ian commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

A small space game showing the new Minimap extension of GDevelopApp/GDevelop-extensions#2379. The extension is included in the project, so the example works before it is merged.

preview

The game: fly a spaceship with the arrows, collect the 10 stars and reach the station. Red enemies chase the ship when it comes near, and meteors block the way.

The minimaps:

  • Radar (top right): it turns with the ship and shows only the "Enemy" and "Objective" categories. The far station stays on its edge.
  • Map (bottom left): it shows the whole level ("Fixed area" of 3200×2400) with every object.

Every object shown has the "Minimap marker" behavior, set in its properties:

Object Marker Category
Ship cyan triangle, turning with the ship, center of the minimaps –
Enemies red dots Enemy
Stars gold stars Item
Meteors grey squares Obstacle
Station green diamond, kept on the edge Objective

The radar and the map are the Hologram radar and minimap of the new "Minimaps and radars" asset pack (GDevelopApp/GDevelop-assets#771). The ships, stars, meteors, background and font are from Kenney's "Space Shooter" pack (CC0), already in the asset store.

Gameplay tests

  • Radar and map show the markers: the radar shows the 2 enemies near the ship and the station, and the map shows all 34 objects.
  • Collecting a star: flying to the right collects the star in front of the ship. The counter goes to 1 and its marker leaves the map.

Both pass with the GDevelop CLI. npx jest scripts/ passes.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

Preview the game(s) changed or added in this Pull Request


This is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt.

@4ian
4ian merged commit 1353f5b into main Nov 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants