Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (808)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (872)
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  
  Defend the caves  (Read 14846 times)
0 Members and 1 Guest are viewing this topic.
Offline Simn
« Posted 2016-06-30 19:44:23 »

A little prototype of a kind of roguelike defence game I've been working on. The idea is more or less a randomly generated cave system with a couple of points where enemies spawn. For the moment it's set to a fixed seed, so the map won't change, but the possibility is there. You can craft different items from what the enemies drop. The enemies spawn in a wave like fashion. The map can be altered by using the axe to mine stone.



Here's a little gif I posted a month or something ago showing the booby trap:
Click to Play


Playable demo

I was rather ambitious when I initially thought of this idea, and I don't really know where to take this prototype next. Any input would be appreciated Smiley

- Simn
Offline Hydroque

JGO Coder


Medals: 25
Exp: 5 years


I'm always inspiring a good time.


« Reply #1 - Posted 2016-06-30 21:15:11 »

The map can be altered by using the axe to mine stone.
Well first you could make a pickaxe to mine the stone  Pointing

I think the game looks neat with the shadow mechanics. Have you implemented any dynamic elements? You said there are spawn points which are fixed? I think your next step there would be to support 'dynamic spawns'

Crafting is a great way to go. Maybe you should focus on making a crap ton of elements and combinations to make this game into a huge farm resources to win. Build structures and stuff.

You think I haven't been monitoring the chat? http://pastebin.java-gaming.org/c47d35366491fHere is a compilation <3
Offline Simn
« Reply #2 - Posted 2016-06-30 21:29:41 »

Crafting is a great way to go.

I've got some ideas for some other traps and weapons one could craft, so that's certainly a way to go.

- Simn
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline VaTTeRGeR
« Reply #3 - Posted 2016-07-01 07:58:55 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
OpenGL context: 4.5.0 NVIDIA 347.88

[... Loot placement ...]

Exception in thread "LWJGL Application" java.lang.IllegalArgumentException: no u
niform with name 'u_tileSizeInWorldSpace' in shader
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.fetchUniformLocation(
ShaderProgram.java:305)
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.fetchUniformLocation(
ShaderProgram.java:295)
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.setUniformf(ShaderPro
gram.java:392)
        at io.github.simengangstad.defendthecaves.scene.LightShader.uploadUnifor
ms(LightShader.java:103)
        at io.github.simengangstad.defendthecaves.scene.Scene.tick(Scene.java:10
77)
        at io.github.simengangstad.defendthecaves.Game.render(Game.java:122)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic
ation.java:223)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:124)
Offline Simn
« Reply #4 - Posted 2016-07-01 14:25:22 »

The uniform is in the shader by that name, but I forgot to specify the GLSL version, so it should work now.

- Simn
Offline VIrtueeL
« Reply #5 - Posted 2016-09-16 04:28:54 »

the game does not run on windows 10?

i do devlogs and i do tutorials check em out
https://www.youtube.com/user/InidDevo
Offline gouessej
« Reply #6 - Posted 2016-09-16 08:59:49 »

Hi

the game does not run on windows 10?
I've just tested, it crashes under Microsoft Windows 10 when I click on "Play" with the Nvidia driver n°353.30, I have the same stack trace than VaTTeRGeR. By the way, Simn, please put everything into the JAR to avoid such exceptions when double-clicking on the JAR:
Quote
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: assets/spritesheet.png
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:148)
        at com.badlogic.gdx.graphics.TextureData$Factory.loadFromFile(TextureData.java:98)
        at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:100)
        at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:92)
        at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:88)
        at io.github.simengangstad.defendthecaves.Game.init(Game.java:86)
        at io.github.simengangstad.defendthecaves.Game.create(Game.java:74)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:147)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: assets\spritesheet.png (Internal)
        at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136)
        at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:222)
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:145)
        ... 8 more

VIrtueeL, maybe you could run the game in command line to confirm whether you have the same problem, "the game does not run" isn't very accurate, is it?

Julien Gouesse | Personal blog | Website | Jogamp
Offline Hydroque

JGO Coder


Medals: 25
Exp: 5 years


I'm always inspiring a good time.


« Reply #7 - Posted 2016-10-05 00:44:44 »

The problem is obviously a pathing issue.

You think I haven't been monitoring the chat? http://pastebin.java-gaming.org/c47d35366491fHere is a compilation <3
Offline ndnwarrior15
« Reply #8 - Posted 2016-10-16 22:55:58 »

Running Windows 7, couldn't get it to work.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
Exception in thread "LWJGL Application" java.lang.IllegalArgumentException: no u
niform with name 'u_tileSizeInWorldSpace' in shader
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.fetchUniformLocation(
ShaderProgram.java:305)
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.fetchUniformLocation(
ShaderProgram.java:295)
        at com.badlogic.gdx.graphics.glutils.ShaderProgram.setUniformf(ShaderPro
gram.java:392)
        at io.github.simengangstad.defendthecaves.scene.LightShader.uploadUnifor
ms(LightShader.java:103)
        at io.github.simengangstad.defendthecaves.scene.Scene.tick(Scene.java:10
77)
        at io.github.simengangstad.defendthecaves.Game.render(Game.java:122)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic
ation.java:223)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:124)
Pages: [1]
  ignore  |  Print  
 
 

 
mercenarius (4 views)
2020-06-04 19:26:01

mercenarius (2 views)
2020-06-04 19:13:43

Riven (850 views)
2019-09-04 15:33:17

hadezbladez (5834 views)
2018-11-16 13:46:03

hadezbladez (2635 views)
2018-11-16 13:41:33

hadezbladez (6251 views)
2018-11-16 13:35:35

hadezbladez (1504 views)
2018-11-16 13:32:03

EgonOlsen (4739 views)
2018-06-10 19:43:48

EgonOlsen (5797 views)
2018-06-10 19:43:44

EgonOlsen (3282 views)
2018-06-10 19:43:20
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08
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!