Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (726)
Games in Android Showcase (216)
games submitted by our members
Games in WIP (796)
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] 4 5 ... 10
 on: 2017-05-19 13:02:13 
Started by Ecumene - Last post by abcdef
In your jar task you can add

        from configurations.runtime
        include '*.jar'

To save depending on a custom copy task

 on: 2017-05-19 12:29:34 
Started by BurntPizza - Last post by kingroka123
I created a 3d Array of Voxels that have an x,y,z. Looped through using OpenSimplexNoise to get height. Set voxels under a certain height to visible. Rotated in 3d and projected to 2d coordinates.

To get the Z ordering right i just placed a pixel on a buffered image. Voxels with a higher z placed their pixel after and on top of voxels with lower z's. This is horribly slow but i wasn't going for performance so I used it.

 on: 2017-05-19 11:58:53 
Started by wessles - Last post by Oskuro
Someday I will complete my DooM fangame....  persecutioncomplex

Update: Link to blog post where I explain these drawings a bit.

 on: 2017-05-19 07:37:55 
Started by BurntPizza - Last post by Emmsii
Attempted to duplicate this tweet: link

Results were meh but it was a fun little day project.
Click to Play

(made in Java2D btw)

Daaaaaaamn, how did you pull that off in Java2D?

 on: 2017-05-19 07:33:22 
Started by Ecumene - Last post by matt_p
here, have my gradle script template to create a jar - calling it with gradle createJar

apply plugin: 'maven'
apply plugin: 'java'

def mainClassName = 'com.mainclasspackage.Main'

repositories {

dependencies {
   // compile '<group>:<name>:<version>'
   // ... more here if necessary

task copyRuntimeLibs(type: Copy) {
    into "build/libs/lib"
    from configurations.runtime

task createJar(type: Jar){
   dependsOn build
   dependsOn compileJava
   dependsOn copyRuntimeLibs
   from 'build/classes/main'
   manifest {
         "Main-Class": mainClassName,
         "Class-Path": ". " + configurations.compile.collect { 'lib/' + it.getName() }.join(' ')

note: replace the dependencies (if you have any)
this setup copies the dependency jars next to the resulting jar inside a lib folder and sets the class path accordingly in the generated jar

the generated jar lands in build/lib

 on: 2017-05-19 00:43:39 
Started by BurntPizza - Last post by Brynn
I photographied for the betterment of my ego
(i got a new camera but the glass is sh*t)

I took a lot of pictures at a beautiful forest preserve. I can post them if anyone is interested.
besides that I have finals to catch up on before I code more.

PS: Riven can you make my rank "Spiffy Duchess" or more likely something dumb and humiliating. thx.

 on: 2017-05-18 18:13:20 
Started by wessles - Last post by ndnwarrior15

Drew this bad boy with just 2 colors. I think my pixel skillz are just about ready, finally.

 on: 2017-05-18 15:14:53 
Started by buddyBro - Last post by princec
Aside: Never use Java's LinkedList! And in any language, you'd never willingly use LinkedList::get(index), as the whole point of LinkedLists is that they are not random access.

Another aside: why project the 3D coordinates yourself when OpenGL can do this for you? Then you simply update the camera's frustum matrix every frame instead, and the coordinates of your vertices never actually change.

Cas Smiley

 on: 2017-05-18 15:01:45 
Started by buddyBro - Last post by buddyBro
Because I'm projecting the 3d world coordinates to 2d screen coordinates myself. Hence, since the camera moves every frame, the vertices will be modified as well.
Is this indicative that I'm approaching this the wrong way? I.e., if I'm modifying all vertices every frame, should I not be using vbo's?

 on: 2017-05-18 14:55:20 
Started by buddyBro - Last post by abcdef
Why are you updating every single vertex each frame?

Pages: 1 2 [3] 4 5 ... 10
Archive (280 views)
2017-04-27 17:45:51

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

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

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

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

Rule (912 views)
2017-03-19 12:42:17

Rule (916 views)
2017-03-19 12:36:21

theagentd (952 views)
2017-03-16 05:07:07

theagentd (890 views)
2017-03-15 22:37:06

theagentd (684 views)
2017-03-15 22:32:18
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!