A downloadable game for Windows and Linux

You are the hole

Move the hole on the green to make the golfer win!

Features:

Everything was implemented in 48h, starting from 0 code in OpenGL (C++)

  • Textures
  • Model Loading (Assimp)
  • Phong shading
  • Shadows (2-pass system)
  • Smooth Shadows (PCR)
  • Golf Physics

Controls

WASD: Move hole

ARROW KEYS: Move Camera

SPACE: Launch ball, the hole cannot be red (red is when the hole is too close)

R: Reset

Objective: Get the ball into the hole, if the ball is red, it's going too fast.

GMTK2023

This is an entry for GMTK2023


StatusReleased
PlatformsWindows, Linux
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorMartensCedric
GenreSports
Tags3D, Golf, opengl

Download

Download
Portable Par Linux 25 MB
Download
Source Code
External
Download
Portable Par Windows 38 MB

Install instructions

LINUX:

You might get an error in the form of:
./gmtk-2023
./gmtk-2023: error while loading shared libraries: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directory
It might happen with any other library.
In this case:
export LD_LIBRARY_PATH="$HOME/portable_par_linux/"
./gmtk-2023

Comments

Log in with itch.io to leave a comment.

(2 edits)

I found an Problem on Linux (that isn't an library) but instead of how the CMake was setup

1st Error:

CMake Error: The current CMakeCache.txt directory /home/ev/ExSoftware/portable_par_linux/CMakeCache.txt is different than the directory /home/cedric/Documents/Programming/gmtk-2023/cmake-build-debug where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMake

Cache.txt

So i deleted the cache

2nd Error

CMake Warning:  Ignoring extra path from command line:   "/home/ev/ExSoftware/portable_par_linux"
CMake Error: The source directory "/home/ev/ExSoftware/portable_par_linux" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Why specifically home/cedric/Documents/Programming/gmtk-2023/cmake-build-debug have to be the Directory? it can just be ~/Documents/Program so it removes User specific stuff, and can we just use whatever directory we want?

So if you can fix this later down than thank you, your probably not going too since this was 2 years ago for an Game Jam but yeah thanks

nice

I got a segmtation fault by putting the flag out of bounds, and after that the ball will pass through the flag, sorry for breaking your game.

its fun game but I found glitch if the flag gat out the map the game crash, good job you did something crazy