Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (788)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (860)
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
 21 
 on: 2019-04-11 13:58:11 
Started by FabulousFellini - Last post by SHC
It seems to me that @Mykayla is a marketer. Anybody saw his posts? Seems like all of them are pointing to his websites. A little marketing is fine, please use the signature field for that. However, hijacking other threads is not.

If those games are yours, why not post under projects boards, either showcase or wip?

 22 
 on: 2019-04-11 10:41:27 
Started by mike_bike_kite - Last post by mike_bike_kite
Mykayla
Unfortunately it appears all your posts are just spam to link to your site.
Bit sad really.
Mike

 23 
 on: 2019-04-11 07:33:05 
Started by tariqbroadnax - Last post by Mykayla
 Excellent post. Please keep up the great work. You may check our website also Visit: io games

 24 
 on: 2019-04-11 07:32:11 
Started by mike_bike_kite - Last post by Mykayla
Very great stuff. i really appreicate this!
Vex 4

 25 
 on: 2019-04-11 07:31:01 
Started by FabulousFellini - Last post by Mykayla
You have great ideas to share something like this.Thanks for share this info. You may check our website also transformice

 26 
 on: 2019-04-11 04:27:39 
Started by FabulousFellini - Last post by SkyAphid
Keep up the good work!!

 27 
 on: 2019-04-09 18:02:34 
Started by MossyForest - Last post by MossyForest
It took longer than expected but I finally figured out how to do it.
Thanks to your answer, my game can now have beautiful Rainbow Beam attack!





For anyone may have similar problem with me, I'll leave simple code here.

'vertices' is float array of vertices from given polygon I'm try to fill in.
vertices is generated top-left corner to bottom-left corner in clockwise order.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
   private float[] testVertices;
   private short[] testTriangles;
   private Texture testImage;
   public void manualTriangulor() {      
      testVertices=new float[(vertices.length-4)*5];
      testTriangles=new short[(vertices.length/2-2)*3];  
      for(int i=0; i<vertices.length/4-1; i++) {      
         testVertices[i*20]=vertices[((vertices.length/2)-i-1)*2];
         testVertices[i*20+1]=vertices[((vertices.length/2)-i-1)*2+1];
         testVertices[i*20+2]=Color.WHITE.toFloatBits();
         testVertices[i*20+3]=0;
         testVertices[i*20+4]=1;
         
         testVertices[i*20+5]=vertices[i*2];
         testVertices[i*20+6]=vertices[i*2+1];
         testVertices[i*20+7]=Color.WHITE.toFloatBits();
         testVertices[i*20+8]=0;
         testVertices[i*20+9]=0;
         
         testVertices[i*20+10]=vertices[(i+1)*2];
         testVertices[i*20+11]=vertices[(i+1)*2+1];
         testVertices[i*20+12]=Color.WHITE.toFloatBits();
         testVertices[i*20+13]=1;
         testVertices[i*20+14]=0;

         testVertices[i*20+15]=vertices[((vertices.length/2)-i-2)*2];
         testVertices[i*20+16]=vertices[((vertices.length/2)-i-2)*2+1];
         testVertices[i*20+17]=Color.WHITE.toFloatBits();
         testVertices[i*20+18]=1;
         testVertices[i*20+19]=1;

         
         testTriangles[i*6]=(short)(i*4);
         testTriangles[i*6+1]=(short)(i*4+1);
         testTriangles[i*6+2]=(short)(i*4+2);

         testTriangles[i*6+3]=(short)(i*4+2);
         testTriangles[i*6+4]=(short)(i*4+3);
         testTriangles[i*6+5]=(short)(i*4);
      }
   }
   

   public void draw(PolygonSpriteBatch batch) {
      batch.begin();
      batch.draw(testImage,testVertices,0,testVertices.length,testTriangles,0, testTriangles.length);        
      batch.end();  
   }

 28 
 on: 2019-04-09 17:58:05 
Started by codyorr5 - Last post by 8Observer8

You can edit your links to make them directional links.

Source Code: https://dl.dropboxusercontent.com/s/z2xltl9tyw6h39x/3DLibrary.rar

Runnable Jar: https://dl.dropboxusercontent.com/s/duy8nif69a32re5/3DTest.jar

 29 
 on: 2019-04-09 14:30:21 
Started by 8Observer8 - Last post by 8Observer8
I did not find how to create standalone executables from Windows (analog JarSplice for Lwjgl3). But I found the solutions for myself. I will use WebGL / TypeScript for creating cross-platform Web applications and Unity / C# for creating cross-platform native desktop applications.

I created these builds from Windows 10. You can try to run this example if you want:

Click to Play

 30 
 on: 2019-04-09 13:38:10 
Started by 8Observer8 - Last post by 8Observer8
Current documents on deployment that I've seen all say that you have to compile on the system that you want the program to run on.
For example, this tool, called Unity, allows to create standalone executables from Windows (and from Mac OS X) for different platforms.

I created these builds from Windows 10. You can try to run this example if you want:

Click to Play

Pages: 1 2 [3] 4 5 ... 10
 
hadezbladez (2077 views)
2018-11-16 13:46:03

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

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

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

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

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

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

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

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

nelsongames (3722 views)
2018-04-24 18:14:32
Deployment and Packaging
by philfrei
2019-02-17 20:25:53

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
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!