Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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  
  MineFlat (Terraria Port)  (Read 3510 times)
0 Members and 1 Guest are viewing this topic.
Offline mproncace

Senior Newbie


Medals: 1



« Posted 2013-07-28 15:47:14 »



I few months ago, I decided I'd try my hand at LWJGL. I started with a 3D game, and quickly found that I was in far over my head. Shortly after my failed attempt at a game, I decided to create a port of Terraria called MineFlat. It's not even close to a playable game yet, but I'd just like to get a bit of feedback on what I've done so far. I've created a terrain generator, a basic player physics system, and a lighting system (most of these systems are completely broken on the negative side of the x-axis; this is the reason for the wooden wall at x=1). Like I said, it's not much, but I'd just like to know what I should improve.
Link to the launcher is here, link to the game's Jenkins task is here, and link to the game's source is here.
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2013-07-28 15:50:17 »

Can we get a screenshot before we start clicking links Smiley

Kev

Offline mproncace

Senior Newbie


Medals: 1



« Reply #2 - Posted 2013-07-28 15:51:15 »

Sorry, I was actually just trying to figure out how to upload one when you posted that. (Can you tell I'm new to the site?)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jonjava
« Reply #3 - Posted 2013-07-28 15:51:49 »

Is it me or is that website really slow? I've been timing out on it for a good couple of minutes now getting 503'd in the end.

Offline drabla

Junior Devvie


Medals: 5



« Reply #4 - Posted 2013-07-28 16:02:34 »

Hiho,

when i fall off the map and hit the bottom  pressing the 'space'-Key will just close the game Smiley

There is also a graphical glitch in the middle (horizontal line) of the screen.

So far so good i guess Smiley
Offline jonjava
« Reply #5 - Posted 2013-07-28 17:24:54 »

Ok, so a screen shows up:



and when I press play it supposedly downloads LWJGL and Slick but afterwards it just closes and nothing happens.

Opening the launcher again and pressing play simply closes the game. ;V

Got no errors, simply game closes - have java 1.7.0_25

Offline mproncace

Senior Newbie


Medals: 1



« Reply #6 - Posted 2013-07-28 18:26:29 »

I had that issue a bit ago, and someone on SO told me to get 7u17. I did, but it still worked after switching back to 7u25. I've found that it only does this when you open the launcher through Windows Explorer (or the OSX/Linux equivalent), and it starts fine when the launcher is opened via command or shortcut.
Offline mproncace

Senior Newbie


Medals: 1



« Reply #7 - Posted 2013-07-28 18:27:33 »

I'm running my site on a computer in my basement, so it tends to be a bit unresponsive at times. Jenkins uses a reverse proxy, and so that can sometimes cause it to hang. If it doesn't load, try amigocraft.net:8080.
Offline Sammidysam
« Reply #8 - Posted 2013-07-28 18:27:33 »

Then it sounds like it has the wrong working directory when not launched from the command line, and cannot find the executable or something.
Offline mproncace

Senior Newbie


Medals: 1



« Reply #9 - Posted 2013-07-28 18:29:58 »

Ehm... I'm not quite sure what you mean by that. The funny thing is, only the last couple of builds have caused the launcher to do this. If you drop an earlier build into the data folder, it works absolutely fine.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Sammidysam
« Reply #10 - Posted 2013-07-28 18:38:08 »

Yeah it confuses me that it would work in the command line if it is just run with java -jar *.jar.  (*=name of JAR).  It sounds like the shortcut has the right working directory but not the actual launcher JAR.  Do you have the launcher code on BitBucket as well?  I can take a look into that.  Also, can you please not use "user.dir" for the directory next to the JAR?  Use this instead (I believe HeroesGraveDev came up with this):

1  
new File(Main.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath()).getParent()


Then I can try out your game.  Putting non-hidden stuff in my home directory is not allowed.  Grin
Offline mproncace

Senior Newbie


Medals: 1



« Reply #11 - Posted 2013-07-28 18:46:28 »

Alright, I just pushed a new commit adding that code, so Jenkins should be building it right about now. As for the launcher code, you basically just need to add "-launcher" to the end of the game's repo.
Offline matheus23

JGO Kernel


Medals: 114
Projects: 3


You think about my Avatar right now!


« Reply #12 - Posted 2013-07-31 08:42:06 »

Eh... I downloaded the launcher and started it, but I get a un-resizable window, which looks like this:


Cheesy

Still, I'm interested in this project Smiley

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

Senior Newbie


Medals: 1



« Reply #13 - Posted 2013-07-31 08:49:45 »

Well, um, that's certainly new. Would I be correct in assuming from the screenshot that you're running Linux? If so, try downloading the second-newest build. The latest one includes an untested (I've only got a PC Tongue) change involving only Linux.
Offline matheus23

JGO Kernel


Medals: 114
Projects: 3


You think about my Avatar right now!


« Reply #14 - Posted 2013-07-31 09:14:44 »

Well, um, that's certainly new. Would I be correct in assuming from the screenshot that you're running Linux? If so, try downloading the second-newest build. The latest one includes an untested (I've only got a PC Tongue) change involving only Linux.

Yep, I'm on Archlinux here.

But I get that problem with the launcher, not with the game itself  Clueless

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

Senior Newbie


Medals: 1



« Reply #15 - Posted 2013-07-31 09:22:26 »

The latest build of the launcher, not the game, includes the change for Linux. Just grab a different build and it should work.
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.

Mr.CodeIt (10 views)
2014-12-23 03:34:11

rwatson462 (38 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!