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?
Pagina 1 di 1
vincent.dcn
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
2 months ago
- vincent.dcn
- Messaggi: 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. 2 months ago
-
Misaki - Messaggi: 768
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. 2 months ago
-
Harald - Messaggi: 4104
vincent.dcn
BIG HELP. Thanks so much!
---
---
I would to credit your software in the beginning credits. Is this possible?Misaki ha scritto: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.
2 months ago
- vincent.dcn
- Messaggi: 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?
2 months ago
-
Misaki - Messaggi: 768
Mark topic unread
• Pagina 1 di 1
Torna a Unity
- Tutti gli orari sono UTC