i have various of sprites that i have them imported as textures, how do i make them work such as moving and or firing? I have a question about collison how do i make my enemy or play know that they are hit?
1 Answer
1sprite is gameobject, so just attach you components to them and they will behave almost same way as plane for example
to handle collisions you need to attach also Unity - Scripting API: Rigidbody2D with Unity - Scripting API: Collider2D and listen to the collision events
Are you new to unity? The question is a little vague as it is not described what type of game you are making. Can you please describe a little more about what you are trying to achieve?
– mkjrfanmkjrfan, yes i am, i want to have both my player and enemy change animations based on sprite sheets based on collisions(gettting hit and dies, moving, firing and taunting) i have made in photoshop using a previous version of unity.I was hoping to use that for my space invaders game if it's possible.
– Jude_the_Dude