Coder Social home page Coder Social logo

gravity-game's Introduction

Gravity

A prototype game where you steer the player into goals, overcoming gravity and other obstacles. Sort of like golf, in space?

Screenshot of game

How to play

Go to: https://harvzor.github.io/gravity-game/

Up to date HTML builds should be pushed to the html branch, which is then available via GitHub pages.

Note Web performance isn't that great! Build for native if you want the best experience.

Developing

Requirements:

  • Godot Mono v3.5.stable
  • DotNet 6.0.302

Getting started

  • run dotnet restore
  • open with Godot and build
    • you may need to set dotnet cli as the build tool in Godot
      • Editor -> Editor settings -> Mono -> Builds -> Build Tool -> dotnet CLI
    • if you run into an issue such as The build method threw an exception. and Cannot find executable for 'dotnet CLI'. Fallback to MSBuild from Mono., this issue may be present: godotengine/godot#38985
      • run Godot from the CLI, then build
  • run

Exporting

Web

Probably you want to build this so it can be released to GitHub pages...

git checkout html
cd ./src
godot --export "HTML5" ../docs/index.html

Android

Follow this guide: https://docs.godotengine.org/en/3.2/getting_started/workflow/export/exporting_for_android.html

Export to APK, then install to connected phone:

cd ./src
godot --export-debug "Android" bin/gravity.apk && adb install bin/gravity.apk

Thoughts

Touch controls

If this is implemented, I'll be able to setup pinch to zoom controls easily.

gravity-game's People

Contributors

harvzor 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.