Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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  
  Ben's Burrows  (Read 2325 times)
0 Members and 1 Guest are viewing this topic.
Offline bensmith87

Senior Newbie


Projects: 1



« Posted 2013-07-02 04:46:15 »

Hi All,

I started writing this game about a year ago to brush up on my Java skills in preparation of a job interview, I got the job, and feel I've also made a good start on a game with potential.

The game could be best described as a superficial Dwarf Fortress clone with multiplayer.
The final goal is to have a world with hundreds of regions, a player can build a fort on any of these regions and visit, trade and siege each other.
Currently the multiplayer is only for one region, but seems to work quite well with minimal network traffic.

All the art is stolen (Minecraft, Phoebus, Ironhand) and only placeholder, and I'm considering completely changing the theme of the whole game.

I've currently got it under a 3 clause BSD license and the source can be viewed at https://github.com/bensmith87/yadf
Feel free to fork it and do what you want, although some form of credit would be great.

There is a webstart available at http://bensmith87.byethost11.com/ which I think is stable.



I would love to get feedback on the code, the game play and any bugs/issues.
Also, if anyone wants to help with the pixel art I would appreciate it.
Offline pixelapp

Junior Member




Pixelapp


« Reply #1 - Posted 2013-07-02 04:49:47 »

mmm, hotlinking. Sounds delicious.  Roll Eyes

Cloud games and fun.
Offline bensmith87

Senior Newbie


Projects: 1



« Reply #2 - Posted 2013-07-02 04:52:10 »

Haha, I'll get that fixed.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline seismic

Senior Member


Medals: 4
Projects: 1



« Reply #3 - Posted 2013-07-02 05:43:00 »

wow wtf
we (friend of mine and I) are basically doing the same thing currently Shocked

we have multiplayer up and running too
even our code structure doesn't look all that different lol

sorry didn't mean to hijack your thread but here's a screenshot of our 'game'


or an earlier 'trailer' Cheesy
http://www.youtube.com/watch?v=GE-fgWVwKYc

again I didn't mean to hijack your thread but wow that is something Shocked
Offline bensmith87

Senior Newbie


Projects: 1



« Reply #4 - Posted 2013-07-02 05:57:48 »

Very cool, yours looks heaps smoother, are you using any libraries? Mine is still all in pure Swing Smiley
Offline HeroesGraveDev

JGO Kernel


Medals: 260
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #5 - Posted 2013-07-02 05:59:55 »

Very cool, yours looks heaps smoother, are you using any libraries? Mine is still all in pure Swing Smiley

He's definitely using LWJGL.
Knowing how most members of this forum are, he'll probably be using LibGDX on top of that. Wink

Offline seismic

Senior Member


Medals: 4
Projects: 1



« Reply #6 - Posted 2013-07-02 06:09:17 »

That is correct Smiley
Offline seismic

Senior Member


Medals: 4
Projects: 1



« Reply #7 - Posted 2013-07-02 06:25:56 »

After a little bit of examining your code I've come to the conclusion that, while our game looks smoother, your code looks smoother lol Cheesy

Multiplayer for this kind of game is a pain in the ass, am I right? Cheesy

Just a question, because I don't know my way around your code, do you update the dwarves like at a fixed tickrate on the clients, or do you update them when a new job comes around. We've chosen the second method and are pretty happy with that. (The server calculates the path for them and just sends the path to the dwarf/human).
Offline bensmith87

Senior Newbie


Projects: 1



« Reply #8 - Posted 2013-07-02 06:37:22 »

Yeah, multiplayer is a real pain, I've got the simulation 100% deterministic (I hope) so I just send commands over the network and hope all the clients stay synced.

I update the movement of the dwarves each simulation step, but all of the jobs and stuff are only updated when something changes, so I have lots of listeners listening to everything. It works quite efficiently, but was hard to get elegant, and I'm still battling to remove some circular dependencies.
Offline pixelapp

Junior Member




Pixelapp


« Reply #9 - Posted 2013-07-02 07:52:14 »

Hey! Look everybody, we have twinsies! Wink

Cloud games and fun.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mrdeathjockey

Senior Member


Medals: 5
Projects: 1
Exp: 3 years


Trying to be a good programmer, step by step


« Reply #10 - Posted 2013-07-02 09:57:38 »

First of all, finally there's a game that works with Java 7.

I quite like the idea, but I don't think using swing is a good approach. After all, those swing components are really meant for an actual application and using them with in-game graphics doesn't look too good. I really loved the idea and concept, but the GUI looks quite confusing with the tabs and pop-ups.

Perhaps if you could merge it into some sort of single tabbed on-screen custom UI? Have a gold indicator and stock indicator on-screen with in-game graphics. If you know what I mean.

Offline bensmith87

Senior Newbie


Projects: 1



« Reply #11 - Posted 2013-07-02 10:09:43 »

Swing was just the easiest solution for me, but there is nothing tieing the simulation to the interface so it could be easily replaced with anything else.
Offline Drenius
« Reply #12 - Posted 2013-07-04 19:53:13 »

I dont really get what to do in this game...
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.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (44 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (62 views)
2014-09-21 02:42:18

BurntPizza (32 views)
2014-09-21 01:30:30

moogie (39 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59: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!