Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (604)
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  
  Going to release?  (Read 1232 times)
0 Members and 1 Guest are viewing this topic.
Offline Jeff

JGO Coder




Got any cats?


« Posted 2003-11-18 03:13:50 »

Hey Guys.

I want to make an architectural change.  Its minor but it will break the plug-ins, so I was thinking maybe we should lock down a 1.0 version before I do that.  Everyone think we're there?

The change i want to make is add one more required method to plugins: isSupported().  This way a plug-in on initialization can decide it doesnt belong in this environment.  (eg the Win32 plug-in being used on a Mac) and just set isSupported() to return false.
The main API will then check this and throw out any plug-ins that don't return true so the user never sees them.

Sound reasonable?

JK

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
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #1 - Posted 2003-11-18 05:11:39 »

Hi
 There is a bug in the linux stuff that I wouldn't mind fixing first, but it depends how important it is (no-one has reported it yet). My logitech wingman cordless rumbling gamepad get's picked up by the joystick driver as having 7 axes (when it only has 5, but 2 rumblers too), and the event driver picks it up with 5, then in my code I see that it's a different axes count and get confused. Supposedly you can get these working in the kernel, but I've failed so far. I don't know wether any other force feedback stuff has the same problems because I don't have any. What I was hoping to do was get the rumbler support working on the linux plugin and in the process solve this, but other projects have taken priority as no-one else has reported it.
 Let me know if you want this (or the fix) in before 1.0, but as far as I can see it can probably wait till after.

Endolf

Offline gregorypierce

Senior Devvie




I come upon thee like the blue screen of death....


« Reply #2 - Posted 2003-11-21 22:42:42 »

Someone send me an email or something that outlines the architectural changes so I can make sure the OSX stuff works properly.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #3 - Posted 2003-11-27 22:20:03 »

Okay.  We wont do it I think til we settle down again from the changes Endolf is making now (rumbelr support and hopefully final JAWS support.)

I've been thinking about it and I MAY actually be able to hide the change from the old plug-ins.  (If they all inherit from a super-class I can put a dummy test in the superclass to be over-ridden.)

I'll try to look at it sometime soon.

JK

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
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #4 - Posted 2003-11-28 04:24:25 »

Quote
Okay.  We wont do it I think til we settle down again from the changes Endolf is making now (rumbelr support and hopefully final JAWS support.)
D'oh!, I was hopeing the rumbler one didn't get out, incase I fail miserably Smiley
Quote
I've been thinking about it and I MAY actually be able to hide the change from the old plug-ins.  (If they all inherit from a super-class I can put a dummy test in the superclass to be over-ridden.)

Although not commited (cause it's all broken on my cvs node right now Smiley) both the windows and linux one have the isSupported() method (nothing calls it though, i'm leaving that out on purpose), it just checks the os property just like ant does before building Smiley
 Had another though, if the property jinput.plugins is set, should the isSupported method be checked?, the jinput.plugins could be seen as a 'force this plugin to load' kinda option too, say for someone who is running a version of linux with a funny os string, or on some VM that didn't set the property properly?

Cheers

Endolf

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.

rwatson462 (36 views)
2014-12-15 09:26:44

Mr.CodeIt (29 views)
2014-12-14 19:50:38

BurntPizza (61 views)
2014-12-09 22:41:13

BurntPizza (98 views)
2014-12-08 04:46:31

JscottyBieshaar (58 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (76 views)
2014-11-29 21:32:03

toopeicgaming1999 (136 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (37 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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