Core 2D Camera Platformer Example by axelmagn · Pull Request #222 · raylib-zig/raylib-zig · GitHub
Skip to content

Core 2D Camera Platformer Example - #222

Merged
Not-Nik merged 2 commits into
raylib-zig:develfrom
axelmagn:ex-2dplat
Mar 23, 2025
Merged

Not-Nik merged 2 commits into
raylib-zig:develfrom
axelmagn:ex-2dplat

Conversation

@axelmagn

Copy link
Copy Markdown
Contributor

I noticed this was missing so I thought I'd knock it out as an exercise. It was a good time, and I would consider it one of the more important examples for new users.

Part of: #200

I noticed this was missing so I thought I'd knock it out as an
exercise.

@Not-Nik Not-Nik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use decl literals so we don't have to do #221 all over again

@ZackeryRSmith

ZackeryRSmith commented Mar 20, 2025 •

Copy link
Copy Markdown
Contributor

@axelmagn

Copy link
Copy Markdown
Contributor Author

@axelmagn
axelmagn requested a review from Not-Nik March 20, 2025 20:20
@ZackeryRSmith ZackeryRSmith mentioned this pull request Mar 21, 2025
14 of 20 tasks

@Not-Nik Not-Nik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I'm not super concerned with the idiomaticitiy of the Zig code. The main purpose of the ports is to show how to use raylib right here with the bindig, and it serves as a nice couple of tests.

@Not-Nik
Not-Nik merged commit dfe2227 into raylib-zig:devel Mar 23, 2025
ve-nt pushed a commit to ve-nt/raylib-zig that referenced this pull request Aug 27, 2025
* Core 2D Camera Platformer Example

* Use decl literals for enums in platformer example
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.

3 participants