This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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 ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56538
    
  14

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: 18670
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: 56538
    
  14

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

Joined: Jan 10, 2002
Posts: 56538
    
  14

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: 18670
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: 56538
    
  14

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

Joined: Jul 11, 2001
Posts: 15230

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.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56538
    
  14

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

Joined: Jan 10, 2002
Posts: 56538
    
  14

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

Joined: Jan 10, 2002
Posts: 56538
    
  14

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: The Black Box: reloaded again
 
Similar Threads
help on Licence Plate Recognition
keeping pop up window active until clicked
Re-enter the BlackBox
Locked pop-up windows
diasbling the parent window, until pop-up is closed