Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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  
  Simple jinput proposal, feedback wanted from users and Jeff :)  (Read 1489 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Posted 2005-06-14 10:58:32 »

Hi

I've noticed that the most common issue is the plugins system. I'm proposing that in the default controller environment, unless a property (jinput.loadDefaultPlugin for example) is set to false, it will load the defaut plugin, for that environment, based on what we have in CVS. That way, we can then also modify the main build script so there are optional build targets that product a single jar and native lib for each of the 3 main platform. We gain ease of use, but still maintaint the option of the plugin system.

Discuss.

Endolf

Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2005-06-14 11:45:12 »

Yes, please.

Kev

Offline Bombadil

Senior Devvie





« Reply #2 - Posted 2005-06-14 12:12:02 »

Sounds like the well working JOGL way, so: yes, please.

P.S. I'm not yet using JInput (which is the reason why I'm usually silent on the topic) but as a happy JOGL user I'd love to see a similar up to date multi-platform release thing for JInput.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gregof

Junior Devvie




in code we trust


« Reply #3 - Posted 2005-06-15 11:10:41 »

Sounds very good to me  Cheesy

// Gregof
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #4 - Posted 2005-06-16 14:05:17 »

Hi

Build scripts updated and new binaries are available from the files section on jinput.dev.java.net for windows and linux.

These new builds contain 1 jar and 1 native library. Left alone, it will just work (tm), loading the right plugin for the platform.

If you want to use the plugin mechanism, it's still there, unchanged, so just have the controller dir as before, or set the class names in the properties.

If you do not want the default plugin loaded, there is a new property to disable it's loading. Set jinput.useDefualtPlugin or net.java.games.input.useDefaultPlugin to 'false'.

Endolf

Edit: typo

Offline Tomas

Junior Devvie




Agency9


« Reply #5 - Posted 2005-06-16 14:09:50 »

Yes please

// Tomas Smiley

CTO Agency9
Offline Jeff

JGO Coder




Got any cats?


« Reply #6 - Posted 2005-06-22 04:32:57 »

Nice simpel solution.

Thanks End.

SOemthign Iw as considering awhiel back, btw, but never ahd tiem to implement was adding a "isSupported" call on the JInput plugin interface that would return if it was wupported on the current platform.

This would theoretically allow a single build to work on all paltforms (although yould have to destruibute all 3 native libs with that build) as the code coudl decide which to use or not use at run-time.

Just a thought.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (64 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!