[PHP] Re: Another canvas example
Ray Hauge wrote: Richard Heyes wrote: Pretty sweet! My only problem with it is that I had to use the keyboard to get to the Attach button, since I couldn't click on it with it being behind the pie chart in the page's Z-order. Yes, no way around (I think). Even with the buttons z-index set to 99 it still shows up behind the beachball. TAB and the spacebar are your friends I guess... :-) You could make the z-index of the beachball at 1, and then put the rest of the page in a div with a z-index higher than 1. The beachball should then still appear, but be under the div, which allows you to click the button. I ran into the same issue with a game I've been making: http://www.primateapplications.com/trackattack/ Since you're working with the Canvas, you can be reasonably sure that the browser would support doing this. Dude, that's cool it's killed my productivity, but it's cool :D Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Another canvas example
Colin Guthrie wrote: http://www.primateapplications.com/trackattack/ Since you're working with the Canvas, you can be reasonably sure that the browser would support doing this. Dude, that's cool it's killed my productivity, but it's cool :D The Playmobil website has a very similar one, except it's water-pipes and Flash. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Another canvas example
Per Jessen wrote: Colin Guthrie wrote: http://www.primateapplications.com/trackattack/ Since you're working with the Canvas, you can be reasonably sure that the browser would support doing this. Dude, that's cool it's killed my productivity, but it's cool :D The Playmobil website has a very similar one, except it's water-pipes and Flash. /Per Jessen, Zürich My son likes trains, and I was using this as an excuse to learn JavaScript better. My wife's favorite NES game (yes, I collect NES games) was/is Pipe Dream, so I modeled it after that game. It uses Soundmanager2 to play the music and sounds through Flash. All the code is inline, just to make it easier for people to view the code. -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Another canvas example
-Original Message- From: Ray Hauge [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 10:02 AM To: Per Jessen Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Another canvas example ---8--- snip My son likes trains, and I was using this as an excuse to learn JavaScript better. My wife's favorite NES game (yes, I collect NES games) was/is Pipe Dream, so I modeled it after that game. It uses Soundmanager2 to play the music and sounds through Flash. All the code is inline, just to make it easier for people to view the code. You are not alone, my friend! I spend a few hours every so often playing my brains out on Dr. Mario, Ducktales, and Dragon Warrior (and no, the alliteration is not on purpose). :) Todd Boyd Web Programmer