Skip to content

e2dk4r/pikuma-2d-game-physics-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loosely following 2D Game Physics Programming

Build for Linux

./build.sh
cd build
export LD_LIBRARY_PATH="$PWD/3rdparty/SDL3-3.1.6-install/lib64"
./game

Gotchas

  1. Setting LD_LIBRARY_PATH=./ causes app to segfault while recompiling.

This was discovered while copying libSDL3.so to current directory, then trying to hot reload game library.

Doing so will cause the app get SIGSEGV signal.

Reproduce Steps:

$ ./build.sh
$ cd build
$ export 'LD_LIBRARY_PATH=./'
$ ./game
$ ./build.sh # recompile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published