here is the capx
Move the mouse over the screen full of red sprites. The text at the top should always say "Over" however it seems pretty random to me.
If i cant rely on the cursor over object then i cant use it as a condition.
First off, at line "8" you don't need the "every tick" condition in conjunction with the "Is mouse cursor over block2". It will already do that test every tick. It appears that the mouse is able to detect a gap in between the blocks even though it appears that there shouldn't be a gap. If the blocks are made just a little bigger, they overlap and you don't see the momentary "not over".
Im not having a problem at all with it.
Develop games in your browser. Powerful, performant & highly capable.
Yeah i forgot to change that when i took something else out. There shouldnt be a gap really. I suppose making them bigger solves it but thats not ideal.
Thats interesting. I have been testing in chrome as always. Not tried it in other browsers. What are you using?
spongehammer I think this is to do with the tiny gap that appears between sprites, I tried pixel rounding, but still same in both firefox and chrome,so I added a 1x1 nib sprite and that seems to have done the trick...
Ha thats a neat solution, Thanks <img src="smileys/smiley20.gif" border="0" align="middle" />
Firefox nightly it was testing fine for me.
Yeah it works as expected in Firefox for me but in Chrome you can put the mouse pointer in-between two blocks and it's not overlapping.