Skip to content

octaviotastico/outrun_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

OutRun

OutRun was a videogame back in the 80's for Sega console.
I wanted to draw stuff with C, and I found the SFML Library, and I had to try it.
It was a lot of fun, and I hope you like the result!

How to compile:

First of all, you need to download the SFML Library.

To do that from shell, you have to:
sudo apt-get install libsfml-dev
sudo apt-get update
sudo apt upgrade

Then, clone the repo if you haven't done that:
git clone https://github.com/octaviotastico/outrun_test.git

And finally, open the new folder and run:
g++ -o a drive_away.cpp -lsfml-graphics -lsfml-window -lsfml-system
./a

Demo:

gif

Note:
You can move with Left and Right arrow keys

About

This is an SFML Library test.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages