This Is my code for "PlayerController" inside Visual Studio.
I got most of this from a lovely lady who made a tutorial using her Fruits VS Vegetables game. The tutorial was amazing, it helped me out tons. However, my jump animation is only two frames. After my character goes through those two frames, he starts running again in mid-air. I'm so frustrated because all the tutorials on how to fix this are for using Unity; and nothing for using Spine.Unity; How do I fix it so that the sprint animation doesn't begin until Player has touched the ground?
Страница 1 из 1
vincent.dcn
У вас нет необходимых прав для просмотра вложений в этом сообщении.
1 month ago
- vincent.dcn
- Сообщения: 5
Misaki
Hmm, I'm sorry I'm not sure what's wrong, but our example script of the spine-unity runtime named
BasicPlatformerController.cs
which you can find in Spine Examples/Getting Started/5 Basic Platformer
may be helpful. This one has more detailed judging of jumps and landings, so that might give you some clues. 1 month ago
-
Misaki - Сообщения: 755
Harald
I would recommend to add some debug print (
Debug.Log()
) statements to the relevant sections of your code to figure out what's going wrong. You may want to use the keyboard hotkey Ctrl/Cmd+Shift+P
to pause the game in the Editor, and to then advance frame by frame. 1 month ago
-
Harald - Сообщения: 4088
vincent.dcn
BIG HELP. Thanks so much!
---
---
I would to credit your software in the beginning credits. Is this possible?Misaki писал(а):Hmm, I'm sorry I'm not sure what's wrong, but our example script of the spine-unity runtime namedBasicPlatformerController.cs
which you can find inSpine Examples/Getting Started/5 Basic Platformer
may be helpful. This one has more detailed judging of jumps and landings, so that might give you some clues.
1 month ago
- vincent.dcn
- Сообщения: 5
Misaki
Sure! If you would like to use the Spine logo, you can find the assets here: Brand AssetsI would to credit your software in the beginning credits. Is this possible?
1 month ago
-
Misaki - Сообщения: 755
Mark topic unread
• Страница 1 из 1
Вернуться в Unity
- Часовой пояс: UTC