Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nylon on March 11, 2021, 06:15:05 AM

Title: I Need Help!
Post by: nylon on March 11, 2021, 06:15:05 AM
Hello all.

I'm very new to the game development and to the playmaker. First, i'm trying to understand the basics, the interface, etc.

I created a simple scene which you can see at the below. And i did some visual scripting to get my player moving, also can be seen at the below. Although, my character gets very slow at the little hike and seems like there is something wrongh with the gravity. I can't even understand whats wrong, so i that's why i can't intervene. Can someone explain what's going on and what can i do to fix this?

Thanks!

(By the way, can you please suggest some 2d Playmaker tutorials? There is just a few, and i feel like this process is gonna get harder. :) )

testscene: https://hizliresim.com/TzuUyq
fsm: https://hizliresim.com/hargbu
https://hizliresim.com/YRVk9i
https://hizliresim.com/gRTEjk
https://hizliresim.com/4n0pDJ
https://hizliresim.com/sZicSe
https://hizliresim.com/lmqklt

weird movement: https://streamable.com/ivfoq0
Title: Re: I Need Help!
Post by: djaydino on March 11, 2021, 07:48:29 AM
Hi.
On the 'Set Velocity' action set 'Vector' to 'none' (click the = on the right)
Title: Re: I Need Help!
Post by: nylon on March 14, 2021, 09:24:45 AM
Oh :) Thank you very much, my friend!

I've got an another question but i did not want to make an another subject for it so i'm gonna ask from here:

I'm using the cinemachine, and i'm draggin my "player (fsm)" to the "follow" section below the virtual camera settings. Though, my character sprite and my character fsm's are in the different places. Playmaker fsm logo is on the above of the character, and camera follows that, not my sprite. And when i try to move the fsm logo to on my player asset, my sprite and the player fsm logos are moving together.

(can be seen at the attachment.)
Title: Re: I Need Help!
Post by: djaydino on March 14, 2021, 10:59:25 AM
Hi.
On the CinemachineVirtualCamera Component you can change the follow object.

You can place in the sprite OR make a empty object as a child on the Sprite or player and make it follow that.
The empty object gives you more freedom of moving the follow position.