Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (529)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 11
  ignore  |  Print  
  State of Fortune  (Read 44657 times)
0 Members and 2 Guests are viewing this topic.
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Posted 2013-01-19 20:11:30 »

The latest video:
<a href="http://www.youtube.com/v/hMsi3VTFXsg?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/hMsi3VTFXsg?version=3&amp;hl=en_US&amp;start=</a>

Recent screenshots:

















A link to the game: http://stateoffortune.com

I wasn't sure where to post this as I don't know if it will become a game or if it was just me playing around to learn more about openGL. Eventually I saw that the name of this forum wasn't only WIP games but also toy projects, so this seemed like the right place. Smiley

I took a break from State of Profit during some personal things but last 2-3 weeks I have spent a few hours on a little project that might become a part of State of Profit or something separate or nothing at all.

Here are a couple of screenshots. The world is randomly generated with day/night cycles, okay looking water (screenshots don't do it justice though which is why it doesn't look that good below) and LOD terrain (the closer one gets, the more detailed the height differences get).

The only thing one can do at the moment is walk, run, jump and click on land to raise/lower it. I will put up an applet if I get around to add some actual content.

Any fun idea what kind of game to make it into? I was thinking some kind of shooter but there are already lots of shooters out there. On the other hand, a first person farming game might not be very exciting... Wink
It shares a bit of code with State of Profit so it would be quite easy to make it stream land from a server and make it into a multi player game, but just running around and jumping together isn't that exciting.





Mike
A short video:
<a href="http://www.youtube.com/v/bpm4IEvFUho?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/bpm4IEvFUho?version=3&amp;hl=en_US&amp;start=</a>

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ClickerMonkey

JGO Coder


Medals: 20


Game Engineer


« Reply #1 - Posted 2013-01-19 20:29:43 »

Pretty awesome! An applet would be spectacular, I want to see this pretty thing in action!

Offline doos

Senior Member


Medals: 2
Projects: 2


Here be random


« Reply #2 - Posted 2013-01-19 20:37:00 »

Although farming might not seem that popular, harvest moon had some hardcore fans! How big a world can it handle? I wouldnt mind a play myself!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Kernel


Medals: 238
Projects: 11
Exp: 2 years


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


« Reply #3 - Posted 2013-01-19 20:46:37 »

 Shocked Shocked Shocked Shocked Shocked Shocked

Could we have a closer look at the trees. I want to see how they're rendered.

Offline ClickerMonkey

JGO Coder


Medals: 20


Game Engineer


« Reply #4 - Posted 2013-01-19 20:48:13 »

Shocked Shocked Shocked Shocked Shocked Shocked

Could we have a closer look at the trees. I want to see how they're rendered.

Maybe it's a secret! (or low quality).

Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #5 - Posted 2013-01-19 21:18:26 »

Shocked Shocked Shocked Shocked Shocked Shocked

Could we have a closer look at the trees. I want to see how they're rendered.

Sure.





Although farming might not seem that popular, harvest moon had some hardcore fans! How big a world can it handle? I wouldnt mind a play myself!

Well, buy land, build something (farm or otherwise) and go to the local town to sell/trade with other people might be fun.

The world I currently am generating is around 2.5 x 2.5 km, but I just tried with 10 x 10 km and it also worked fine (although it took some time to load as I'm not doing any streaming at all at the moment, I load all into the gfx card at start up). Thanks to the terrain LOD the distance doesn't matter that much for the fps. I am running it on a 4 year old laptop and get around 100fps even with 4x anti aliasing.

I'll look into making it a bit prettier and put an applet up. Especially the sky needs some work.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Varkas
« Reply #6 - Posted 2013-01-19 23:19:10 »

Pretty awesome!

Yes, awesome is the word!

If farming by itself looks too boring, make it a genetic engineering area, and let the people try to create new plants by mixing the existing ones Smiley


if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #7 - Posted 2013-01-19 23:25:30 »

Yes, awesome is the word!

If farming by itself looks too boring, make it a genetic engineering area, and let the people try to create new plants by mixing the existing ones Smiley

You guys are the best motivation Smiley I know way too little about genetic things to make such a game. Letting the players create the content themselves is great though as it leads to everything from youtube movies to infinite possibilities Wink

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #8 - Posted 2013-01-20 00:45:24 »

Wow!  Shocked

Offline pitbuller
« Reply #9 - Posted 2013-01-20 01:31:32 »

How did you make water reflections?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Kernel


Medals: 238
Projects: 11
Exp: 2 years


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


« Reply #10 - Posted 2013-01-20 01:33:43 »

How did you make water reflections?

Raycasting?

Offline pitbuller
« Reply #11 - Posted 2013-01-20 01:41:26 »


Just notices that reflections does not include trees. So it could be raycasting against terrain heightfield which should be plenty fast.
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #12 - Posted 2013-01-20 01:50:16 »


Just notices that reflections does not include trees. So it could be raycasting against terrain heightfield which should be plenty fast.

I just noticed the same so added them as I just added the trees and forgot to tell the reflection about it Smiley

The water effect is done using shaders. The reflection is a simple FBO with the world generated upside down.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #13 - Posted 2013-01-20 04:24:02 »

I suggest something akin to Garry's Mod maybe? Give the tools and code the mechanics/physics. Let people make their own kind of game play to run on their own servers? So if some want a shooter, they can do that. If some want farming, racing, etc....

EDIT: Although thinking about it, now it would simply be redundant and not as feature complete as GM.

As a shooter fan myself, make it an FPS! Cheesy

Offline HeroesGraveDev

JGO Kernel


Medals: 238
Projects: 11
Exp: 2 years


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


« Reply #14 - Posted 2013-01-20 04:49:24 »

Yes! Make it an FPS!

And put this into the game: http://xkcd.com/873/ Grin


(Do whatever you want with it though. I'm sure people somewhere will enjoy it)

Offline StephR

Senior Member


Medals: 9



« Reply #15 - Posted 2013-01-20 09:55:01 »

Very impressive ! And what about a game of survival in nature ? Like the venerable "Wilderness : A survival adventure". But if you prefer a FPS, consider making a medieval one.
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #16 - Posted 2013-01-20 11:49:06 »

And put this into the game: http://xkcd.com/873/ Grin

That's awesome Smiley

The main reason I don't want to make a pure fps is that there are so many of them out there and I cannot compete with them without making something unique. While the xkcd thing is quite unique I don't think it'd make the game better ;-)

Letting people code and create their own game is going to take a pretty big programmer base that is really dedicated to it, which isn't very easy to get.

So, I prefer to have something where users create their own experience without having to program. While I'm still thinking about the genetic experiment farming game suggested above I'm not sure how to make such a thing Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Apo
« Reply #17 - Posted 2013-01-20 13:34:52 »

Looks really nice!  Shocked
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #18 - Posted 2013-01-20 15:16:34 »

Looks really nice!  Shocked

It seems like I really need to fix the sky artifacts (almost there), make shaders and AA an option for people without support for it and then put up an applet Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Ultroman

JGO Knight


Medals: 24
Projects: 1


Snappin' at snizzes since '83


« Reply #19 - Posted 2013-01-21 04:33:44 »

Looks really nice!  Shocked

It seems like I really need to fix the sky artifacts (almost there), make shaders and AA an option for people without support for it and then put up an applet Smiley

Mike
Yes, yes, you should do that Smiley

- Jonas
Offline sixtyten

Junior Member


Projects: 1



« Reply #20 - Posted 2013-01-22 00:15:17 »

Can we see a video?  Cheesy
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #21 - Posted 2013-01-22 01:50:35 »

Can we see a video?  Cheesy
Sure, it says more than the photos Smiley

<a href="http://www.youtube.com/v/bpm4IEvFUho?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/bpm4IEvFUho?version=3&amp;hl=en_US&amp;start=</a>

The sky is getting better (can actually look up now Smiley ), still need to improve the clouds and add some gradients though.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline LunaticEdit

Senior Member


Medals: 8
Projects: 1



« Reply #22 - Posted 2013-01-22 02:29:47 »

Looking GREAT so far! As far as the sun and clouds go, one trick I learned is to render it with additive blending. Like this in C++:
glEnable(GL_BLEND);
glBlendFunc(GL_ONE, GL_ONE);
(Then back to your normal blending op)
Blend the clouds before the scene of course, but then try rendering(blending) the sun AFTER everything else. I'm assuming you know how to determine if the sun is really behind something -- you can shrink the sun image as it becomes blocked.
Java should be pretty much the same. Just enable and blend away, results are amazing. I use a single picture for the sun in this video I did: http://www.youtube.com/watch?v=-4n4Nz1xFKQ (file link because i'm not thread-jacking :p).

Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #23 - Posted 2013-01-22 06:51:25 »

Daaamnnn that's gorgeous! :O

Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #24 - Posted 2013-01-22 07:36:27 »

Looking GREAT so far! As far as the sun and clouds go, one trick I learned is to render it with additive blending.

That looks nice but as content gets added it will be a whole lot of tests every frame, especially when adding blended content and taking that in account. I think I'll have to settle for now with making the clouds more 3D'ish and less sharp, as well as adding the gradients for over day and sun set/rise. If going back to the sun I'd prefer to add a god ray shader Smiley

Daaamnnn that's gorgeous! :O

Thank you Mr. King Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Kroniz

Senior Newbie





« Reply #25 - Posted 2013-01-22 12:44:22 »

Would be awesome to see an applet or a download soon! This looks amazing.
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #26 - Posted 2013-01-23 01:32:31 »

As promised! It still lacks a few graphical things and there is no content what so ever. I just wanted to get an okay version out there as there seemed to be a demand Smiley

Let me know if there are any issues. I'm currently not checking if you have shader support before turning on water and so on, but maybe the console will output something Wink

http://stateoffortune.com

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ClickerMonkey

JGO Coder


Medals: 20


Game Engineer


« Reply #27 - Posted 2013-01-23 01:41:55 »

Good stuff! Runs smoothly on my laptop.

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #28 - Posted 2013-01-23 06:16:36 »

This deserves so much of a better title than terrain something...I mean at least capitalize the S. This is pretty cool though, I'd say even better than Skyrim (graphics wise), with the water.
Offline Mike

JGO Ninja


Medals: 71
Projects: 1
Exp: 5 years


Java guru wanabee


« Reply #29 - Posted 2013-01-23 07:38:00 »

Good stuff! Runs smoothly on my laptop.

Nice, thanks for testing!

This deserves so much of a better title than terrain something...

I changed the title to something less... weird.

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Pages: [1] 2 3 ... 11
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (31 views)
2014-07-18 06:55:21

Zero Volt (27 views)
2014-07-17 23:47:54

danieldean (23 views)
2014-07-17 23:41:23

MustardPeter (24 views)
2014-07-16 23:30:00

Cero (39 views)
2014-07-16 00:42:17

Riven (41 views)
2014-07-14 18:02:53

OpenGLShaders (28 views)
2014-07-14 16:23:47

Riven (28 views)
2014-07-14 11:51:35

quew8 (25 views)
2014-07-13 13:57:52

SHC (61 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!