Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (749)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (837)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JavaGLFW - Library  (Read 297 times)
0 Members and 1 Guest are viewing this topic.
Offline DesertCoockie
« Posted 2018-03-11 18:35:57 »

JavaGLFW is a library build around LWJGLs GLFW-bindings that aims to make use of GLFW in Java as easy as possible while offering as many of GLFW-C features as possible.
Functionalities so far include the GlfwWindow class, representing an easily configurable display, an InputHandler to get keyboard, mouse and controller input, as well as multiple GlfwWindowEventListeners to react to events like the GlfwWindow being resized.

There currently is the a beta available on GitHub or Dropbox:

Since it's a beta the Javadoc is still missing, as well as some wiki articles, but those are coming soon.

(And yes, I'm the creator of the library)
Offline gouessej
« Reply #1 - Posted 2018-03-12 14:15:43 »


What does it offer compared to JGLFW?

You wrote "Optimizations can to be made", you meant "Optimizations can be made", didn't you?

Julien Gouesse | Personal blog | Website | Jogamp
Offline DesertCoockie
« Reply #2 - Posted 2018-03-12 15:16:49 »

Thanks for linking me to JGLFW. I didn't know about this yet.  persecutioncomplex I'll definitely look into the differences and report back (should've done my homework here).
For me the lib was just a personal project I thought sharing would be nice (originally planned to just put the source code here for people having trouble with Glfw, but then the file became like 900 lines long).
And yes, I wanted to write "optimization can be made".

Thanks for your input. Gave me some things to consider.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline h.pernpeintner

JGO Knight

Medals: 81

« Reply #3 - Posted 2018-03-12 19:29:46 »

Very nice, planned to do this in my project some days ago as i realized how Bad my abstraction is Smiley Will take a closer look at your project. Thank you.
Offline SHC
« Reply #4 - Posted 2018-03-15 09:24:30 »

I see that you are exactly doing the same as me, writing OOP wrapper on top of LWJGL provided bindings. You can see mine here:

I believe mine aren't up to date, last used them with 3.1.5 LWJGL, but they already had got most of the functionality (although tightly coupled with my engine in some areas, like setting icon from image file, etc.,). Maybe we can join our efforts and make that a separate library?

I however don't know how many people would use it, GLFW is already very usable by newbies too..

Offline DesertCoockie
« Reply #5 - Posted 2018-03-16 06:16:34 »

We could think about it. I just finished including the last Glfw 3.3.0 gestures and am working on some documentation. I'm not very good at the latter one, maybe you could take a look? That would definitely help and I'm sure there are some things we can use frome the others source code. (at this point I'd rather build upon my existing classes but I would love to have a second person looking over the code an perhaps implementing what you already have but I don't...)
Pages: [1]
  ignore  |  Print  

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

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

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

buddyBro (75 views)
2018-02-28 16:59:18

buddyBro (51 views)
2018-02-28 16:45:17

xxMrPHDxx (455 views)
2017-12-31 17:17:51

xxMrPHDxx (136 views)
2017-12-31 17:15:51

xxMrPHDxx (213 views)
2017-12-28 18:11:33

Ecumene (473 views)
2017-09-30 02:57:34

theagentd (590 views)
2017-09-26 18:23:31
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 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!