Giter Site home page Giter Site logo

ltank-sdl's Introduction

ltank-sdl

This is a SDL 2.0 remake of Jim Kindley's Laser Tank game. It runs on all major desktop operating systems.

Differences from original game

As the source code of the original game is messy and hard to understand, I have decided to code this remake from scratch and try to keep game logic simple while retaining overall gameplay of the original game. As a result, there are some incompatibilities with the original game and some levels from the original game are broken.

Here are the major differences from the original game:

  • Multiple lasers can be present simultaneously. As a result, anti-tanks will fire upon seeing player even if another laser is still in flight.
  • 1-tile-long conveyor belts no longer take player to the other end immediately
  • Player's laser travels to target instantaneously

There might be other subtle differences. Also see missing features below.

Missing features

  • Ice-related logic is incomplete
  • Tunnels
  • Recording & playback

Build instructions

  1. Install dependencies: sdl2, sdl2_image, sdl2_ttf and their respective development packages
  2. Type make
  3. Run the game: ./ltank

Game control

  • Press arrow keys to move, spacebar to fire
  • Press u to undo last move
  • Press r to restart game
  • Press F9 to toggle editor mode
  • Press a to toggle animation

Screenshot

Level1: Boot Camp

ltank-sdl's People

Contributors

wildptr avatar

Stargazers

Marc-Alexandre Espiaut avatar Tobias V. Langhoff avatar Ladislav Rauch avatar Vincent avatar Stefan Driesner avatar  avatar  avatar

Watchers

 avatar  avatar

ltank-sdl's Issues

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.