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 (813)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 ... 7 8 [9] 10
 on: 2017-09-11 22:59:44 
Started by pavul - Last post by Abuse

Also createScreenCapture works in screen coordinates, not Window coordinates, so your code is assuming the game window is positioned at the origin.
For your game that might be true, but in general it's a flawed assumption.

If capturing the desktop is your intent, then your code should not assume the top left of the screen begins at 0,0.
It's common for multi-monitor setups to have the primary monitor in the centre (origin: 0,0), and secondary displays to the left (origin: -width,0), and right (origin: +width,0)

To ascertain the full desktop dimensions you'll need to query GraphicsDevice(s) & GraphicsConfiguration(s) via GraphicsEnvironment.getLocalGraphicsEnvironment().

 on: 2017-09-11 21:07:54 
Started by pavul - Last post by Riven
Why are the w & h parameters floats?

 on: 2017-09-11 20:09:01 
Started by FabulousFellini - Last post by nikolat
nikolat, your suggestion just allows to write a script to run a JAR
Not only to write a script, you will get an executable """similar to launch4j""" executables as FabulousFellini asked above.

it relies on the JRE installed on the system, it doesn't help a lot
It is up to you to call any JRE you want (embedded in your package or not).

Moreover, it advises to use Eclipse to create a JAR
Please check. The build process is not the point. It is about creating a native executable binary. Eclipse is just recommended for the packaging and I agree with you: automating the build process is better.

 on: 2017-09-11 16:42:59 
Started by pavul - Last post by pavul

 I have a function to check collisions between the player and the tiles, im creating stages with tiles,  if the stage its too large then im only checking collision with those tilles are inside the view ( to not to check the whole bunch of tiles along the stage ), but I was reading about quadthrees collision, but instead to divide that view in 4 internal rectagles what if I create a rectangle area that its surrounding the player, then check only the collision that are inside that rectangle meaning that those tiles are about to collide with player?

 on: 2017-09-11 15:06:53 
Started by noblemaster - Last post by ral0r2

Intresting read and a well polished game Smiley

 on: 2017-09-11 13:12:04 
Started by BurntPizza - Last post by vfmachado
Actually, yesterday Tongue

I've implemented the slider component of my custom GUI System based on NanoVG.

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

 on: 2017-09-11 11:44:02 
Started by noblemaster - Last post by princec
@noblemaster gets interviewed -


 on: 2017-09-11 09:00:58 
Started by mooman219 - Last post by Roquen
My expectation is that the branches will be the much bigger problem in most cases.  If you're making enough atan/atan2 calls to be statistically important then it's pretty likely they will bunch up in time and the cost of loading the LUT to cache won't be a killer.  For the branches it's very unlikely that the probability of each won't be in the neighborhood of .5  so ~n/2 branch mispredictions per call where 'n' is the number of branches along a path.

EDIT: The way the benchmark is structured means the branch will statistically always be correctly predicted.

 on: 2017-09-10 21:37:07 
Started by FabulousFellini - Last post by princec
Bandwidth is still a not insignificant cost. Always best to get it hosted somewhere good at delivering video IMO.

Cas Smiley

 on: 2017-09-10 19:45:41 
Started by FabulousFellini - Last post by gouessej
Creating a youtube video and a facebook page should help for promotion.
Creating a website would help a lot more as everybody isn't on Facebook and then, there is no need to use Youtube, playing a video with HTML5 is very easy nowadays.

Pages: 1 ... 7 8 [9] 10
cybrmynd (125 views)
2017-08-02 12:28:51

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

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

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

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

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

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

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

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

Rule (1301 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 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!