Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  MECH VS Zombies!  (Read 4415 times)
0 Members and 1 Guest are viewing this topic.
Offline CyanPrime
« Posted 2012-06-17 08:33:13 »

I've made a game to show off what my engine is capable of doing. IT includes loading, and animating ms3d models, loading obj models for levels, full 3d gameplay, bloom, and of course: MECHS AND ZOMBIES!




-Check out the -
[size=15pt]download[0.6][/size]
Offline ra4king

JGO Kernel


Medals: 342
Projects: 2
Exp: 5 years


I'm the King!


« Reply #1 - Posted 2012-06-17 08:48:01 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
ERROR: 0:1: '' :  Version number not supported by GL2


create screen frag shader
Info log:
No errors.

attach frag screen shader
attach vert screen shader
link screen shader
validate screen shader
print screen shader
Info screenProg log:

enter loop
Exception in thread "main" org.lwjgl.opengl.OpenGLException: Invalid operation (
1282)
        at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
        at org.lwjgl.opengl.GL20.glUseProgram(GL20.java:311)
        at cypri.games.neroedge.NeroEdge.renderGL(NeroEdge.java:873)
        at cypri.games.neroedge.NeroEdge.run(NeroEdge.java:178)
        at cypri.games.neroedge.NeroEdge.main(NeroEdge.java:1562)

Crashes to desktop. Is it just my crappy laptop? I know it supports all OpenGL 2.0 functions :S

Offline CyanPrime
« Reply #2 - Posted 2012-06-17 08:49:41 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
ERROR: 0:1: '' :  Version number not supported by GL2


create screen frag shader
Info log:
No errors.

attach frag screen shader
attach vert screen shader
link screen shader
validate screen shader
print screen shader
Info screenProg log:

enter loop
Exception in thread "main" org.lwjgl.opengl.OpenGLException: Invalid operation (
1282)
        at org.lwjgl.opengl.Util.checkGLError(Util.java:59)
        at org.lwjgl.opengl.GL20.glUseProgram(GL20.java:311)
        at cypri.games.neroedge.NeroEdge.renderGL(NeroEdge.java:873)
        at cypri.games.neroedge.NeroEdge.run(NeroEdge.java:178)
        at cypri.games.neroedge.NeroEdge.main(NeroEdge.java:1562)

Crashes to desktop. Is it just my crappy laptop? I know it supports all OpenGL 2.0 functions :S

Try running it without bloom. go into the config.cfg file and turn screen shader to 0. Also try changing full screen if the screen shader doesn't work.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 342
Projects: 2
Exp: 5 years


I'm the King!


« Reply #3 - Posted 2012-06-17 08:59:42 »

No error this time, but the screen remains black, windowed and fullscreen. I do hear the audio though.

UPDATE: I ran it again in windowed mode, I do see the opening graphics. Then I hit space, hear the audio, see the world with the two guns, then instant JVM crash with the same error as below. Conclusion: my system is utterly and thoroughly crappy. Smiley

Also, I ran it again without your changes, and this time the JVM crashed with an error relating to the Intel OpenGL driver so yup, shaders seem broken on my machine Sad

Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #4 - Posted 2012-06-17 09:54:41 »

Could you either please include Linux natives, or say me which lwjgl version you use? UnsatisfiedLinkError for me, when I put 2.8.3 natives in.

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline CyanPrime
« Reply #5 - Posted 2012-06-17 15:45:52 »

Could you either please include Linux natives, or say me which lwjgl version you use? UnsatisfiedLinkError for me, when I put 2.8.3 natives in.
Sorry about that, added in the natives for other OSes. Download link is the same.
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #6 - Posted 2012-06-17 15:53:20 »

Very strange...
This is how my directory looks like:

This is what it prints:


EDIT: Linux 64 bit here. LWJGL 2.8.3 works perfectly, I have never tested 2.8.4

EDIT2: Lol, Fun green "Loading..." bar at the top, I have never seen before Cheesy

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline CyanPrime
« Reply #7 - Posted 2012-06-17 15:57:18 »

Very strange...
This is how my directory looks like:

This is what it prints:


EDIT: Linux 64 bit here. LWJGL 2.8.3 works perfectly, I have never tested 2.8.4

EDIT2: Lol, Fun green "Loading..." bar at the top, I have never seen before Cheesy

You need to put
1  
-Djava.library.path=./natives/linux/
before -jar
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #8 - Posted 2012-06-17 15:58:52 »

I DID try that, but then I tried it with just copying the natives into the directory the Jar is, and it didn't work either.
(Look at my picture from the directory, the natives are there, and they are from native/linux)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline CyanPrime
« Reply #9 - Posted 2012-06-17 16:01:49 »

I DID try that, but then I tried it with just copying the natives into the directory the Jar is, and it didn't work either.
(Look at my picture from the directory, the natives are there, and they are from native/linux)
Did you put
1  
-Djava.library.path=.
before -jar after you copy/pasted the natives into the main folder?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #10 - Posted 2012-06-17 16:08:24 »

 Cranky No, to sum it up:

First I tried it with -Djava.library.path=./natives/linux/, which did not work. Then I copyed the natives into the directory, where the jar is, without writing -Djava... etc., which did not work too. Then I made both screens with the last runs, and wrote the post.

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #11 - Posted 2012-06-17 19:07:51 »

You should have an icon for mech vs zombies (like on the toolbar, for Windows).
Cool game. You should add obstacles and terrain and stuff. Why are the guns yellow?
Offline CyanPrime
« Reply #12 - Posted 2012-06-17 22:34:25 »

Fixed the huge memory leak that mad the game unplayable after a little bit.
Offline JESTERRRRRR

Senior Member


Medals: 7
Exp: 1 year



« Reply #13 - Posted 2012-06-18 05:08:07 »

Works fine no probs for me looking good Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!