Author Topic: Schildkrötenformation [7DRL 2016]  (Read 25563 times)

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
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!
« Last Edit: March 05, 2016, 06:20:22 PM by Nogoth »

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #1 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.

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #2 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.

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #3 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..

Avagart

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 567
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #4 on: March 09, 2016, 07:49:18 PM »
I still think that you take quite hard task to accomplish in 7 days, but I'm very curious this game. Looks promising, good luck!

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #5 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.

akeley

  • Rogueliker
  • ***
  • Posts: 348
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #6 on: March 12, 2016, 10:23:58 AM »
Crashes right at the start on Win 8.1 x64...

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #7 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.
« Last Edit: March 12, 2016, 11:44:17 AM by Nogoth »

akeley

  • Rogueliker
  • ***
  • Posts: 348
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #8 on: March 12, 2016, 11:38:22 AM »
Wanted to post but it just flashes in a nanosecond and disappears. I`m console illiterate so if you could tell me how to get to this error message...

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #9 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 :)

akeley

  • Rogueliker
  • ***
  • Posts: 348
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #10 on: March 12, 2016, 12:16:18 PM »


Sorry bout that lame quality, bit in a rush here. Hope you can read it anyway

Avagart

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 567
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #11 on: March 12, 2016, 12:56:39 PM »
Same here. It may occurs due to Java version on our computers?
« Last Edit: March 12, 2016, 12:58:35 PM by Avagart »

Nogoth

  • Newcomer
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #12 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.


Avagart

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 567
  • Karma: +0/-0
    • View Profile
Re: Schildkrötenformation [7DRL 2016]
« Reply #13 on: March 12, 2016, 01:56:52 PM »
Still doesn't work for me.


AgingMinotaur

  • Rogueliker
  • ***
  • Posts: 805
  • Karma: +2/-0
  • Original Discriminating Buffalo Man
    • View Profile
    • Land of Strangers
Re: Schildkrötenformation [7DRL 2016]
« Reply #14 on: March 12, 2016, 02:27:18 PM »
Linux, Debian testing:

Code: [Select]
simen@garuda:~/data/spill/Schildkroetenformation/bin$ ls
config.properties  Schildkroetenformation  Schildkroetenformation.bat
simen@garuda:~/data/spill/Schildkroetenformation/bin$ ./Schildkroetenformation
Exception in thread "main" java.lang.UnsupportedClassVersionError: schildkroetenformation/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
simen@garuda:~/data/spill/Schildkroetenformation/bin$

As always,
Minotauros
This matir, as laborintus, Dedalus hous, hath many halkes and hurnes ... wyndynges and wrynkelynges.