GithubHelp home page GithubHelp logo

elennick / moonshotadv Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 125.53 MB

LÖVE2D game for github 2020 Game Off game jam

Lua 96.71% Makefile 0.44% HTML 2.85%
game love2d itch love gravity jam gamejam lua gameoff-2020 gameoff2020

moonshotadv's Introduction

Super Moonshot Adventure

PIC 1

General

This game is my submission to the Github Gameoff 2020 gamejam: https://itch.io/jam/game-off-2020/rate/832614

Itch game page: https://elennick.itch.io/httpselennickitchiosuper-moonshot-adventure

YouTube playthrough by Bastion Top: https://www.youtube.com/watch?v=UcqN7U5xUXw&t=2990s

Super Moonshot Adventure was created using:

Libraries

SMA uses several libraries available for Love2D/Lua including:

Debug

There are debug commands available if you build with the debug option enabled. Currently it can only be enabled by setting the value to true in the code itself here: https://github.com/elennick/moonshotadv/blob/main/main.lua#L26

While this option is enabled, you can press ESCAPE to bring up the pause menu and press the following keys to toggle debug actions:

  • V - sets the volume to 0
  • R - restarts the current level
  • N - skips to the next level
  • Q - calls love.event.quit() and stops the game
  • L - tries to load levels JSON from the system clipboard

Building Levels

All levels in the game are loaded on startup from a JSON file located in the levels/ directory: https://github.com/elennick/moonshotadv/blob/main/levels/levels.json.

This file can be modified or added to by updating the information and rebuilding and restarting the game. Additionally, levels can be loaded dynamically while the game is running using the L debug option.

Makefile commands

This project has several targets to help run and build from the command line in Mac OSX (and possibly Linux). Most of these targets revolve around building and running the web version of the game. In order for most of these targets to function, several other commands will need to be available including make, love, love-js and python.

  • make local = build and run game using local Love2D install
  • make web = build using love.js and run in Chrome
  • make web-build = build using love.js
  • make web-zip = build using love.js and zip into deployment artifact
  • make web-clean = delete the /build directory generated by love.js
  • make release-build = generate windows and macos executables using love-release

Screenshots

PIC 2 PIC 3 PIC 4 PIC 5 PIC 6 PIC 7

moonshotadv's People

Contributors

elennick avatar

Stargazers

 avatar

Watchers

 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.