Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (776)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
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  
  Elevox [a0.7_1] - Early Demo  (Read 13013 times)
0 Members and 1 Guest are viewing this topic.
Offline Amryu
« Posted 2015-09-08 19:21:08 »

Hello this is my game Elevox.

It's at the moment somewhat playable but updates for real gameplay will come soon. Watch my WIP Thread for more infos.



Download "Elevox Launcher" (Dropbox)

WIP Thread (contains DevLog)




Notes:

- Use Java 8 (music can't be played without it)
- If game doesn't start up in about 10-20 seconds: terminate, delete "/worlds" and try again


EDIT: Wow this topic isn't even a day old (14 hours) and I already got 400+ views and a medal Cheesy Thank you so much!

Offline Archive
« Reply #1 - Posted 2015-09-08 23:47:25 »

Hey what did you use to rename all the variables in your java classes to the letters of the alphabet?

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 167
Projects: 5
Exp: 6 years



« Reply #2 - Posted 2015-09-09 00:08:47 »

Hey what did you use to rename all the variables in your java classes to the letters of the alphabet?
I didn't look at the source myself, but it's probably obfuscation.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Archive
« Reply #3 - Posted 2015-09-09 00:10:48 »

Hey what did you use to rename all the variables in your java classes to the letters of the alphabet?
I didn't look at the source myself, but it's probably obfuscation.
Yeah but im curious to know what software he used to do it for him because I do mine manually and it takes FOREVER

Offline CommanderKeith
« Reply #4 - Posted 2015-09-09 00:56:34 »

It's beautiful scenery, worked on my windows 7 computer fine.
But the controls are frustrating, it is too hard to hit the slime monsters. I had to walk away from them then back toward them so that I was facing them when I whacked them with the hammer. Otherwise it was too hard to aim the hammer at them.
I think a typical FPS view would be better where the mouse controls where the player faces.
Good job overall, the menus worked well and the game didn't freeze.

Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #5 - Posted 2015-09-09 00:58:20 »

@Archive ProGuard
Offline Archive
« Reply #6 - Posted 2015-09-09 02:07:13 »

@Archive ProGuard
Thank you!

Offline Amryu
« Reply #7 - Posted 2015-09-09 05:09:06 »

Hello and thank you for your positive feedback.

Yes I used ProGuard, since I worked a long time on it and don't
want someone to just snatch the code. If you want to know how
I did something you can ask me of course.

I already stated in my WIP Thread that I will overhaul the fighting
system (with some better animations). I will maybe try to tweak the
way you walk in a circle when turning around. I can't make the
character follow the mouse directly since he is supposed to need time
for it, what wouldn't be nice if you can't look around properly because
of this.

It would be nice if you could tell me what render distance you can use
with your systems (CPU, GPU, RAM).

Greetings
Amryu

Offline hwinwuzhere
« Reply #8 - Posted 2015-09-09 12:35:25 »

This game really reminds me of Cubeworld. I had a really good time playing that game.
I didn't play it for long, but I did enjoy it so far Smiley

There are two kinds of people in this world: Those who can extrapolate from incomplete data,
Offline Amryu
« Reply #9 - Posted 2015-09-09 12:41:46 »

Well originally I got the same idea as Cube World. Shortly after I had this
idea i discovered Cube World and thought "Wow. That's what I searched for."

But now Cube World stopped and I felt like I could finally do this game. The
only idea that I took from Cube World was, that the blocks don't need textures.

I'll try to make it unique to Cube World though. My ideas were not far from
Cube World but not the same.

If you like the project, I would appreciate it if you could tell me problems,
make suggestions and tell me how well the game runs on your PC (along
with your PC Data like CPU, GPU and RAM). That will really help me.

Thank you for playing Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Drenius
« Reply #10 - Posted 2015-09-09 15:03:19 »

1  
2  
3  
4  
5  
6  
Exception in thread "main" java.lang.IllegalStateException: This function is not available.
        at org.lwjgl.system.Checks.checkFunctionAddress(Checks.java:66)
        at org.lwjgl.opengl.GL11.glMatrixMode(GL11.java:6543)
        at main.Elevox.c(Unknown Source)
        at main.Elevox.<init>(Unknown Source)
        at main.Elevox.main(Unknown Source)

Interesting...
Offline Amryu
« Reply #11 - Posted 2015-09-09 16:54:54 »

1  
2  
3  
4  
5  
6  
Exception in thread "main" java.lang.IllegalStateException: This function is not available.
        at org.lwjgl.system.Checks.checkFunctionAddress(Checks.java:66)
        at org.lwjgl.opengl.GL11.glMatrixMode(GL11.java:6543)
        at main.Elevox.c(Unknown Source)
        at main.Elevox.<init>(Unknown Source)
        at main.Elevox.main(Unknown Source)

Interesting...

Can you give further information?

- Java version
- can your repeat it if you want to
- when exactly does it happen

Thank you

And what exactly did you mean by "Interesting..."?

Offline Drenius
« Reply #12 - Posted 2015-09-09 17:18:43 »

Right.  Smiley
Running it with Java 7 or 8 makes no difference.
A white window opens, stays open for a split second and then crashes giving this error.
That's about it.
"Interesting" was just about that it sounds like the rather basic GL11 function glMatrixMode is not supported in general, which shouldn't be the case. No idea what we have here...
Offline Amryu
« Reply #13 - Posted 2015-09-09 17:49:55 »

That's odd. Is your PC older? What GPU do you have? The problem is
the error doesnt even give a line. I'll try to look into it.

Greetings

EDIT: I guess I can't do much about it since it is an internal GL error.
The intialization of OpenGL fails when I switch to projection and/or
modelview matrix.

Offline SHC
« Reply #14 - Posted 2015-09-10 15:02:24 »

That error sounds like a limited GL support, what are the requirements of this game? I'm pretty sure Dre's pc supports GL3.2 but not up.

Offline Amryu
« Reply #15 - Posted 2015-09-10 16:57:11 »

That error sounds like a limited GL support, what are the requirements of this game? I'm pretty sure Dre's pc supports GL3.2 but not up.

The error is in this code:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
      glViewport(0, 0, width, height); // Reset The Current Viewport
      glMatrixMode(GL_PROJECTION);
      glLoadIdentity();
      org.lwjgl.util.glu.Project.gluPerspective(45.0f, ((float) width / (float) height), 0.1f, 2000.0f); // Calculate The Aspect Ratio Of The Window
     
      glMatrixMode(GL_MODELVIEW);
      glLoadIdentity();
     
      glClearColor(0.0f, 0.0f, 0.0f, 1.0f); // Black Background
      glClearDepth(1.0f); // Depth Buffer Setup
      glEnable(GL_DEPTH_TEST); // Enables Depth Testing
      glDepthFunc(GL_LEQUAL); // The Type Of Depth Test To Do
      glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); // Really Nice Perspective Calculations
      glEnable(GL_CULL_FACE);
      glEnable(GL_LINE_SMOOTH);


