Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (780)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 ... 8 9 [10]
 on: 2018-12-24 09:10:40 
Started by fenaryh - Last post by cylab
Depending on the installation location of your project, you should probably consider a common user data path for saving your data. Saving to a folder right beside your jar might be blocked on some OSes.

Take a look at if that becomes a problem.

If you don't want to use an external library
File saveGameDir = new File(FileSystemView.getFileSystemView().getDefaultDirectory(), "My Fancy Game Title/Save Games")

might also be an option.

 on: 2018-12-24 02:10:12 
Started by philfrei - Last post by philfrei
Is your system UEFI or BIOS only? BIOS is older, and IMO most computers coming after 2016 are UEFI only. And coming to the changes to be made, on ASUS or Gigabyte motherboards that I owned before, it was enough to disable Secure Boot and set the Hard disk access mode to AHCI.

And believe me, it's the AMD processor that makes installation of hackintosh harder. I believe you have to replace your Darwin kernel with something else which is patched with AMD support. Couldn't help you there as I never owned an AMD processor. Maybe depending on your GPU, you might need a GraphicsEnabler kext as well.
My system is UEFI.
The source for the kernel was this link:
I chose "High Sierra" and the downloaded file, now loaded on the thumb drive:
As far as I know, this is what the AMD-MAC community recommends, and the tutorial I'm following is set up for this.

I thought I had more time, but have to pull away again. Next post will be about the UEFI changes. The other day when I worked through this, I was able to get the system to boot from the thumb drive, but the Mac system didn't go into its install screens.

Since then, I've gotten rid of Grub and the Linux partition on my system. Hoping it all goes smoother this time.

 on: 2018-12-24 02:03:55 
Started by philfrei - Last post by DrHalfway
Some books last the test of time, they are rare but they do occur.

There are 4 books in my bookshelf that i'd consider books that have lasted the "test of time"

1) Real-Time Collision Detection
2) Mathematics for 3D Game Programming and Computer Graphics
3) Game Engine Architecture
4) Security Analysis (non programming related)

Although i've never read "Clean Code", if you think it's a resource that has lasted the test of time and contents are still as relevant today as they were when the book was published, go ahead and gift it, much better than a resource which becomes outdated/obsolete within a year or two.

 on: 2018-12-23 22:01:26 
Started by philfrei - Last post by philfrei
A nephew is in his 3rd semester of Java in college. In a phone call he was asking about things that would make it easier to see what is going on or how things work.

I mentioned the concept of "Clean Code" a la Robert C. Martin, where emphasis is on readability and maintainability.

I also mentioned that I make heavy use of pencils and erasers, drawing pictures of things.

I'm thinking of getting him a gift copy of "Clean Code" but am wondering if a 10-year old software book is really on target. Is there a more recent book that also does a good job of covering this material?

Related question:
Any opinions as to merits of "Effective Java III" vs "Effective Java II"?

 on: 2018-12-23 07:34:07 
Started by berzas - Last post by berzas
sister somehow invanding into my PC (even if I have turned off LAN and wifi) via iphone->tv
Do use some kind of smart tv as a screen? If yes: why don't you just remove the tv from the network to stop this BS?
I use laptop, no wifi - no ethernet wires - no adapter.

 on: 2018-12-23 00:32:02 
Started by fenaryh - Last post by fenaryh
Hello, VaTTeRGeR!

I just extracted the data folder from the jar and let it at the same folder, like:

And now it works fine! Thanks!

 on: 2018-12-22 23:53:55 
Started by BurntPizza - Last post by orange451
Nothing complex. Rendering transparent geometry is just a forward renderer. I decided to go with per-object sorting, since it's much easier to setup. The FBO that the forward renderer renders to has its depth buffer shared with the deferred renderer's GBuffer. I disable writing to the depth buffer when drawing transparent geo and I also get free clipping from the deferred renderer.

What's next is to make all my lighting shaders work in both deferred and forward passes, so I can still color the transparent geometry properly Smiley

The idea I had originally was to blit the deferred renderer's depth buffer into the forward renderer's depth buffer. @TheAgentD pointed out that I could do the above to skip blitting altogether.

 on: 2018-12-22 23:11:17 
Started by BurntPizza - Last post by h.pernpeintner
How did you do it? Smiley

 on: 2018-12-22 23:10:42 
Started by fenaryh - Last post by VaTTeRGeR
Writing to a jar file is not the way to go, create a "data" folder alongside your jar to which you can then write:

Stackoverflow: "Loading and saving resources inside a runnable jar? [duplicate]"

 on: 2018-12-22 18:13:06 
Started by fenaryh - Last post by SugarBlood
Hi, sugarblood! =]

I solved using the gradlew. Only need to export this way

gradlew desktop::dist

Just type this in the command line and it`s solved! =]

But this is how I was doing it, and I thought you got your jar like this at the first place. Well I'll try it next time, looks like I just not checked everything careful enougth. Undecided Roll Eyes   

Pages: 1 ... 8 9 [10]
hadezbladez (761 views)
2018-11-16 13:46:03

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

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

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

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

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

EgonOlsen (1486 views)
2018-06-10 19:43:20

DesertCoockie (2150 views)
2018-05-13 18:23:11

nelsongames (1984 views)
2018-04-24 18:15:36

nelsongames (2660 views)
2018-04-24 18:14:32
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

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 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‑
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!