Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 6 7 [8] 9 10
 71 
 on: 2014-11-23 04:07:26 
Started by Jacob Pickens - Last post by gzuzboey
HOLY CRAP!!!! my jar file went from 9.81 megabytes to 41.2 kilobytes when i did that. Thx man!!!! Grin

 72 
 on: 2014-11-23 04:05:52 
Started by BurntPizza - Last post by kingroka123
Started on a GUI library for LibGDX
Click to Play

 73 
 on: 2014-11-23 04:03:12 
Started by Jacob Pickens - Last post by gzuzboey
goodnight.  Wink

 74 
 on: 2014-11-23 04:02:06 
Started by Jacob Pickens - Last post by Jacob Pickens
Wow, I feel a bit dumb now. Haha I've been programming all night perhaps it's time to take a nap. Tongue Thanks for letting me know. Haha

 75 
 on: 2014-11-23 04:01:10 
Started by Jacob Pickens - Last post by gzuzboey
Ok. Thx for replying! I will try that.

 76 
 on: 2014-11-23 04:00:35 
Started by Jacob Pickens - Last post by kpars
Following what Slyth said, visualize it like this:

1  
2  
3  
4  
5  
vertices.put(new float[] {
    (+0.0f, +0.8f), <- 1st with X/Y coords
    (+0.8f, -0.8f), <- 2nd with X/Y coords
    (-0.8f, -0.8f) <- 3rd with X/Y coords
});

You have 3 vertices, so each individual vertex will have its own X and Y coordinates. That's why you're passing in 6 values.

- Jev

 77 
 on: 2014-11-23 04:00:07 
Started by Jacob Pickens - Last post by HeroesGraveDev
The key to OpenGL is that it doesn't know what your vertices are part of. You have to tell it.

If you say it's a triangle with 2-dimensional points, the vertices will be (0, 0.8), (0.8, -0.8), and (-0.8, -0.8).

If you take the same data and say it's a line with 3-dimensional points, it will be from (0, 0.8, 0.8) to (-0.8, -0.8, -0.8).

Edit: Note to self: Disable smileys when you have an 8 followed by a parenthesis.

 78 
 on: 2014-11-23 04:00:01 
Started by Jacob Pickens - Last post by Jacob Pickens
Hey, nice game! I got very addicted to it (Played for maybe 30 mins) Cheesy Question: How to you make the jar file so small in size? The jar file for my game is already over 9 megabytes.

The reason the jar is so small in my game is purely because I have the art separated from the jar. As you can see the res folder isn't inside of the jar so the jar doesn't have to hold all the images. Therefore it looks small however its just as big as yours would be if I added in the images if not bigger. BTW you can edit the images in my res folder and make texture packs! Cheesy Tongue

 79 
 on: 2014-11-23 03:59:56 
Started by Jacob Pickens - Last post by Drenius
No z coord as long as its 2D...
It's xy xy xy.

EDIT: Slyth.

 80 
 on: 2014-11-23 03:59:43 
Started by Jacob Pickens - Last post by Slyth2727
You're drunk Jacob, go home. Don't know if you're trolling or what.

If you're not, each of those pairs are an x and a y coordinate.

1  
2  
3  
{ x1, y1,
  x2, y2,
  x3, y3 }

Pages: 1 ... 6 7 [8] 9 10
 

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

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (65 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!