or maybe deeper inside OpenGL.

Only GL11 is used here so I don't know :/

Offline SHC
« Reply #16 - Posted 2015-09-10 17:28:53 »

I'm thinking what that gluPerspective method did, you should be calling GLU.gluPerspective right? It might be helpful if you said at which glMatrixMode call the exception occurred, there are two in the same method.

Offline Amryu
« Reply #17 - Posted 2015-09-10 18:29:00 »

I changed a function in lwjgl util to becompatible with LWJGL 3. I only changed it because
the function glMultMatrix was changed to glMultMatrixf. But it worked for any of my friends
so far so i don't think that's the problem. It says IllegalStateException... I can't say why Sad

I looked up the source and it could be that a flag named forwardCompatibility is set.

EDIT: It seems you got a context of GL 4. In this version matrix operations are deprecated
and more or less removed. I think I can just alter the flag I mentioned above to be compatible
again. It would be nice if we could find a way to communicate better so I can fix the error with
you. I still cant understand why they do want to make everything harder by forcing people to use
shaders but ok...

EDIT: I managed to reproduce the error now. I gave GLFW the hint to work in compatibility mode,
but if your system supports this is another question. But I think it's supported for sure, since alot
programs wouldn't work anymore otherwise. For some reason your PC is the only one who set this
flag to true. Please download the next version, which I'll upload soon to see if this fix worked for you.

Offline Ivan Vinski

Senior Devvie


Medals: 5
Projects: 1
Exp: 3 years


Learning how to place those pixels nicely.


« Reply #18 - Posted 2015-09-25 07:58:32 »

I tried running the game but it throws me errors. Is this due to me being a Linux user?
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
[LWJGL] GLFW_VERSION_UNAVAILABLE error
   Description : GLX: Failed to create context: GLXBadFBConfig
   Stacktrace  :
      org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1022)
      main.Elevox.c(Unknown Source)
      main.Elevox.<init>(Unknown Source)
      main.Elevox.main(Unknown Source)
Exception in thread "main" java.lang.RuntimeException: Failed to create the GLFW window
   at main.Elevox.c(Unknown Source)
   at main.Elevox.<init>(Unknown Source)
   at main.Elevox.main(Unknown Source)

Offline Amryu
« Reply #19 - Posted 2015-09-25 14:31:22 »

This is, because your graphic card and/or graphic card driver doesn't support
"OpenGL 3.2". Try upgrading it, or wait for the next version, where this will be
fixed, so you can use this with earlier versions of OpenGL.

If you don't have a graphic card, you'll have to wait for the next update.

Greetings

Offline Amryu
« Reply #20 - Posted 2015-09-30 13:08:30 »

Hi there!

The update takes longer than planned, but I could create a simple launcher
for my game, which I'll use to see how many people are playing my game,
and distributing my game better.

I can also provide news, so I will probably do it in the launcher from now
on. The launcher can't update itself, so you'll have to return here if I tell
you to grab an updated launcher.

Hope you like it!

Greetings

Pages: [1]
  ignore  |  Print  
 
 

 
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!