Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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: 2018-05-15 14:57:37 
Started by pavul - Last post by pavul
thanks for your reply. actually i have been using two tilemaps, one for rendering the whole level and another to make solid tiles and slope tiles its working, but the issue comes when you want to have big levels i want to mitigate somehow the over process.

 72 
 on: 2018-05-15 03:47:46 
Started by nelsongames - Last post by nelsongames
Okay so I fixed right clicking by preventing the canvas from opening the context menu in the index.html, but I'm completely stuck on why certain keys like TAB just don't work :/

Also this feels sort of hacky, does LibGDX not support this by default?

1  
2  
3  
4  
    var embedHtml = document.getElementById("embed-html");
    embedHtml.oncontextmenu = function(e) {
        e.preventDefault();
    }

 73 
 on: 2018-05-15 03:10:42 
Started by nelsongames - Last post by nelsongames
When right clicking on a LibGDX App, the browser tool function pops up (view image, save image as etc). Any idea why? Also the TAB key doesn't work on HTML either, and there are other problems, with keys.

What causes this behavior? Are there any fixes for this?


 74 
 on: 2018-05-15 02:56:41 
Started by BurntPizza - Last post by tariqbroadnax
Finished (somewhat) a new track:
https://soundcloud.com/mathias-h/anticipation

Just listened to it. Its sick.

 75 
 on: 2018-05-15 01:48:28 
Started by BurntPizza - Last post by orange451
Have some more free time on my hands.

Started back on my UI solution for lwjgl3.

Click to Play

Click to Play

Click to Play



I want to make it /similar/ to JavaFX, but be limited to just basic UI functionality.

The goal is to recreate a testing IDE I wrote using JavaFX a few months ago:

I want to create a proper IDE for my rendering engine.


So far the setup is quite minimal:
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  
public class HelloWorld {
   public static final int WIDTH   = 320;
   public static final int HEIGHT  = 240;

   public static void main(String[] args) throws IOException {
      if ( !glfwInit() )
         throw new IllegalStateException("Unable to initialize GLFW");

      // Create a standard opengl 3.2 window. You can do this yourself.
      long window = LWJGUIUtil.createOpenGLCoreWindow("LWJGUI Window", WIDTH, HEIGHT);
     
      // Initialize lwjgui for this window
      Scene scene = LWJGUI.initialize(window);
     
      // Add some components
      addComponents(scene);
     
      // Game Loop
      while (!GLFW.glfwWindowShouldClose(window)) {
         // Clear screen
         glClearColor(0,0,0,0);
         glClear(GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT);
         
         // poll events to callbacks
         glfwPollEvents();
         
         // Render GUI
         LWJGUI.render();

         // Draw
         glfwSwapBuffers(window);
      }
     
      glfwDestroyWindow(window);
      glfwTerminate();
   }

   private static void addComponents(Scene scene) {
      // Create a simple pane
      StackPane pane = new StackPane();
     
      // Add the pane to the scene
      scene.getChildren().add(pane);
     
      // Put a label in the pane
      pane.getChildren().add(new Label("Hello World!"));
   }
}


 76 
 on: 2018-05-15 01:25:35 
Started by BurntPizza - Last post by SkyAphid


Here's a small look at our environment updates to Robot Farm. But we'll be releasing some videos soon, hopefully.

 77 
 on: 2018-05-14 20:04:25 
Started by ByerN - Last post by ByerN
Click to Play


Dungeon ticket- save-continue mechanism Smiley

 78 
 on: 2018-05-14 19:25:57 
Started by ShchAlexander - Last post by ShchAlexander
Hello everyone!

I want to share with my progress...
Finally added CSS-like styles and created style based layouting.
  • Display:
    • MANUAL
    • FLEX
    • NONE
  • Position(for now used only for FLEX display):
    • ABSOLUTE
    • RELATIVE


Also added shadows support and several themes.



Source code you can find here: https://github.com/LiquidEngine/legui
Discord server: https://discord.gg/6wfqXpJ

 79 
 on: 2018-05-14 07:52:10 
Started by mudlee - Last post by mudlee
And forgot to mention that the code was taken (ported to java) from learnopengl.com where the guy clearly wrote down that he used John Chapman's as a source.

 80 
 on: 2018-05-13 21:45:16 
Started by Ranger - Last post by Ranger
Understood, but in many racing games, if player simply win a race, next race start position should be related to past victories

I've started to look at real time racing using WebSockets, so you can start the next race based on where you last finished.  It'll probably be awhile before I get anything like that going.

Until I do get that going, I've added a live position board in the top right, so you can see as you're racing, what position you are in.

I've also removed the scooter (thought it was dumb), and reduced the price of the first few cars, so you can progress faster when starting the game.

Please let me know what you think.  Thanks!   Smiley

Pages: 1 ... 6 7 [8] 9 10
 
DesertCoockie (20 views)
2018-05-13 18:23:11

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

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (579 views)
2018-03-24 14:43:53

Solater (95 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (362 views)
2018-03-02 22:15:33

buddyBro (1022 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

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