File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Game Development and the fly likes The Black Box: reloaded again Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Game Development
Reply Bookmark "The Black Box: reloaded again" Watch "The Black Box: reloaded again" New topic
Author

The Black Box: reloaded again

Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

http://www.coderanch.com/t/34863/ba/Re-enter-BlackBox


[ March 12, 2008: Message edited by: Bear Bibeault ]

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18652
Nice. For what it's worth, there's a glitch in this when I use Opera - the marker doesn't appear in the region I click on (though it does appear at the exit point).


"I'm not back." - Bill Harding, Twister
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

Odd, what version of Opera are you using? I tested on Opera 9.26 (OS X) and all seems fine.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18652
Opera 9.26 running on Windows 2000.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

Weird. I brought up XP in Parallels and installed Opera 9.26. During the first run of the game, I saw the same symptoms: the initial port of a detour did not get its marker. Subsequent runs of the game functioned correctly.

Does your instance ever start acting correctly?
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18652
Hm, now it seems kind of random. I tried restarting Opera, and it worked correctly for several attempts, then incorrectly on one. Tested some more and, well, sometimes it works, sometimes not. I don't notice any pattern.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

It's strange that Opera on OS X is completely well-behaved, but only the Windows version is exhibiting this issue. And non-deterministically at that.

And it's not like I'm doing anything hinky -- the image swap is triggered by simply adding a CSS class that changes the background image.
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

Firefox on Ubuntu - I can place a few guesses and then after that the guesses are placed (per the message window) but the markers never show up.


My Blog | DZone Articles
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

Dang, I had someone running Ubuntu test this and they said it worked fine. Guess the CSS implementations in the browsers aren't as robust as I had hoped. I may have to resort to less elegant ways of effecting the image changes. drat.
Irina Goble
Ranch Hand

Joined: May 09, 2004
Posts: 75
I got a red ball on a red (direct hit) ray. Why would it do so? Can't paste an image here.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

Remember that a ray can bounce around inside the matrix. If at any point it runs head on into a ball, it will be counted as a "hit".

If you do feel that the game is in error (the Game Engine is entirely new so it's not out of the question), please send me an image of the final board at the email address on the Welcome Page of the game.
Irina Goble
Ranch Hand

Joined: May 09, 2004
Posts: 75
I got it. The ray did bounce and hit another ball at 180. Thank you,
it's a fun game!
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50689

Too cool!

P.S. My co-worker -- now addicted to the game -- using Ubuntu and Firefox reports no problems, Gregg, is the problem intermittent or easily reproducible?
 
 
subject: The Black Box: reloaded again
 
Threads others viewed
Locked pop-up windows
help on Licence Plate Recognition
Re-enter the BlackBox
keeping pop up window active until clicked
diasbling the parent window, until pop-up is closed
IntelliJ Java IDE