Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: Jam0864 on 2006-08-10, 02:03:02 AM
-
my sprite wont hit my other sprite i usually get it to work quite easily but i think its because one sprite is 32x32 the other 120x120 so one is nearly 4 times bigger than the other (boss level) so i need help if it just dont work like that and i have to make him smaller i will do that just tell me whats wrong
-
Check that:
1) The colliding sprites are on the same layer
2) They are members ot fht correct collision class
3) The collision is defined between these classes correctly
4) Non-transparent pixels are overlapping during the collision
5) Neither sprite is set to "Simple (Scripted)"
If all those are true, then I think a collision should be occurring. If you can't figure out why it isn't, I may have to investigate your project. Got a place to post it?
-
yep they were on different layers i didnt think that would matter at the time thanks ;D