
dutchchilly
Apr 6, 04:28 AM
Hi guys,
I'm working on a Space Invaders testcase.
You know those barriers right? Where you can hide behind and shoot a hole through? That's what I want to achieve.
Is it possible to do a collisiondetection pixelwise? And make a series of pixels of that sprite transparent after collision?
I'm using Cocos2d by the way.
Cheers
I think I'll have to go with a custom MutableTexture2d for fast getting and setting of pixels:
http://www.cocos2d-iphone.org/forum/topic/2449
My idea is:
- First do a pixel perfect collision detection using the pixelAt function
- If there's a collision do a 'sprite merge' with one sprite being an impact-radius sprite and of course the barrier sprite using setPixelAt.
Hope that's going to work out (performance).
Any other thoughts on the subject are very welcome.
Cheers
I'm working on a Space Invaders testcase.
You know those barriers right? Where you can hide behind and shoot a hole through? That's what I want to achieve.
Is it possible to do a collisiondetection pixelwise? And make a series of pixels of that sprite transparent after collision?
I'm using Cocos2d by the way.
Cheers
I think I'll have to go with a custom MutableTexture2d for fast getting and setting of pixels:
http://www.cocos2d-iphone.org/forum/topic/2449
My idea is:
- First do a pixel perfect collision detection using the pixelAt function
- If there's a collision do a 'sprite merge' with one sprite being an impact-radius sprite and of course the barrier sprite using setPixelAt.
Hope that's going to work out (performance).
Any other thoughts on the subject are very welcome.
Cheers

mag2001
Oct 2, 05:06 PM
would you trade for a wii?

craig1410
Apr 30, 06:01 PM
Hi,
I've got a 2007 Aluminium iMac and I've noticed these last few weeks that it is spinning the beach ball a bit more than before and has to have a little think about things when I ask it to do something from time to time.
Time for a spring clean I think. :D
So, can anyone point a tech-savvy person towards some good articles or forum threads on how to get my Mac operating again as it should?
My machine was running Tiger when I bought it and was upgraded to Leopard then Snow Leopard. I've never done a reinstall and to be honest I was hoping I wouldn't have to. I'm 100% comfortable with messing with files, folders, plists and pretty much anything else on the Mac. If I'm honest I'm just looking for a cheat sheet for regaining performance on my machine without having to figure it out for myself... :o
Thanks in advance for any help,
Craig.
I've got a 2007 Aluminium iMac and I've noticed these last few weeks that it is spinning the beach ball a bit more than before and has to have a little think about things when I ask it to do something from time to time.
Time for a spring clean I think. :D
So, can anyone point a tech-savvy person towards some good articles or forum threads on how to get my Mac operating again as it should?
My machine was running Tiger when I bought it and was upgraded to Leopard then Snow Leopard. I've never done a reinstall and to be honest I was hoping I wouldn't have to. I'm 100% comfortable with messing with files, folders, plists and pretty much anything else on the Mac. If I'm honest I'm just looking for a cheat sheet for regaining performance on my machine without having to figure it out for myself... :o
Thanks in advance for any help,
Craig.

kalimojo
Apr 9, 08:22 AM
Xcode on leopard 10.5.8
Hi
Im a recent switcher. I bought a powerbook g4 on ebay and it came without an install disk. I now want to run gcc and found that i need xcode 3.1.4. Any idea where I can get it ? preferably free.
tia
Hi
Im a recent switcher. I bought a powerbook g4 on ebay and it came without an install disk. I now want to run gcc and found that i need xcode 3.1.4. Any idea where I can get it ? preferably free.
tia
more...

mcarnes
Sep 10, 09:07 AM
Bill Gates! Maybe you guys are too young to remember that. I thought it was the end of Apple, or at least the end of the Apple I knew and loved.
Whew, glad it turned out ok.
Whew, glad it turned out ok.

