Comments (2)
I have started on this in a local branch (I might push it later, but it is certainly not ready to merge).
Gradle easily handles creating the fat jar easily (thanks to a plugin).
I am having trouble with extracting the natives though. I'm sure I managed this before, but for some reason I can't make it work correctly now.
Problem: Java can't seem to find the AppGameContainer class, even though it's included in the jar.
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.newdawn.slick.AppGameContainer
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at io.github.nelsoncrosby.gprg.GPRGame.<init>(GPRGame.groovy:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:194)
at io.github.nelsoncrosby.gprg.GPRGame.startGame(GPRGame.groovy:200)
at io.github.nelsoncrosby.gprg.GPRGame.main(GPRGame.groovy:183)
from graphpaperracegame.
All working now (d8bc39b)
from graphpaperracegame.
Related Issues (20)
- Problem with current .track format HOT 1
- Change number of players in local multiplayer HOT 1
- More clear indication of what player is currently active HOT 3
- Better display of what options are available for the current turn HOT 1
- Get winning working on multiplayer HOT 1
- Decide on GUI system HOT 3
- Prepare code-base for GUI and create basic main menu
- Add a UI overlay onto the game
- Customizable options
- Dynamically loading tracks from file system
- generateTrackFile script moved to inside the game
- Menu for selecting track files
- Interpolate track edges for smoothness HOT 2
- Camera zoom HOT 1
- Switch to a different 2d framework HOT 4
- Camera snaps to player on start of turn HOT 1
- Port render and update code
- Port input code
- Port state system
- Fix framework imports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphpaperracegame.