Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Minigolf
A minigolf game written without a game engine in C. Try it here (Works best in Chrome): https://mgerdes.github.io/minigolf.html

A minigolf game written without a game engine in C. Try here (Works best in Chrome): https://mgerdes.github.io/minigolf.html

![Image](https://i.imgur.com/TBlXedl.gif)

Expand All @@ -8,6 +9,7 @@ A minigolf game written without a game engine in C. Try it here (Works best in C
- Used [ImGui](https://github.com/ocornut/imgui) to create in games tools for fast iteration. Also created an in game-editor that can be used to modify the terrain of a hole and then quickly play to get fast feedback. The game-editor can also run Scheme scripts to generate the points and faces of more interesting models.

![Image](https://i.imgur.com/fCoKT2e.gif)

- Used the library [Lightmapper](https://github.com/ands/lightmapper) to generate lightmaps for the terrain and also [xatlas](https://github.com/jpcy/xatlas) to generate lightmap UVs. These lightmaps are then baked into the files for the courses. It can also interpolate between multiple samples to create lightmaps for some moving objects.

![Image](https://i.imgur.com/ADw5kCw.gif)
Expand Down