JowFlowAble
Feb 14, 05:08 AM
i am jailbroken on my ipod touch 4gen and when i tryed, it never worked :( :mad: :mad: :confused:
more...

Doctor Q
Oct 16, 05:42 PM
You certainly work fast!

VideoNewbie
Nov 29, 04:10 AM
Hey i sent you a PM. pls check it when u get a chance thank u
bump
lucidmedia never answered my pm..
any of his/her friends mind giving him a nudge?
i still need more concrete clarification on whether to trademark or copyright the logo for my company...
(ps i am 18 years old so need to make best decision by research done online dont currently have funds to hire a copyright lawyer to make the decision for me)
bump
lucidmedia never answered my pm..
any of his/her friends mind giving him a nudge?
i still need more concrete clarification on whether to trademark or copyright the logo for my company...
(ps i am 18 years old so need to make best decision by research done online dont currently have funds to hire a copyright lawyer to make the decision for me)
more...

MrMacMan
Jan 31, 01:50 AM
Isn't there a set amount of levels you can define?
Or is this like a page of 1000 empty blocks for
0-50 Newbie
50-__
... ect.
How many modifiable field could there be.
Arn, willing to give us a hint?
Please. :confused:
Or is this like a page of 1000 empty blocks for
0-50 Newbie
50-__
... ect.
How many modifiable field could there be.
Arn, willing to give us a hint?
Please. :confused:

FasterDada
Jul 1, 10:52 PM
Coolio, thanks y'all.
more...

MrWinters
May 5, 10:56 AM
OK I see the problem with Netflix, Microsoft not support PPC in Silverlight (well at least for the Macs), obviously the processor in the XBox is a tad different..

Shagrat
Oct 29, 12:16 PM
Thanks, Shagrat! I hadn't heard of that site, it looks like it could be very useful! :cool:
Great site, not unlike this one:- a lot of people who seem to enjoy a good barney every once in a while. Some N00bs, some real old hands, a good mix!
Been going there for a while. :D
Great site, not unlike this one:- a lot of people who seem to enjoy a good barney every once in a while. Some N00bs, some real old hands, a good mix!
Been going there for a while. :D
more...

p0intblank
Dec 6, 02:49 PM
What will you be using it for? I always suggest the Mac mini as the "switcher machine." But a Power Mac G4 will also be nice, especially since it is easy to upgrade.

cbegf
Nov 13, 09:51 PM
You can't just turn it on..........then continually move the mouse around and around and around and around?
To stop it coming on?
nope that doesnt work either
To stop it coming on?
nope that doesnt work either
more...

scem0
Oct 14, 10:29 PM
Would I be considered 'old school'?
I've been here for quite a while...
but not nearly as long as some people.
scem0
I've been here for quite a while...
but not nearly as long as some people.
scem0

l.a.rossmann
Mar 27, 12:46 AM
Screenaid should be in the Hall of Shame.. Maybe yours was a beginners luck purchase but keep ordering and they'll get you. Google screenaid before you order anything. Several of my colleagues in the industry have blacklisted them
more...

Jane Fonda in Klute

Jane Fonda Alan Pakula: Klute

Classic: Fonda as prostitute
more...

Cindori
May 1, 04:40 AM
I would recommend to hold off any GPU purchases until Lion is released.

Eraserhead
Feb 27, 08:17 AM
Very good point on the friend of marriage thing. Britney Spears is pretty clearly a very big friend of marriage.

acedickson
May 4, 01:22 PM
If they do announce, and release, at WWDC anyone buying a MBP within a month or two before may also get a discounted price on Lion.
nomad01
Sep 21, 05:28 AM
I'm getting a PowerMac sometime soon and want to add a second hard drive pretty much straight away.
I'm looking at two on eBuyer that are priced well but just wondered if anyone had any advice.
Ones I'm looking at are:
Western Digital WD2500JD 250Gb 8mb Cache 7200rpm Serial ATA
or
Maxtor 6L250S0 Diamondmax 10 250GB 7200rpm Serial ATA150 16mb Cache
Thanks
Steve
I'm looking at two on eBuyer that are priced well but just wondered if anyone had any advice.
Ones I'm looking at are:
Western Digital WD2500JD 250Gb 8mb Cache 7200rpm Serial ATA
or
Maxtor 6L250S0 Diamondmax 10 250GB 7200rpm Serial ATA150 16mb Cache
Thanks
Steve
robbieduncan
Mar 24, 09:53 AM
focus on the eyes or some part of the face and then reposition. sometimes it comes out the way i want
I would suggest this could be the problem: when you reposition you are probably altering the distance between the lens and the subject somewhat.
I would suggest this could be the problem: when you reposition you are probably altering the distance between the lens and the subject somewhat.
daneoni
Apr 22, 04:31 PM
I had my EMP primed and ready.
BTGeekboy
Apr 27, 09:27 PM
What's everyone's SSD preferred SSD these days? I've got a 2010 MBP, so the Vertex 3 is not a good choice (expensive and less performant on a 3gbps connection), and I'm afraid of getting the junk version of the Vertex 2.
I've heard good things about OWC, but I have a bunch of Amazon gift certificates ($260 worth), so they're unfortunately not an option. (The only 240GB I could find on there was from one seller I've never heard of, memoryc -- no thanks.)
I'd like to get over 200GB if the price is right.
I've heard good things about OWC, but I have a bunch of Amazon gift certificates ($260 worth), so they're unfortunately not an option. (The only 240GB I could find on there was from one seller I've never heard of, memoryc -- no thanks.)
I'd like to get over 200GB if the price is right.
Jetson
Jan 3, 02:37 PM
I haven't have any problems burning AAC to CD.
Here is a link to a discussion of AAC issues. Hopefully your answer is there (if you've not already seen this website).
Good luck.
the.taoofmac.com/space/AAC (http://)
Here is a link to a discussion of AAC issues. Hopefully your answer is there (if you've not already seen this website).
Good luck.
the.taoofmac.com/space/AAC (http://)
No comments:
Post a Comment