Git Product home page Git Product logo

waves's Introduction

waves

This is just some JRuby(jruby.org/) and jMonkeyEngine(jmonkeyengine.org/) fun. Currently these are all samples from the jMonkeyEngine Hello tutorials re-written in JRuby. There are a few small modifications.

Installation

install jruby-head
git clone git://github.com/jwoertink/Waves.git
cd Waves

You should be good at this point.

Running Waves

The main application can be run by

jruby bin/waves

You can view other samples by passing the sample number as an argument

jruby bin/waves 8

Normal camera operations use W A S D to move. To exit just hit esc. Some examples use space bar, or J and K keys. Read sample file in lib/samples for more info.

Requirements

OSX 10.8.0+ / Windows 7+
A decent graphics card
JRuby 1.7+

jMonkeyEngine

hub.jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_simpleapplication

Other Notes

The Nifty-gui must be implemented in Java (for now) to work. This requires taking the lib/samples/nifty/StartScreenController.java and compiling it into the package/classes/java/StartScreenController.class file. If this file is missing, then to compile, run

javac -classpath vendor/jme3_2014-3-31.jar  lib/samples/nifty/StartScreenController.java
mv lib/samples/nifty/StartScreenController.class package/classes/java

Current (known) Issues

  • Not tested in any other OS

  • Nifty/JRuby example (sample 13a) throws nasty exception

  • Rag-doll sample loads, but isn’t useable

  • Sample 16 isn’t working

  • Sample 17 is missing some stuff

Contributing to waves

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2014 Jeremy Woertink. See LICENSE.txt for further details.

waves's People

Contributors

jwoertink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

illtellyoulater

waves's Issues

cannot load Java class

I cloned your repo but when I launch jruby bin\waves I get:

cannot load Java class com.jme3.app.SimpleApplication

jruby 1.7.6 (1.9.3p392) 2013-10-22 6004147 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_51-b13 [Windows 7-amd64]

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.