GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2011-Jul-27

Title: Strange behavior on collisions in Palm Pre
Post by: mentalthink on 2011-Jul-27
HI yesterday making probes, I notice in Palm Pre the collisions works at the inverse than PC.

ej
if sprcoll(param1,param2,param3,param1b,param2b,param3b)=1  

in PC works but in Palm Pre not, in this device I have to put this:

if sprcoll(param1,param2,param3,param1b,param2b,param3b)=0,

it´s a problem in V10, or I stay making something wrong.

Anybody can confirm this?¿.

Kinds Regards,
Iván J.
 
Title: Re: Strange behavior on collisions in Palm Pre
Post by: Kitty Hello on 2011-Jul-27
Does it work at all? I think there were some issues when SPRCOLL might not work at all on the Pre.

Please load a 2x2 pixel image with a transparent pixel, and use SPRITE2MEM. Then print the 4 colour values for these dots. Are the alpha-bits set?
Title: Re: Strange behavior on collisions in Palm Pre
Post by: mentalthink on 2011-Jul-27
ok Gernnot, later I make the test, and tell you the result whit MEMSPRITE.

Thanks

Kinds Regards,
Iván J.