Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (778)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
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  
  GLFW4J - LWJGL-GLFW wrapper  (Read 1737 times)
0 Members and 1 Guest are viewing this topic.
Offline DesertCoockie
« Posted 2018-03-11 18:35:57 »

GLFW4J is an open source wrapper for the LWJGL-GLFW bindings. It's built around the goals of being easy to use and intuitive to learn, and also offering as many native GLFW features as possible.
Take a look at it on GitHub:

The current feature set includes:
  • Creating and manipulating multiple GLFW windows
  • Handling per-window mouse and keyboard input
  • Listening for input events
Planned features include:
  • Controller/Joystick and clipboard input
  • Listening for window events
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 Ninja

Medals: 106

« 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  

hadezbladez (358 views)
2018-11-16 13:46:03

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

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

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

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

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

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

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

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

nelsongames (2312 views)
2018-04-24 18:14:32
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

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 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!