Giter VIP home page Giter VIP logo

send-martin-tower-to-mars's Introduction

Send Martin Tower to Mars!

Description:

Send a tower on a journey through space to land on Mars.

Send Martin Tower to Mars! is a game developed using LUA LÖVE framework. Libraries it uses include Box2D(for physics) and HUMP (for gamestate) Game was done in a 8bit style with a limited color pallete used.

About each major file

main.lua

This file set up the game and contains game wide functions. Functions include fade() which does screen fades edge() which pushes the tower object if its too close to the edge of the screen playSound() which controls the audio and provides stop and pitch control levelSelect() which controls the current gamestate.

objects.lua

Definitions for system wide variables. Including setup for animations using quads.

gameLevel01.lua

Gamestate for level one. Simplest of the three levels in the game. The main mechanic is to press left and right repeatedly to fill up the fuel tank before launch.

Uses a countdown timer which once reaches zero will no longer accept input and will start the launch fuction.

gameLevel02.lua

Level two is a flying in-space simulation. It's a timed level with the player object moving at a fixed rate toward the top of the screen. Once they reach the top the level ends. The player must avoid the debris that is randomly generated. If the player hits debris once there is fuel loss and if they hit the same debris again there is even more fuel loss and the debris is destroyed. All debris is destroyed once it scrolls off-screen.

Background scales as time goes on to imply the feeling of movement.

gameLevel03.lua

Level three is a Lunar Lander style game. The player must land on the surface slowly enough to not crash and onto a level surface to not tip over. Upon load, the surface is randomly generated to create a new experience for each play. If the player lands without crashing the bonus score is to be calculated based on landing speed and object angle.

mainmenu.lua

Main menu for the game with a splash screen with the title.

gameLevelIntro.lua

Basic text info screen that tells the player the controls and goals for the first level.

gameLevelGoal01.lua

Basic text info screen that tells the player of the goals for the second level.

gameLevelGoal02.lua

Basic text info screen that tells the player of the goals for the third level.

gameLevelGoal03.lua

Basic text info screen that tells the player the final score and an option to play again.

Copyright (c) 2023 Lightly-Salted Production, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

send-martin-tower-to-mars's People

Contributors

mblum6180 avatar

Watchers

 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.