Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nogoth

Pages: [1]
1
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 13, 2016, 09:43:38 AM »
Hey,

kind of a catch 22 there. I requested a low version of OpenGL so as many people as possible can play it... however OSX seems to prevent the usage of a version that old even if the graphics card could handle it.
I think what I will do is request a newer version (3.3 Core Profile with forward compatibility). A lot of older hardware won't run it but I think the graphics cards > 2010 will have less problems with it.

I won't be online (holidays :)) for the next few days so here is a summary:

Get the game here or here if the first version does not work.

If you can run the game:

- Choose Start/Quit using Up/Down + Enter in the start screen.
- 12345 choose the formation, Q/E rotate it, Left click stabs in the direction the romans are facing (any direction, not just Up/Down/Left/Right).
- The romans have a shield in front of them that will stop the barbarians.
- Get new guys from cages or from another source ;)
- Find the golden eagle (some of your guys will surround it) and slay all barbarians to win.

If you can not:

- The working directory when running the game must be the 'bin' folder.
- Make sure you have Java 8 installed (most recent update is best) and that it is accessible from your console. It has to be in your path or the JAVA_HOME system variable must be set.
- Make sure your graphics driver supports at least OpenGL 3.1 and your operating system is not preventing apps from using it (OSX :( )
- See this post for how to get the console to stay open if you are on Windows.
- Good luck? Sorry...

As I said, after a bit of a 7DRL cooldown period I will work on ways to make the game more compatible with different OS/OpenGL versions.

2
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 09:16:38 PM »
I made some more gifs showing off the additions since the last ones. Barbarians, death and attack animations and the like. Also you can get new recruits by rescuing them from cages (and via another, secret way).




3
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 08:47:22 PM »
Schildkrötenformation is the german word for tortoise formation. Quite the beautifull example of german word craftsmanship.
For a more visual explanation of the tortoise formation refer to this.

4
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 07:59:20 PM »
You have to select things with Up/Down + Enter in the start screen. There should be a visual difference (around the words) between having Start/Quit selected. Or is it not responding at all akeley?

Tilded: Can you try starting the shellscript with the environment variable "JAVA_OPTS" set to "-XstartOnFirstThread"? Don't know how that error could come about, Engine.run() is called directly from the main() method. Might be that the jre on the Mac does something weird necessitating that JVM switch.

And thanks for trying Avagart..
I suppose LWJGL is a lot less robust than I thought.

5
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 06:10:54 PM »
That one I can solve I think: Your working directory when starting the game must be the bin folder. Sadly there is no good way to tell the JVM where the native libraries are other than passing a relative path to the directory.
Hope I am not misunderstanding your shell there but it looks to me like you started the game using an absolute path to the shellscript rather than by navigating to the bin directory and starting it with "./Schildkroetenformation".

6
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 04:50:38 PM »
Tested it on Windows 7, 64Bit with a 980Ti. Works great...
This is making debugging very frustrating ^^

7
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 02:46:19 PM »
This is getting better and better...

AgingMinotaur:
Your exception indicates that you do not have the required java version 8. I am using Windows to develop so I only tested the Oracle JRE 1.8.0_74.

Avagart:
Would you mind checking that your graphics driver supports OpenGL 3.1 using the OpenGL Extension Viewer?

I won't mind of course if this is to much trouble. Not your job to debug my program after all...

I might be able to get away with OpenGL 3.0, I will investigate.

8
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 01:08:49 PM »
Thank you. I got the same error (C1105: cannot call a non-function) from somebody else. This is an error thrown by the shader compiler which is part of the graphics driver. I don't think it is about the java version, the program would crash sooner and differently if you had a java version lower than 1.8. Also if your driver did not support OpenGL 3.1 (and thereby GLSL 1.40) there would be a different exception..

Code: [Select]
#version 140

in vec2 tex_coord;

out vec4 color;

uniform vec4 mulColor;
uniform sampler2D tex;

void main() {
    color = mulColor * texture(tex, tex_coord);
}

This is the offending shader. In line 11 only one function is called... "texture". Which is definitely a function according to the GLSL 1.4 Spec Page 83. The engine requests at least an OpenGL 3.1 context. Anyone with OpenGL experience here?

The old texture lookup function "texture2D" was deprecated in GLSL 1.4 in favor of the "texture" function. I'll upload a version using the deprecated function... maybe that works. Get it here.


9
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 12:05:49 PM »
Open the bin folder in the Windows Explorer, click the address bar (where it displays the current folder) at the top and type in "cmd" and press enter. A console window should open. In the console window type in "Schildkroetenformation", press enter again.
Now... the game should start. But appearently it doesn't want to ... so an error will appear :)

Alternatively you can open the Schildkroetenformation.bat file in a text editor like notpad and write "pause" in line 76 and before line 84.

Thanks :)

10
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 12, 2016, 11:20:14 AM »
 :'(

I think we are seing Murphys Law in action here. I have yet to find a computer outside of the room we developed the game in that will run it. It works fine on the 4 inside it...

It would be helpful to me if the people who can't run it post the console output that is produced when the game crashes.

It has something to do with the way different graphics drivers compile my shaders...
Hope I can get my hands on a computer where it is not working.

Until then I can only guess at whats actually wrong.

11
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 11, 2016, 09:51:54 PM »
It is done and it is quite playable!
Get the game here: https://www.dropbox.com/s/pxd803jgktc3dlg/Schildkroetenformation.zip?dl=0

I will add some gifs tomorrow.

12
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 09, 2016, 07:40:50 PM »
A bit more on formations:



The barbarians are also attacking now!
They do die when hit but they are not sufficiently deadly themselves yet ^^
We are working on it..

13
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 07, 2016, 10:45:54 PM »
We got a lot of work done!
World generation is much improved, formation movement is sort of working and there is a gif!



Mouse position relative to the units controls their orientation, the mouse wheel controls the size of the formation. We plan on implementing different formations (box, line, arrow, circle) which should be useful in different situations.

'Story' is: A group of romans follow an eagle which they believe is the incarnation of their golden eagle. They are attacked by barbarians along the way. If they manage to find the actual golden eagle they have to carry it back and protect it from being stolen.

14
7DRLs / Re: Schildkrötenformation [7DRL 2016]
« on: March 05, 2016, 06:53:38 PM »
A sample of our tileset and unit sprites!



Also some animations:



We mainly worked on creating art and wrangling OpenGL today. Tomorrow we will do some world generation and formation movement.

15
7DRLs / Schildkrötenformation [7DRL 2016]
« on: March 05, 2016, 12:13:30 PM »
Hi!

We are making a game about an ever changing formation of roman soldiers battling hordes of barbarians to retrieve the golden eagle of Rome. At least thats the idea. More info to come.

Status: In Progress!

Pages: [1]