プレイ日記
Quote QuoteGamer
I REALLY need help, guys. Does anyone know how to make sprite collision where you can touch them for actions like talking, but instead of being able to bug through them, just be able walk into them, but they hold you back. Can someone PLEASE help?!
1そうだね
プレイ済み
返信[1]
親投稿
Autz sonic-HD8765
Check the direction the player is moving and, based on that, check if there's something on the way. If there's nothing, then draw the sprite on the new position. Else, maintain previous position.
0そうだね
プレイ済み
返信[2]
親投稿
Chickens32 Chickens32
That's what I did. And BTW Quote, why'd you rated my game a 32%? I'm not offended, I'd just like to know what to change so I can fix it and boost your rating.
0そうだね
プレイ済み
返信[3]
親投稿
Quote QuoteGamer
I need a visual Autz, I don't understand what you are saying...
0そうだね
プレイ済み
返信[4]
親投稿
sonic-HD8765 sonic-HD8765
運営者により削除されました。 コメントのID : 3DB-NBL7-DPU-2NKZ-FJK-Z3BT
返信[5]
親投稿
Quote QuoteGamer
Problem: When thet touch, they stick and won't let go....
0そうだね
プレイ済み
返信[6]
親投稿
Quote QuoteGamer
they*
0そうだね
プレイ済み
返信[7]
親投稿
Quote QuoteGamer
And what do you mean by "Relocate the sprite?"
0そうだね
プレイ済み
返信[8]
親投稿
Autz sonic-HD8765
"Relocate" because, if you analyze the code, the loop continues as long the sprite is touching something, and what it does is to "relocate" the sprite until he's not touching anything. And read again: Dummy code. Optimize it depends on how you're setting things up.
0そうだね
プレイ済み