Skip to content

Use the Crosshair extension in the first person starters - #1136

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

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

Conversation

@4ian

@4ian 4ian commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

The 9 first person starters now use a crosshair of the new Crosshair extension (GDevelop-extensions#2382, assets in GDevelop-assets#775) instead of a sprite.

[In the starters](https://github.com/GDevelopApp/GDevelop-assets/blob/claude/dreamy-mendel-iw5mn6-crosshairs/tools/ui-themes/screenshots/crosshairs-in-starters.jpg?raw=true)

Starters Crosshair
first person shooter, shooter with enemies (and expanded) Classic (white)
first person survival crafting (and expanded) Classic (white)
first person shooter horror (and expanded) Dot, in white
first person farming (and expanded) Dot (green)

The object keeps its name "Crosshair", so its instance, layer and folder don't change. Its position is its center, so it stays at the center of the screen without any offset. "Follow the mouse or touch" and "Hide the mouse cursor" are turned off, since these games control the camera with the mouse.

The images of the old crosshair are removed (nothing else used them). The extension is included in each project, so the games can use "Add spread" when shooting or "Show the hit marker" on a hit.

Tests

On each of the 9 starters:

  • all their existing gameplay tests still pass;
  • an extra check that the crosshair is centered on the screen passed (it was run but not added to the projects).

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 94f9687 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