Giter Site home page Giter Site logo

biplanevsaliens's Introduction

bi-plane vs aliens

a 3d game using opengl and sdl2. sdl2 for keyboard and because I copied a start screen from another game.

Fly bi-plane around shooting aliens, ideally before they land. Too many land that's the end of the game

Game only possible with excellent https://github.com/bwasty/learn-opengl-rs

See a short demo here https://youtu.be/m7fsfRz65o4

build

on linux to target windows

export PKG_CONFIG_ALLOW_CROSS=1
cargo build --target x86_64-pc-windows-gnu

or to switch off sound, wine should then work

cargo build --target x86_64-pc-windows-gnu  --features soundoff

or from linux cargo build

the windows target should have al the dependencies from mingw in the code base. I've tried on a normal Windows PC For linux maybe but I to do a package installs during dev. These maybe enough

sudo apt-get install libsdl2-gfx-dev libsdl2-image-dev libsdl2-ttf-dev

to deliver you need to zip up in the debug directory biplanevsaliens resources/ any dlls

cd target/x86_64-pc-windows-gnu/debug
zip -r biplanevsaliens_windows.zip biplanevsaliens.exe resources/* *dll

or

cd target/debug
zip -r biplanevsaliens_linux.zip biplanevsaliens resources

run released code

To run built code either download and expand

https://github.com/bernardjason/biplanevsaliens/releases/download/0.1.0/biplanevsaliens_linux.zip

or

https://github.com/bernardjason/biplanevsaliens/releases/download/0.1.0/biplanevsaliens_windows.zip

and run executable biplanevsaliens or biplanevsaliens.exe

biplanevsaliens's People

Contributors

bernardjason avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.