Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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 967 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: https://github.com/DesertCookie/GLFW4J.

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 »

Hey

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: 89



« 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:

https://github.com/sriharshachilakapati/SilenceEngine/tree/development/backend-lwjgl/src/main/java/com/shc/silenceengine/backend/lwjgl/glfw

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  
 
 

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

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

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

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

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

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

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

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

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

Solater (140 views)
2018-03-17 05:04:08
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!