Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (121)
games submitted by our members
Games in WIP (577)
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  
  OSX Status Update  (Read 2744 times)
0 Members and 1 Guest are viewing this topic.
Offline gregorypierce

Senior Duke




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


« Posted 2003-08-27 14:21:13 »

Been delayed by two things of late:

1) An unfortunate .Net project
2) Seemingly endless 10.3 release seeds Smiley When 10.3 settles down a bit I'll post another cleaned up release.

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

JGO Coder




Got any cats?


« Reply #1 - Posted 2003-09-02 16:43:29 »

Cool, thanks Greg.

Have we decided yet  on a standard for how to represent the mouse?  (One device or two?)

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 gregorypierce

Senior Duke




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


« Reply #2 - Posted 2003-09-02 19:43:08 »

You guys will have to be a little more specific by what you mean. At the OS level it is one device for me so that's how I represent it. If there is something specific that you're talking about lemme know.

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 endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #3 - Posted 2003-09-02 21:30:46 »

Hi
 I thought I explained this, guess my explination was poor Smiley. The Mouse under windows and linux plugins is represented as one device, with two subdevices, one subdevice for the MouseBall and one for the MouseButtons, take a look at the classes net.java.games.input.Mouse and net.java.games.input.DirectInputMouse
DirectInputMouse constructor constructs itself with a BallImpl and an ButtonsImpl, which extend Ball and Buttons from Mouse, these are the devices that actually have axes in them, DirectInputMouse doesn't, and for consistancy I did the Linux one the same way. That is what we mean by two devices, rather than one.

Endolf

Offline gregorypierce

Senior Duke




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


« Reply #4 - Posted 2003-09-02 23:46:56 »

Okay, and how is this different from what the OSX version does. What I need someone to say is 'here is what you did in the OSX version - could you do it like xxxx.' Without a clean spec, I just implemented it the easiest way for OSX.

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

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #5 - Posted 2003-09-03 07:07:50 »

Hi
 By my quick look at your code you did it the same way, I guess I'll answer Jeffs queston then, it looks like we have all done it as two devices MouseBall and MouseButtons

Endolf

Offline Jeff

JGO Coder




Got any cats?


« Reply #6 - Posted 2003-09-03 16:54:59 »

Guess I was confused!

Sorry guys and thanks.

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 gregorypierce

Senior Duke




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


« Reply #7 - Posted 2003-09-03 18:59:25 »

That's how I kept getting confused because I couldn't understand what I had done differently as I'd simply followed the Windows code making modifications to the Impl classes to match what I needed for OSX. There is an OSX mirror for every DirectInput class Smiley

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

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #8 - Posted 2003-09-06 20:45:50 »

I checked in some build.xml files for OSX.   They may benefit from some tweaking, but they seem to work.  I based them on the linux versions.

Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #9 - Posted 2003-09-07 06:29:04 »

Quote
I based them on the linux versions.

Well there is your first mistake Smiley

Endolf

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #10 - Posted 2003-09-07 18:46:10 »

Ah, well if they cause problems blame Endolf Smiley

Offline kevglass

JGO Kernel


Medals: 188
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #11 - Posted 2003-09-07 18:50:37 »

Quote

Ah, well if they cause problems blame Endolf  


Its always worked for me!  Grin

Kev

Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #12 - Posted 2003-09-07 21:02:03 »

Thats right, blame poor innocent me. I've had enough, i'm gonna take my ball and go home


Grin

Offline kevglass

JGO Kernel


Medals: 188
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #13 - Posted 2003-11-28 15:47:16 »

Whats happening with the MacOS X port? I check the nightly builds and there don't actually appear to be any plugins for MacOS in the download gzip.

Kev

Offline Jeff

JGO Coder




Got any cats?


« Reply #14 - Posted 2003-11-29 17:35:28 »

We had a problem with the OSX build machine for a few days.

It should be back up now.

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 #15 - Posted 2003-11-30 17:59:03 »

build dated the 30th still only had the linux c source, the DX dependancies and the core stuff.

Cheers

Endolf

Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #16 - Posted 2003-11-30 22:26:25 »

There are still a few issues with the Mac port:

OS X port is not working for game pads.  It detected my iShock gamepad  but the test code just generates an empty window for it with no controls.

Powerbook track pad is shown as having 2 buttons - likely apple's fault.

Powerbook keyboard qualifier keys (shift, ctrl, option(alt), command(meta)) don't work.  Powerbook PG UP and PG DN keys (fn + cursor up/down) don't work, but HOME and END (fn + cursor left/right) do work.

Jeff, can you try the above stuff on your PB?

It appears that in general JInput can be used on the Mac now for mouse input, and with luck some keyboard input..

Offline Jeff

JGO Coder




Got any cats?


« Reply #17 - Posted 2003-12-01 04:11:37 »

Quote
There are still a few issues with the Mac port:

OS X port is not working for game pads.  It detected my iShock gamepad  but the test code just generates an empty window for it with no controls.


Which, unless my test program has a bug, means its seeing the pad as a device but no axes on it.

Have you tried the text test that just dumps to stdout what it finds?

Quote

Powerbook track pad is shown as having 2 buttons - likely apple's fault.


Yeah I saw that too.

Quote

Powerbook keyboard qualifier keys (shift, ctrl, option(alt), command(meta)) don't work.  Powerbook PG UP and PG DN keys (fn + cursor up/down) don't work, but HOME and END (fn + cursor left/right) do work.

Jeff, can you try the above stuff on your PB?


Will do. Are you seeing no keybaord device on your PB liek I am on mine?

It appears that in general JInput can be used on the Mac now for mouse input, and with luck some keyboard input..[/quote]

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 Jeff

JGO Coder




Got any cats?


« Reply #18 - Posted 2003-12-01 04:21:00 »

Okay i take it back, i AM seeing the KB. (I dunno how I missed it last time).

All behavior confirmed.

A strange thing to add.  Page Up and Page Down seemed not to be being grabbed by the lib (I had this window selected and they put garbage in it when pressed.)


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 gregorypierce

Senior Duke




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


« Reply #19 - Posted 2003-12-02 17:15:59 »

Someone open up a bug and assign it to me and I'll deal with it.

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

theagentd (19 views)
2014-10-25 15:46:29

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (46 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (39 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (74 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45
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!