If somebody could tel me how I make a gun attached to a sprite and the gun can not be the same sprite it would be greatly appreciated.
Offline
First Go to make a sprite and make your gun. Below the color selection the is a button that says set center set the center to wherever you want the person to hold it. Next in the gun's scripts add a script like this: put a when flag clicked block first then under it put a forever loop in the loop put a<go to x )y . then go to sensing palette and get a x position of (whatever sprite you want) block and put it in x of the go to x() y() block do the same with y position and tada you got a gun that stays in hand (or wherever th center of the person is set to)
Offline
That doesnt work because it doesnt stay on the guy when he moves
Offline
4lover wrote:
That doesnt work because it doesnt stay on the guy when he moves
If the gun sprite was named Gun, and the character was named Character,
Make the gun sprite, then put
When green flag clicked
forever
Set X position to X Position of Character
Set Y position to Y Position of Character
/forever
(I meant that to not be in blocks xD)
If this isn't what you want, elaborate more, please. There isn't really enough detail.
Offline
never mind I fixed my gun
Offline