Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: LWJGL - Drawing to a file. on: 2014-04-17 13:45:44
Ah, I didn't think of threading issues, thanks for that.

By 2 dimensional array, you mean an array of pixels? I think that'd be hard to do, and possibly rather processor intensive? I'm not too sure, I don't think I could manage to code something like that personally anyway:P

I believe a minimap would probably work best, yes, I'll end up doing this I would image:P Thank you:)
2  Game Development / Newbie & Debugging Questions / LWJGL - Drawing to a file. on: 2014-04-17 12:55:38

As a brief side note before I say anything, I wasn't too sure as to where I should place this topic? If it's in the wrong place, feel free to move it:P

Anyway, I'm making a game in LWJGL which will include the ability to create your own custom levels and share them with other people.

I've created a java server, to receive uploaded data and spit it back out to the right clients. However, I would like the ability to add a thumbnail to the custom games people have made. This thumbnail is going to be a screenshot from inside the level.

Now, see, I don't want to render the level on the client, save a screenshot then send that to the server for two reasons: Increased bandwidth usage (Which I think will be the bottleneck for server capacity), and the fact that people could rewrite the server to send any image they wanted. Last thing i want is a thousand levels displayed as male genitalia:P

So, what I want to do, is take the data of the level that I send to the server, and render it directly to an image file. I am unsure of how to do this server-side however, because when I eventually buy a server, it'll be headless, so I think an exception will be thrown if I try to open a Display?

To be fair, I'm not too sure, but anyone's input would be greatly appreciated:P


I guess I could draw it with java2D onto a BufferedImage and save that instead? It'd be tricky to replicate the drawing though I guess!
3  Discussions / Business and Project Discussions / Re: Looking for assistance with Java packaging and distribution (paid) on: 2013-12-23 14:05:50
Take a look at this program here:

(This isn't advertising btw, I had to use this because I couldn't be bothered with extracting DLLs from the jar etc, and it's just such a great program)
Pages: [1]

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (53 views)
2014-04-15 18:08:23

BurntPizza (51 views)
2014-04-15 03:46:01

UprightPath (65 views)
2014-04-14 17:39:50

UprightPath (48 views)
2014-04-14 17:35:47

Porlus (65 views)
2014-04-14 15:48:38

tom_mai78101 (89 views)
2014-04-10 04:04:31

BurntPizza (149 views)
2014-04-08 23:06:04

tom_mai78101 (245 views)
2014-04-05 13:34:39

trollwarrior1 (203 views)
2014-04-04 12:06:45

CJLetsGame (210 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30 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!