GithubHelp home page GithubHelp logo

murph9 / rallygame Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 4.0 52.1 MB

Simple 3d rally game, because 3d is a good place to start.

Java 98.99% GLSL 0.74% Python 0.13% PowerShell 0.15%
jmonkeyengine3 java 3d-rally game car

rallygame's Introduction

RallyGame

  • Requires Java 8 or better and a non potato computer

A simple 3D rally like game in Java. Can be played on my webpage at https://www.murph9.com/mygames

Currently still very much in testing, you can drive around in many different car types. From normal cars, a 4x4, a track car, an impossible hyper-super-car and the infamous White Beast.

The world can be selected from a prebuilt selection of pre made worlds. Or you could be adventurous and pick the dynamic world type and have a selection of tracks generated in front of you.


The duel or surivial project is mean to be the real game that comes out of this.


Build steps

Java 8 and blender to compile the project, see gradle file to set the blender install location

Blender is required to generate the *.gltf files which are in the source as *.blend

The commands you need:

  • ./gradlew build
  • ./gradlew run
  • ./gradlew runDuel
  • ./gradlew runSurvival

Debugging notes

.blend files and the gradle convertAllBlendFiles task and using vscode: As of 2020-03-17 it doesn't run the gradle build/run calls when you run the application So after you have generated the assets.jar you will need to 'force java compilation' -> full so it picks up the new files

my testing on ubuntu with blender required me to run this command to get the blender commandline to work:

python3 -m pip install numpy


Surivival 'deployment'

Deploying a launch4j exe to s3 is done by running the launch4j.createExe task.

You must make sure the folder contains a valid java 11 or greater JRE. There is a task called copyjre which does this as an example.

Then running these command to upload it (in Powershell):

project> $ProgressPreference = 'SilentlyContinue'
project> Compress-Archive -Path "build\launch4j\*" -DestinationPath "build\launch4j\survival.zip" -Force
project> aws s3 cp "build\launch4j\survival.zip" "s3://cdn.murph9.com/mygames/survival.zip"

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.