ulbador
Apr 6, 09:08 PM
Somebody out there on a game specific programming forum should be able to answer this.
Google tells me Space Invaders came out in 1978, which means there are probably many many people who have done this over the years. While off the top of my head, I can think of a handful (and probably a bit hacky) ways of doing this, I wouldn't be surprised if there was a fairly quick and simple method of accomplishing this.
As you are using Cocos2d, probably the easiest way in my brain would be to just detect where your "bullet" sprite hits your barrier sprite. Then, using the bitmasking mentioned above, you would replace the collided/destroyed piece of your barrier with the background.
Edit:
Found something that outlines this:
http://stackoverflow.com/questions/2015863/iphone-i-am-using-cocos2d-and-need-the-rgba-value-of-a-pixel-on-a-sprite
Google tells me Space Invaders came out in 1978, which means there are probably many many people who have done this over the years. While off the top of my head, I can think of a handful (and probably a bit hacky) ways of doing this, I wouldn't be surprised if there was a fairly quick and simple method of accomplishing this.
As you are using Cocos2d, probably the easiest way in my brain would be to just detect where your "bullet" sprite hits your barrier sprite. Then, using the bitmasking mentioned above, you would replace the collided/destroyed piece of your barrier with the background.
Edit:
Found something that outlines this:
http://stackoverflow.com/questions/2015863/iphone-i-am-using-cocos2d-and-need-the-rgba-value-of-a-pixel-on-a-sprite
Ommid
Apr 22, 01:21 PM
Problem is the fans on this model are on the base, try keeping it off the floor
Duff-Man
Mar 31, 08:08 PM
I don't know why TechCrunch is claiming this is an "internal GM", maybe they know something I don't, but as it stands it seems they are just causing confusion.
Duff-Man says....I suspect that someone just misunderstood or misinterpreted something they heard or were told. Perhaps what was said regarding which build to release as the 2nd preview got twisted into being *the* GM release....oh yeah!
Duff-Man says....I suspect that someone just misunderstood or misinterpreted something they heard or were told. Perhaps what was said regarding which build to release as the 2nd preview got twisted into being *the* GM release....oh yeah!
seek3r
Apr 26, 12:51 AM
Just so you know there are no military applications that benefit from this.
Well, that's not true either, weapons modeling comes to mind for one, so does mapping and GIS work, nuclear physics, both modeling (though, like MD, most likely done on a cluster, not local) and post-process...
Well, that's not true either, weapons modeling comes to mind for one, so does mapping and GIS work, nuclear physics, both modeling (though, like MD, most likely done on a cluster, not local) and post-process...
more...
SmilesLots
Apr 14, 03:45 PM
Check the SMART data on the drive and do a short test:
http://www.volitans-software.com/smart_utility.php
What is smart data and how do you check it?
http://www.volitans-software.com/smart_utility.php
What is smart data and how do you check it?
stewacide
Sep 29, 01:58 AM
Anyone else notices that iWork will only update if the apps' are in Applications/iWork 06? That's poor design / very un-Apple: why can't I put my apps where I like?
Apple even has a support doc mentioning this issue? http://docs.info.apple.com/article.html?artnum=301573
Why not actually correct it?!?
Apple even has a support doc mentioning this issue? http://docs.info.apple.com/article.html?artnum=301573
Why not actually correct it?!?
more...
mad jew
Dec 16, 05:54 PM
Thank you very much! Is it normal that they pull the antenna cable when replacing the LCD?
Well, no, but it's a pretty tight fit in there so it seems feasible.
Oh, and do you have an AirPort base station? I'm assuming you cannot connect to any wireless networks, right?
Well, no, but it's a pretty tight fit in there so it seems feasible.
Oh, and do you have an AirPort base station? I'm assuming you cannot connect to any wireless networks, right?
Hans Brix
Feb 22, 10:36 PM
All companies mark up the price on RAM upgrades.
more...
trainguy77
Nov 11, 11:57 PM
So is anyone else using the beta besides me? It seems to run ok. Still needs work, for example it does not use all more cores to %100. It also uses ALOT of ram. Around 50 mb per core times 4. and thats real ram not including virtual. That alot of ram when you only have a GB. :(
I fold with Team MacOS X.
Would you be interested in switching? You user points stay with your.....besides macrumors is such a better team, we may not have as much output but we have GREAT forums that can't be beat.:D
I fold with Team MacOS X.
Would you be interested in switching? You user points stay with your.....besides macrumors is such a better team, we may not have as much output but we have GREAT forums that can't be beat.:D
AHDuke99
Mar 13, 11:13 PM
http://www.redmondpie.com/jailbreak-4.3-on-windows-iphone-4-3gs-ipad-ipod-touch-using-sn0wbreeze-how-to-guide/
sn0wbreeze is pro... after trying to get pwnagetool to work for hours yesterday, i used the new sn0wbreeze release and got my ipad to tethered 4.3 JB in about 10 minutes! :)
For some reason, I always get error 3601 whenever I try to restore on iTunes. I can't get it to work!
sn0wbreeze is pro... after trying to get pwnagetool to work for hours yesterday, i used the new sn0wbreeze release and got my ipad to tethered 4.3 JB in about 10 minutes! :)
For some reason, I always get error 3601 whenever I try to restore on iTunes. I can't get it to work!
more...
Applejuiced
May 4, 01:44 PM
Excellent news! I think we can infer from this that Apple has nothing more then a skeleton crew working on 4.x at this point. I am sure all resources are hard at work on 5.x .
Cant blame them, they probably got more important things to focus on than patching jailbreaks.
Hope they become more lenient on JB in general.
Cant blame them, they probably got more important things to focus on than patching jailbreaks.
Hope they become more lenient on JB in general.
michaelrjohnson
Jul 13, 12:10 AM
actually, if there were some layers (i.e. mixing some of the existing tracks) to get some more depth, it could be quite nice.
more...
Legion93
Apr 23, 08:14 PM
Jeff Goldblum brought down an entire alien fleet with less than 64GB.....
Image (http://d2o7bfz2il9cb7.cloudfront.net/main-qimg-1996deb31129c1d6595d9b6ca1d722f0)
Haha, luckily it wasn't independence day for him, since using a windows XP machine (I would presume) would cause a destruction of an alien mothership, and besides, how can you upload a virus to a ship the size of Jupiter in literally 60 seconds? You would need quantum-core infinite RAM with turbo powered processors, enough to power the sun.
Image (http://d2o7bfz2il9cb7.cloudfront.net/main-qimg-1996deb31129c1d6595d9b6ca1d722f0)
Haha, luckily it wasn't independence day for him, since using a windows XP machine (I would presume) would cause a destruction of an alien mothership, and besides, how can you upload a virus to a ship the size of Jupiter in literally 60 seconds? You would need quantum-core infinite RAM with turbo powered processors, enough to power the sun.
Malice604
Mar 25, 04:54 PM
Lineup reaches Blenz (Dunsmuir) from the side entrance to the mall (like the iPhone 4 launch). The store was packed, but they are pushing everyone out at 3:00pm.
Good luck to everyone!
Good luck to everyone!
more...
designguy79
Feb 11, 08:12 AM
My favorite is SilverStripe. Not as widely used or known, but I love the flexibility it gives me as a developer and it is pretty user-friendly, too.
Side note -- Ruby on Rails is framework, not really a CMS. It would be comparable to Cake, Symfony or Yii (frameworks for PHP).
Side note -- Ruby on Rails is framework, not really a CMS. It would be comparable to Cake, Symfony or Yii (frameworks for PHP).
SuperCachetes
Mar 9, 06:25 PM
We should all post pictures of ourselves so that when we respond to posts people can picture us in their heads.
Oh, don't worry... I think people already picture each other in their heads. Just probably incorrectly in most cases. ;)
Oh, don't worry... I think people already picture each other in their heads. Just probably incorrectly in most cases. ;)
more...
Cromulent
Dec 28, 12:39 PM
Done.
All invitations are gone now.
All invitations are gone now.
Dreadnought
Jan 23, 01:59 PM
you can also run two instances of folding on a machine with hypertreading, that could possibly be more easy.
Koodauw
Nov 28, 03:42 PM
I used the V400 for a while. We didnt get a long to well. It was fine, the battery life was fine for me. Nothing un reasonable. 3-4 days is what I got. I seemed rather slow n sluggish at times. It also scratches very easier. Then my backlight died on it. ( Just one day went out.) I went into Cingular and they gave me a new one on the spot.
I was done with the phone though, and bought a V600 at the same time. (sold the new V400 on ebay) It much more durable IMO opinion.
I've since bought a V3.
All in all its a good phone. Nothing special IMO. but solid.
I was done with the phone though, and bought a V600 at the same time. (sold the new V400 on ebay) It much more durable IMO opinion.
I've since bought a V3.
All in all its a good phone. Nothing special IMO. but solid.
eva01
Dec 6, 04:03 PM
Are you sure your computer isn't saying "Could not load MySpace, Reason: It's for 13 year old losers."? ;)
I'm sorry, I can't stand that site.
woo someone else that hates MySpace, YAY!!!!!
i can't stand that place and too many people i know are on it.
I'm sorry, I can't stand that site.
woo someone else that hates MySpace, YAY!!!!!
i can't stand that place and too many people i know are on it.
michaelrjohnson
Jul 13, 12:10 AM
actually, if there were some layers (i.e. mixing some of the existing tracks) to get some more depth, it could be quite nice.
Sun Baked
Dec 5, 09:49 PM
a 500 dually should be planty fast, although im not sure if those 2 500s act as a 1ghz in osx, or if the application has to be multithreaded
maybe somone could answer thatActs as two 500MHz CPUs, the OS does a decent job of handling the threads in Tiger now.
But most apps aren't really multithreaded, unless you take a look at some of the Pro apps.
Even with BSDs SMPng, people still say there are some problems with the way Tiger handles threads and a ways to go.
But there is a lot to like about OS Xs SMP capability also.
OS X is much better than OS 9, which would basically make use of the machine as a single 500 MHz machine -- except for the apps that make use of the multi-CPU extension for some of their filters and plug-ins.
maybe somone could answer thatActs as two 500MHz CPUs, the OS does a decent job of handling the threads in Tiger now.
But most apps aren't really multithreaded, unless you take a look at some of the Pro apps.
Even with BSDs SMPng, people still say there are some problems with the way Tiger handles threads and a ways to go.
But there is a lot to like about OS Xs SMP capability also.
OS X is much better than OS 9, which would basically make use of the machine as a single 500 MHz machine -- except for the apps that make use of the multi-CPU extension for some of their filters and plug-ins.
rhett7660
Nov 26, 09:56 AM
Thank you very much! Excellent post. Printed and saved for future reference!
Sweetfeld28
Jan 13, 12:02 PM
Personally i think that they both should just play nice.
I mean why doesn't Apple just do what they did with the Apple TV. Throw the Apple Logo in front of it. Then Linksys should do the same.
Digg this:
Cisco lost rights to iPhone trademark last year, experts say. (http://blogs.zdnet.com/Burnette/?p=236)
Cisco claims Apple created phony company to sidestep iPhone trademark. (http://money.canoe.ca/News/TopPhoto/2007/01/10/3279889-ap.html)
I mean why doesn't Apple just do what they did with the Apple TV. Throw the Apple Logo in front of it. Then Linksys should do the same.
Digg this:
Cisco lost rights to iPhone trademark last year, experts say. (http://blogs.zdnet.com/Burnette/?p=236)
Cisco claims Apple created phony company to sidestep iPhone trademark. (http://money.canoe.ca/News/TopPhoto/2007/01/10/3279889-ap.html)
No comments:
Post a Comment