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
LaMerVipere
Jan 19, 11:01 PM
I am afraid that it is not bug free yet, and with all the in-house designed features that it is offering, they simple aren't great enough to offset the way the members act.
Badger^2
May 4, 11:04 AM
Now, once iPhoto has opened/launched, will it operate any faster or smoother if iPhoto is installed on a ssd vs. if it was on a hdd?
Probably not. If your iPhoto library is anything like my iPhoto library -- it would eat up 1/2 of a 256 gig SSD. Same with my iTunes library. And my movies folder.
So your iPhoto library will have to be on the platter drive.
Same people who talk about their "tons of Aperture work with RAW files" -- well those files wont be fitting on a 256 gig SSD.
Probably not. If your iPhoto library is anything like my iPhoto library -- it would eat up 1/2 of a 256 gig SSD. Same with my iTunes library. And my movies folder.
So your iPhoto library will have to be on the platter drive.
Same people who talk about their "tons of Aperture work with RAW files" -- well those files wont be fitting on a 256 gig SSD.
Old Muley
May 5, 10:39 AM
BBB ratings are no longer very reliable. You can get rid of a bad rating by buying advertising from BBB. I never trust a BBB rating anymore.
Yeah, BBB has gotten so bad that I get suspicious of any retailer that brags about their BBB rating. The bigger the BBB logo is on a retailers website, the more problems you're going to have.
Yeah, BBB has gotten so bad that I get suspicious of any retailer that brags about their BBB rating. The bigger the BBB logo is on a retailers website, the more problems you're going to have.
mkrishnan
Nov 9, 08:22 PM
I followed it all the way up to OctaMED Pro. ;)
Oooh, I think I remember that vaguely...But four channels was the best. You had to use up two channels at a time to actually get the sound out of both speakers. But some of the music was *amazing*... Ahhh, good old 8-bit Ensoniq guts. :)
Oooh, I think I remember that vaguely...But four channels was the best. You had to use up two channels at a time to actually get the sound out of both speakers. But some of the music was *amazing*... Ahhh, good old 8-bit Ensoniq guts. :)
me hate windows
Jul 22, 01:16 PM
Is there a way I can use my CRT iMac to boot off of my G4? It runs 8.6 and I wanted to see how it runs 10.2.
I have the install DVD, but it wont work in the iMac since it has a CD drive. If someone can tell me how to install it without ripping everything apart and switching drives that would be appreciated.
I have the install DVD, but it wont work in the iMac since it has a CD drive. If someone can tell me how to install it without ripping everything apart and switching drives that would be appreciated.
rwh202
Mar 6, 01:03 PM
Well, I'm now running a 6040, so not exactly stellar points wise, but better than the 6701:
TPF: 15 min 43 s
PPD: 7445
This is really just an experiment for the mpb - Once I decide on which SSD to get it will become my main home machine.
What is slightly concerning is that the CPU is at 85 C, but the heatsink temperatures are at 45 and 46 C. That really does suggest that the thermal paste isn't doing it's job of letting the heat move to the heatsink.
I'm trying to resist the urge to redo it with some AS5 to see if I can drop the CPU temp, but for normal (non folding!) use I can't see it being a problem.
TPF: 15 min 43 s
PPD: 7445
This is really just an experiment for the mpb - Once I decide on which SSD to get it will become my main home machine.
What is slightly concerning is that the CPU is at 85 C, but the heatsink temperatures are at 45 and 46 C. That really does suggest that the thermal paste isn't doing it's job of letting the heat move to the heatsink.
I'm trying to resist the urge to redo it with some AS5 to see if I can drop the CPU temp, but for normal (non folding!) use I can't see it being a problem.
Chappers
Feb 6, 11:54 AM
I do like my Logitech MX 700 and I would never go back to one button but... as with many things these days (hope I don't sound old) but the logitech lacks build quality. For example the silver paint on the body/buttons is rubbing off and so it looks a bit battered. The charger unit has its moments when the mouse just doesn't want to charge. And to us Brits the power adapter is wired in upside down.
BigBeast
Apr 23, 01:29 PM
Hello everybody.
I have a question about putting the bottom case (plate) back.
Is there a special (or recommended) order to put the screws in to ensure that the bottom case is properly aligned? To avoid wobbling, creaking etc.
Maybe there is some kind of a "service manual" for the Air 2010? (there used to be one for the original Air).
ifixit.com.
'Nuff said.
I have a question about putting the bottom case (plate) back.
Is there a special (or recommended) order to put the screws in to ensure that the bottom case is properly aligned? To avoid wobbling, creaking etc.
Maybe there is some kind of a "service manual" for the Air 2010? (there used to be one for the original Air).
ifixit.com.
'Nuff said.
waterskier2007
Jun 24, 01:19 PM
hey i had said i wanted those but its fine, u can sell them to the other guy
Krafty
Jun 20, 05:47 PM
Really... I can not believe this is a topic.... LIVE YOUR LIVES for the next 4 days...
After getting stung by 2 hornets, I think ill stay inside.....
After getting stung by 2 hornets, I think ill stay inside.....
ulbador
Feb 24, 10:17 AM
So at one point in my code, I use mysqli_ping() to check if a connection to mysql is still alive. In C, doing this will actually reconnect the connection if it dies, but with PHP it just returns true or false, which is fine.
My problem is thus. On occasion, I get this error:
Message: mysqli_ping() [<a href='function.mysqli-ping'>function.mysqli-ping</a>]: Couldn't fetch mysqli
In an effort to prevent this, I have tried EVERYTHING I could think of to prevent the ping from being executed, to absolutely no avail:
if (is_object($conn) && mysqil_ping($conn))
if ($conn != null && mysqli_ping($conn))
if (!empty($conn) && mysqli_ping($conn))
if (isset($conn) && mysqli_ping($conn))
if (!is_null($conn) && mysqli_ping($conn))
try {
mysqli_ping($conn);
} catch (Exception $e){
}
I am totally at the end of my rope on this. Anyone have any suggestions?
Thanks.
My problem is thus. On occasion, I get this error:
Message: mysqli_ping() [<a href='function.mysqli-ping'>function.mysqli-ping</a>]: Couldn't fetch mysqli
In an effort to prevent this, I have tried EVERYTHING I could think of to prevent the ping from being executed, to absolutely no avail:
if (is_object($conn) && mysqil_ping($conn))
if ($conn != null && mysqli_ping($conn))
if (!empty($conn) && mysqli_ping($conn))
if (isset($conn) && mysqli_ping($conn))
if (!is_null($conn) && mysqli_ping($conn))
try {
mysqli_ping($conn);
} catch (Exception $e){
}
I am totally at the end of my rope on this. Anyone have any suggestions?
Thanks.
Blue Velvet
Mar 5, 07:49 PM
forget wasteland
Wasteland serves two main purposes. One, as an example to others. Two, so that people know where their threads have gone. It takes about five seconds to move a thread in there.
In many cases, deleting threads can make more work because the thread starter can often contact mods asking where their thread has disappeared to.
Wasteland serves two main purposes. One, as an example to others. Two, so that people know where their threads have gone. It takes about five seconds to move a thread in there.
In many cases, deleting threads can make more work because the thread starter can often contact mods asking where their thread has disappeared to.
GGJstudios
Apr 11, 03:02 PM
Keep it and upgrade the RAM yourself. It's much cheaper.
vestigo74
Apr 20, 01:55 PM
Man, I almost wigged out. I just bought the iPad version for $19.99... but this 99 cent thing is only for the iPhone/iPod touch versions.
Whew.
Whew.
AFPoster
Feb 23, 07:23 AM
tell you the truth a closing the market is a good thing to prevent crashing. Otherwise it would drop even faster than it does. Market already has rules in place if a stock is dropping to quickly it is shut down and closed for the remainder of the day to protect it from getting out hand and fear taking over.
Only downside is though if it's not a dramatic drop they close as normally and other countries can keep bringing it down. It close friday at $353 and opened Monday at $341. To me this can hurt a lot of people if they wanted to sell at a certain point, or buy at a certain point.
Only downside is though if it's not a dramatic drop they close as normally and other countries can keep bringing it down. It close friday at $353 and opened Monday at $341. To me this can hurt a lot of people if they wanted to sell at a certain point, or buy at a certain point.
curtisinoc
May 4, 10:22 AM
I'm also on the fence about ordering my imac with or without the ssd option.
(forgive my lack of computer knowledge here....): I understand in basic terms, that having the OS and Apps installed on the ssd has many advantages over hhd, such as allowing the imac to boot up the OS and apps faster.
Question:
Lets take the iPhoto app as an example . . . If iPhoto is installed onto the ssd, it should/will launch the app faster than if it was installed onto the hdd - okay, I get that.
Now, once iPhoto has opened/launched, will it operate any faster or smoother if iPhoto is installed on a ssd vs. if it was on a hdd?
(forgive my lack of computer knowledge here....): I understand in basic terms, that having the OS and Apps installed on the ssd has many advantages over hhd, such as allowing the imac to boot up the OS and apps faster.
Question:
Lets take the iPhoto app as an example . . . If iPhoto is installed onto the ssd, it should/will launch the app faster than if it was installed onto the hdd - okay, I get that.
Now, once iPhoto has opened/launched, will it operate any faster or smoother if iPhoto is installed on a ssd vs. if it was on a hdd?
iGary
Sep 23, 10:34 AM
E-Mail #1:
I have a degree in English from the University of Massachusetts and could provide you with some copy editing service when needed (which you presently need).
E-Mail #2:
Meanwhile, you might want to take the extra "s" out of "sunrises".
(On my Web site.)
I have a degree in English from the University of Massachusetts and could provide you with some copy editing service when needed (which you presently need).
E-Mail #2:
Meanwhile, you might want to take the extra "s" out of "sunrises".
(On my Web site.)
TMA
Nov 4, 06:13 PM
I've got the iWalk videos if anyone wants them or wants to host them.
Also just added the leaked Quicksilver pictures, if anyone has any more information on where they came from feel free to edit the page.
I'd really like to see the fake image of the first PowerMac G5. Does anyone remember that one? it looked like it had been cut out of a newspaper and appeared to be a monstrous metallic mesh thing. It wasn't too far off.
Also just added the leaked Quicksilver pictures, if anyone has any more information on where they came from feel free to edit the page.
I'd really like to see the fake image of the first PowerMac G5. Does anyone remember that one? it looked like it had been cut out of a newspaper and appeared to be a monstrous metallic mesh thing. It wasn't too far off.
priceshirley
Mar 4, 08:00 AM
The name is good! I like the idea of adding Umlauts. It will highlight the difference between 'Published� & 'Pablshed�. But you need to work more on logo. It can be improved. All the best!
Vylen
May 5, 06:01 AM
Yep, and if you take good care of it and it loves you back (i.e. no hardware faults) it should last you 5+ years :)
MattInOz
Mar 17, 01:36 AM
Judging by the video and screen shots of Lion it doesn't seem like there are that many elements left that use appearance colour anymore anyway. Seems like active buttons and progress bars are the only ones that use still use this colour. It's gone from Scroll Bars, Group Tabs, Popup Lists.
Yes I'm hoping like Highlight Colour it becomes completely user choice with a few well chosen default colours. I do prefer Graphite personally it's just tones things down to be less garish so although with extreme reduction in use the blue may not be so bad.
Any sign that they maybe standardizing on a sidebar background colour?
What with a couple of greys and a blue across various Apple apps. it would be good if this was user definable as well?
Yes I'm hoping like Highlight Colour it becomes completely user choice with a few well chosen default colours. I do prefer Graphite personally it's just tones things down to be less garish so although with extreme reduction in use the blue may not be so bad.
Any sign that they maybe standardizing on a sidebar background colour?
What with a couple of greys and a blue across various Apple apps. it would be good if this was user definable as well?
Kees Braam
Jan 9, 05:59 PM
Guys, thank you so much for the help! It worked! I'm suprised that it is in fact pretty simple. Thanks again!:):D
celticpride678
Apr 24, 10:05 AM
are you 100% sure about this?? just asking cuz there are times where i wanna charge my phone but its like 5 min before i wanna go to bed and dont wanna charge it for 8 hours . and its always rumored that leaving your charger on overnight will hurt the battery. thats the last thing i wanna do on an iphone since the battery is non removable
Yep, basically every Apple product does this.
Thanks, if you don't mind, I do have one last question. I have been trying to figure out if when I turn my phone off all the way, will it charge so I have turned it on and off a few times. Is this in any way bad for my battery or phone? Thanks :D
Confused. Turning the phone off and on again?
Yep, basically every Apple product does this.
Thanks, if you don't mind, I do have one last question. I have been trying to figure out if when I turn my phone off all the way, will it charge so I have turned it on and off a few times. Is this in any way bad for my battery or phone? Thanks :D
Confused. Turning the phone off and on again?
No comments:
Post a Comment