Coder Social home page Coder Social logo

adamintheoculus / dog-gone-wild Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 11.16 MB

Cross-platform 2D side-scrolling game written in C.

Makefile 0.10% C 96.64% Shell 0.25% C++ 1.97% Objective-C 0.54% CMake 0.03% M4 0.48%
c game 2d side-scroller

dog-gone-wild's Introduction

Dog Gone Wild

You are a dog. Your owner has been kidnapped. Stop the kidnappers and find your owner.

How to play

  • Press WASD to run different animations. Placeholder sprites used from https://www.spriters-resource.com/snes/ff6/. Released game will contain sprites created by me.
  • Press ESC to quit the application (wow!)
  • More features to be added

How to compile

MacOS

  • sh install.sh -- automatically installs SDL2, SDL2-dev, SDL2-image, SDL2-ttf, SDL2-mixer.
  • sh build.sh -- automatically cleans, compiles, and executes the game.

Linux (Debian)

  • sh install.sh -- automatically installs SDL2, SDL2-dev, SDL2-image, SDL2-ttf, SDL2-mixer.
  • sh build.sh -- automatically cleans, compiles, and executes the game.

Windows 7 & 10

  • Install MinGW http://www.mingw.org/ -- (TODO: Reason goes here)
  • Modify Windows PATH to include C:\MinGW32\bin. You should be able to execute gcc in Command Prompt.

Now we need to put SDL2.dll file in both 32-bit and 64-bit system locations (Windows)

  • Download/extract SDL2-devel-2.x.x-mingw.tar.gz
  • Copy i686-w64-mingw32bin\SDL2.dll file into C:\Windows\System\SysWOW64.
  • Copy x86_64-w64-mingw32\bin\SDL2.dll file into C:\Windows\System\System32.
  • Traverse to root directory with PowerShell or Command Prompt.
  • Compile code by typing mingw32-make.exe to run Makefile for Windows.
  • Run game by typing .\bin\main.exe
  • If you receive an error such as Unable to start correctly or SDL2.dll not found, try switching SDL2.dll placement.
  • Review this StackOverflow thread: https://stackoverflow.com/questions/18389874/sdl2-dll-missing

dog-gone-wild's People

Contributors

adamintheoculus avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dog-gone-wild's Issues

What is expected to happend?

Goodmorning, I succesfully install the game on Linux. After lounched start.sh a man walk but what else? Thak you

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.