Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi there...sry i have a question about unity in 2d mode ...if u know help me....in fact i have some scorpion sprite sheets from mortal kombat in diffrent motions(idle,walking,jumping,ducking,etc)..how can i use all of the motions?should i load all of them at the same time? if yes..how can i start it with idle and then walking and another moves when i pressing any button? and is there any sample code for this? thanks alot

EDIT(From Comment)
you konw...i meant i need a character controller script for 2d tools of unity game engine...i have diffrent motion of my character and i need a source code for inspiring my character...for example a script for when i hit D button the character going to right side of the screen and when i hit A button the character going to the left side or Space for jumping for example...something like this...any hope?
Posted
Updated 11-Apr-14 2:31am
v2
Comments
thatraja 11-Apr-14 6:56am    
Not enough details. Update your question with more details & examples.....if possible include screenshot link
Sepehr M 11-Apr-14 7:09am    
you konw...i meant i need a character controller script for 2d tools of unity game engine...i have diffrent motion of my character and i need a source code for inspiring my character...for example a script for when i hit D button the character going to right side of the screen and when i hit A button the character going to the left side or Space for jumping for example...something like this...any hope?
[no name] 11-Apr-14 9:26am    
Okay... and? I don't see a single line of C# code that you have written nor do I see any description of a problem with the code that you have written.
Sepehr M 11-Apr-14 9:46am    
i did not written any code...i want a sample example to starting code...the problem is that i dont know how can i make this code...i heard that there is some sample code for this work on the net but i did not found that...
[no name] 11-Apr-14 10:19am    
Okay so what is it that you expect from us? You don't have a real problem for us to work with.... I would suggest that you go find the documentation for Unity3D and start doing some research.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900