Skip to content

nicholascc/eme-shooter-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eme-shooter-game

image

A simple game built with SDL2 as a demo for the programing language Eme. Check in releases for the latest version to install. All code for the game is mine, but the images are public-domain game assets I found online.

Controls

W, A, S, D to move. SPACE to shoot.

How to compile

First, install Eme here. Then, make sure that you have the SDL2 and SDL_image .dll files in your PATH. The releases version of the game's zip file includes all necessary .dlls, although you could also use the official downloads.

Then, use the Eme compiler to compile the Eme source code:

eme.exe src/main.eme -o out.obj

Then you can use the generated object file with your installation of MSVC to generate an executable output file:

cl.exe "src/support.c" /nologo /Fe"game.exe" /link "out.obj" "lib/sdl/SDL2-2.0.20/lib/x64/SDL2.lib" "lib/sdl/SDL2-2.0.20/lib/x64/SDL2main.lib" "lib/sdl/SDL2_image-2.0.5/lib/x64/SDL2_image.lib"

game.exe will be the compiled game executable!

About

A game demo-ing the Eme programming language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages