Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (736)
Games in Android Showcase (224)
games submitted by our members
Games in WIP (814)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 11 12 [13] 14
  ignore  |  Print  
  State of Fortune  (Read 304794 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel


Medals: 506
Projects: 3
Exp: 5 years


I'm the King!


« Reply #360 - Posted 2015-01-06 06:41:58 »

I beg to differ there, Nvidia has the best OpenGL drivers around. I have only ever had 1 issue with them, and that was a very silly driver bug.

Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #361 - Posted 2015-01-06 06:53:25 »

In this case AMD (and Intel) was correct, I did something like:
float a = texture2D(texture, position);
Nvidia was smart enough to see that r, g and b was all the same and set a to that value so I never noticed it, while AMD had some issues with it Smiley

I learned a neat trick thanks to this though, just set the GLSL version to 100 and Nvidia will start throwing warnings on that kind of code if you can't see it quickly.

Yesterday's update resolved all known issues caused by the update (and some additional ones) except for Kryonet requiring Java 8. I got some pointers from the Kryonet discussion group so I'm hoping to resolve that quickly, otherwise I'll start packaging java with the launcher so I can't run into these kind of issues again.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Elsealabs
« Reply #362 - Posted 2015-01-06 14:38:37 »

Very beautiful game. But I got a weird bug with the graphics. This happened when looking upwards on highest graphics settings. I am using an GTX 285 by EVGA, and I don't know if the processor matters for this kind of stuff, but I am using an AMD FX-6300.



Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #363 - Posted 2015-01-06 15:20:25 »

Very beautiful game. But I got a weird bug with the graphics. This happened when looking upwards on highest graphics settings. I am using an GTX 285 by EVGA, and I don't know if the processor matters for this kind of stuff, but I am using an AMD FX-6300.

Can you try to turn off the light scattering? You can try with shadows as well but I'm pretty sure that it is due to the light scattering. If it works with light scattering turned off, can you try to update the graphics card driver and try again?

Here is a new screenshots that didn't find its way to this forum yet Smiley (As with all other screenshots, click for a larger version)


Mike

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

Junior Devvie


Medals: 4
Exp: 4 years



« Reply #364 - Posted 2015-01-06 17:25:08 »

Mike, u problably already noticed that I havent tried the new version Smiley. I'll try it very soon, haven't tried it yet mostly due to the java 8 requirement...
Maybe at the end of this week I'm install the java 8 and the game...

But from the screenshots.. nice work it looks really good Cheesy
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #365 - Posted 2015-01-06 19:05:40 »

I noticed Smiley

I found the bug in Kryo and Nate resolved it. I'll get a version up tomorrow that works with Java 6/7.

Mike

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

Junior Devvie


Medals: 4
Exp: 4 years



« Reply #366 - Posted 2015-01-06 21:01:23 »

Ok, I couldn't resist... I just played it for 20 min Cheesy


I found a bug though...




The transparent texture has some transparency issues....


Also, suggestions:
 - The player movement is still a bit wierd...
 - We should be able to buy another land without the minimum spacing between lands if we are buying right beside one of our terrains... it would be like an expand function..
 - We should be able to zoom even more on the map to help the positioning of smaller terrains or just be able to use the arrows for smaller position adjustments...


Still, Great job! it looks really cool Cheesy keep it up!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #367 - Posted 2015-01-06 21:41:29 »

You're playing with low settings! By choice or is it an old computer? I thought you were getting a new one?

The transparent texture has some transparency issues....
That came from the new grain textures not being the same size as the old ones. I already fixed it and will upload that fix tonight.

- The player movement is still a bit wierd...
I know, I will prioritize that sooner or later Smiley

- We should be able to buy another land without the minimum spacing between lands if we are buying right beside one of our terrains... it would be like an expand function..
You can now expand your land if you click on it on the map.
The minimum spacing is now 1 tile instead of 5, and that's just to prohibit people making big walls around someone else's land or around the starting position. I don't see that changing, but the expand function should be enough Smiley

- We should be able to zoom even more on the map to help the positioning of smaller terrains or just be able to use the arrows for smaller position adjustments...
I noticed the same today when I wanted to expand my land with 5 tiles in one direction, took me a good minute to get it right. I will figure something out

Still, Great job! it looks really cool Cheesy keep it up!
Thanks Smiley

Mike

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

Junior Devvie


Medals: 4
Exp: 4 years



« Reply #368 - Posted 2015-01-07 00:04:32 »

You're playing with low settings! By choice or is it an old computer? I thought you were getting a new one?

I have, but first I haven't changed the settings much yet.. only wanted to buy a land and plant something really quick Cheesy and I've reduced the settings just to run it smoothly Cheesy
Offline JJengineering
« Reply #369 - Posted 2015-01-07 19:20:26 »

<3 the sun rays  Cool
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline joaogl

Junior Devvie


Medals: 4
Exp: 4 years



« Reply #370 - Posted 2015-01-08 07:48:13 »

One more bug I think...


Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #371 - Posted 2015-01-08 11:44:06 »

Indeed, I was busy yesterday evening but had to go to bed before finishing  Smiley You should post bugs to the game forum though so we don't spam JGO.

Mike

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

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #372 - Posted 2015-01-08 11:51:39 »

The number of bugs in a piece of software is proportional to the number of its users... :-)

Offline Slyth2727
« Reply #373 - Posted 2015-01-08 21:26:21 »

Um... well it crashes when I try playground and when I go into multiplayer I can't look down, only up. If I look up a little bit I can't move the view back down.....
It also, on lowest graphics, runs at like 10 fps on my 780 TI + i7 4770k.. The gui is also so small I can't even read the buttons. What the heck?
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #374 - Posted 2015-01-08 21:33:00 »

That sounds very interesting. What OS are you on? I don't see any exceptions being thrown.

The playground was my fault, I was updating it.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Slyth2727
« Reply #375 - Posted 2015-01-09 21:09:44 »

I'm on Windows 8.1 64 bit, Java 1.8.
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #376 - Posted 2015-01-11 13:51:38 »

I managed to reproduce a fps problem and resolved it. Can you check if it is better now? Just send me a PM if not so we don't have to spam the forum.

While posting anyway, here is a new screenshot Smiley



As always, click for a bigger version.

Mike

EDIT: The Java 7/8 bug is resolved for the ones who wanted to test but didn't have Java 8 installed.

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

Senior Devvie


Medals: 3


Fir Tree Master


« Reply #377 - Posted 2015-01-12 12:27:48 »

Cool, the new version is up Smiley Have to look at it. btw, happy new year mike.
Offline Evil-Devil

Senior Devvie


Medals: 3


Fir Tree Master


« Reply #378 - Posted 2015-01-19 13:02:55 »

Tried out the new version. Planting and harvesting the weed seem to be slower than in the last version. I noticed that not each click is recognized which results in longer timeframes to actually plant something.

Haven't tested the build mode yet - will as soon I have enough cash to buy a shop ^^
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #379 - Posted 2015-01-19 13:19:51 »

The planting is due to a horrible bounding box, I'll fix that when I can start the game again. I'm currently focusing on a bit of a rewrite to get a big performance improvement, courtesy of feedback from our great shader expert theagentd Smiley If all goes well the impact of turning on post processing, light scattering, high quality water and anti aliasing will be a lot smaller.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline theagentd
« Reply #380 - Posted 2015-01-19 18:06:38 »

*bows*

Myomyomyo.
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #381 - Posted 2015-01-19 23:41:48 »

Have a well deserved medal! As it looks now the rendering time on my (non-game) laptop with all the effects on max has decreased with 70-80%.

I'm still finishing it up but will have the new version up and running later this week. Smiley

Mike

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

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #382 - Posted 2015-02-02 20:46:01 »

After Mr. Agent helped out with the fps drop due to AA he also gave me some hints on how to add AA to transparent objects like the trees and the grain without sorting them. I am now using GL_SAMPLE_ALPHA_TO_COVERAGE, which gives a much calmer look. Here are two new screenshots while using that technique.

As always, click for a larger version Smiley




Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline JaredBGreat
« Reply #383 - Posted 2015-04-06 22:52:43 »

It looks awesome Smiley  but, when I enter game my monitor goes black except for an "Input not supported" message Sad

Note that I'm running Linux Mint with an Ivybridge i7 but not graphics card (just the Intel 4000 graphics), so perhaps it doesn't like the Intel graphics?  Or maybe doesn't like mint?
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #384 - Posted 2015-04-07 06:30:26 »

Hi,

I've had people use both Linux and Intel and both have worked separately. Input not supported sounds like it's not agreeing with the resolution that your driver is telling me that it's supporting. There is no error thrown, maybe you could try to change the resolutionH(eight) and W(idth) in the app data / State of Fortune / settings.dat file to one that you know is supported?

In other news. I've been busy with personal life stuff, but I'm almost done with an update that contains a rewrite of all the shaders to not have a single if/else/float(a==1) in them (which increased the fps with 10-40%), adding a notification bar with how long effects like bread is active and official support for the Oculus Rift.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline theagentd
« Reply #385 - Posted 2015-04-07 07:27:41 »

float(<simple boolean expression>) does not run as a branch:
1  
2  
3  
4  
5  
float x = float(f < 1.0); //Not a branch
float y = float(f > 1.0 && f < 2.0); //BRANCH!
float z = float(f > 1.0)*float(f < 1.0); //Same as y, but no branch

float w = f < 1.0 ? 5.0 : 4.0; //Still no branch

GPUs have special assembly instructions for many cases and can sometimes optimize out branches.

EDIT:
Actually,
float y = float(f > 1.0 && f < 2.0);
is sometimes optimized to something similar to Z.

Myomyomyo.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1310
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #386 - Posted 2015-04-07 07:43:43 »

1  
float y = float(f > 1.0 && f < 2.0); //BRANCH!


what about:
1  
float y = float((f > 1.0) & (f < 2.0))

?

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline theagentd
« Reply #387 - Posted 2015-04-07 08:38:10 »

GLSL doesn't support the & operator, only the && operator. Parentheses do not seem to impact the result on AMD cards at least.

Myomyomyo.
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #388 - Posted 2015-04-07 10:01:59 »

float(<simple boolean expression>) does not run as a branch:
1  
2  
float x = float(f < 1.0); //Not a branch
float y = float(f > 1.0 && f < 2.0); //BRANCH!

Right, then I removed some branches and changed some code unnecessarily Smiley I also applied conditional parsing to not run any unnecessary code based on the current graphical settings.

I used these examples (when_lt is broke though) to get a speed bump:
http://theorangeduck.com/page/avoiding-shader-conditionals

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline JaredBGreat
« Reply #389 - Posted 2015-04-07 15:40:42 »

I've had people use both Linux and Intel and both have worked separately. Input not supported sounds like it's not agreeing with the resolution that your driver is telling me that it's supporting. There is no error thrown, maybe you could try to change the resolutionH(eight) and W(idth) in the app data / State of Fortune / settings.dat file to one that you know is supported?

Thanks, but that didn't quite work.  Those parameters weren't initially in the file, but I added them, and same results.  I also tried setting it windowed mode, still the same thing happened.

Since it seems to be trying to go full screen by default (and always) why not just use something like...

1  
2  
        DisplayMode mode = Display.getDesktopDisplayMode();
        Display.setDisplayMode(mode);


...to just use the resolutions and frequency of the desktop (which is sure to already be right, and save any problem of changing setting if there is a crash).  EDIT: I've used this in something I was working on, and that code worked for me.

Again, it looks great in the videos, just can't get it to work.
Pages: 1 ... 11 12 [13] 14
  ignore  |  Print  
 
 

 
cybrmynd (138 views)
2017-08-02 12:28:51

cybrmynd (159 views)
2017-08-02 12:19:43

cybrmynd (153 views)
2017-08-02 12:18:09

Sralse (169 views)
2017-07-25 17:13:48

Archive (648 views)
2017-04-27 17:45:51

buddyBro (767 views)
2017-04-05 03:38:00

CopyableCougar4 (1301 views)
2017-03-24 15:39:42

theagentd (1265 views)
2017-03-24 15:32:08

Rule (1237 views)
2017-03-19 12:43:22

Rule (1312 views)
2017-03-19 12:42:17
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!