aspose file tools*
The moose likes Game Development and the fly likes The Black Box: reloaded again Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "The Black Box: reloaded again" Watch "The Black Box: reloaded again" New topic
Author

The Black Box: reloaded again

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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


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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
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 ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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: 18671
Opera 9.26 running on Windows 2000.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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: 18671
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 ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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: 91
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 ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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: 91
I got it. The ray did bounce and hit another ball at 180. Thank you,
it's a fun game!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The Black Box: reloaded again