playMaker

Author Topic: 3D Infinite Runner for Playmaker  (Read 14165 times)

tyrot

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #30 on: June 12, 2018, 06:57:14 AM »
thanks Graham!

do you plan an update as well ? adding best score list for example ?
« Last Edit: June 12, 2018, 06:59:19 AM by tyrot »

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #31 on: June 18, 2018, 01:38:50 PM »
unity 2017.4.5f1 + PM 1.9:
1. did your "IMPORTANT information regarding this template and Playmaker 1.9.0!"
solved that error
2. Deleted the animator folder
3. reimporte PM 1.9

same results: game is laggy and gets interrupted
also why do i see on running the game this ?: http://myprintscreen.com/s/u9qb/31ce24b964
LE: this part is solved with disabing "TouchCamera". Still the controls are imppossible to find.

also, I do not understand where are the controls and where they can be changed
from documentation ?:

http://myprintscreen.com/s/u9q9/3033913007

no.2 i checked and its ok
no.1 on press import it requires a unity package to import ... wich one ?
« Last Edit: June 18, 2018, 01:48:26 PM by vv3 »

Graham

  • Sr. Member
  • ****
  • Posts: 311
  • I Love Playmaker!
    • View Profile
    • Portfolio
Re: 3D Infinite Runner for Playmaker
« Reply #32 on: June 18, 2018, 04:46:17 PM »
unity 2017.4.5f1 + PM 1.9:
1. did your "IMPORTANT information regarding this template and Playmaker 1.9.0!"
solved that error
2. Deleted the animator folder
3. reimporte PM 1.9

same results: game is laggy and gets interrupted
also why do i see on running the game this ?: http://myprintscreen.com/s/u9qb/31ce24b964
LE: this part is solved with disabing "TouchCamera". Still the controls are imppossible to find.

also, I do not understand where are the controls and where they can be changed
from documentation ?:

http://myprintscreen.com/s/u9q9/3033913007

no.2 i checked and its ok
no.1 on press import it requires a unity package to import ... wich one ?

Hi vv3,

1. I submitted an updated package to the Asset Store today that updates the template to Unity 2018. This update contains an assortment of bug fixes, including a solution to the choppy gameplay you are describing. In the meantime, you are able to fix this yourself with a few simple steps.

- Add the gameplay scene to your build settings.
- Playmaker / Tools / Update All FSMs in Build.
- Wait for it to complete and then save the scene.
- Restart Unity and the lag should be gone.

2. The state labels in your image can be disabled by selecting the "PlayMakerGUI" game object in your scene and toggling the "Draw Active State Label" off.

3. The controls can be customized in the "PlayerController" game object, you'll find the movement fsms in there. For example, select the "Middle Lane" state in "Left and Right Movement fsm. You'll notice a "Get Key Down" action for each button, you can simply change these to whatever key you wish.

Let me know how it goes!

I'll post here as soon as the updated package goes live on the asset store.

Cheers

Graham

  • Sr. Member
  • ****
  • Posts: 311
  • I Love Playmaker!
    • View Profile
    • Portfolio
Re: 3D Infinite Runner for Playmaker
« Reply #33 on: June 18, 2018, 04:52:28 PM »
thanks Graham!

do you plan an update as well ? adding best score list for example ?

You're welcome tyrot,

I don't have plans to add new features at this time, I'm focusing on fixing bugs and updating everything to be fully compatible with Unity 2018 right now.

My Breakout Pro template features online leaderboards however, which could totally be adapted to the runner game if you wanted.
https://assetstore.unity.com/packages/templates/breakout-pro-playmaker-64261

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #34 on: June 18, 2018, 11:09:28 PM »
Thank you Graham.

Atm all work good right now and not laggy, but I cant say for how long yet becasue I die fast :) why ? Because I do not have left right changing lanes :)
Here is a printscreeen for the FSM
http://myprintscreen.com/s/u9vf/d5338ee94e
It seems they are correct, yet pressing left right only change a bit the camera view but does not move the player.
I asked here PM help and it seems the cs file should be deleted. Is it affecting the movement this deletion ? http://hutonggames.com/playmakerforum/index.php?topic=18975.0

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #35 on: June 18, 2018, 11:33:14 PM »
Looking in editor I see on Player  Controller many warnings, eg: http://myprintscreen.com/s/u9vn/a239a53a03
I see something with HoTween so I think something is fishy here :) Either that script should work and not be deleted, either I miss something else.

Graham

  • Sr. Member
  • ****
  • Posts: 311
  • I Love Playmaker!
    • View Profile
    • Portfolio
Re: 3D Infinite Runner for Playmaker
« Reply #36 on: June 19, 2018, 05:07:28 AM »
Looking in editor I see on Player  Controller many warnings, eg: http://myprintscreen.com/s/u9vn/a239a53a03
I see something with HoTween so I think something is fishy here :) Either that script should work and not be deleted, either I miss something else.

Are you sure the hotween actions are in the project?

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #37 on: June 19, 2018, 08:36:04 AM »
yes, i imported them from another post here
this att package

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #38 on: June 19, 2018, 08:41:20 AM »
after restarting unity and rebuild it seems the errors went away
check here: http://myprintscreen.com/s/uajh/a0c2a312e4

but still, my character is not changing lanes ...

when the game begins, errors appears and even if in FSM i see the action being changed, nothings happens with the 3rd person.
you can check errors here: http://myprintscreen.com/s/uajw/c6fa9731a3
« Last Edit: June 19, 2018, 08:50:22 AM by vv3 »

Graham

  • Sr. Member
  • ****
  • Posts: 311
  • I Love Playmaker!
    • View Profile
    • Portfolio
Re: 3D Infinite Runner for Playmaker
« Reply #39 on: June 19, 2018, 09:17:22 AM »
after restarting unity and rebuild it seems the errors went away
check here: http://myprintscreen.com/s/uajh/a0c2a312e4

but still, my character is not changing lanes ...

when the game begins, errors appears and even if in FSM i see the action being changed, nothings happens with the 3rd person.
you can check errors here: http://myprintscreen.com/s/uajw/c6fa9731a3

It looks like your hotween actions are the culprit. They cannot be added to the project after running the Playmaker update fsm tools, they must be in the project beforehand. I would start over, it can get very finicky otherwise.

If you send me an email at 3dsauce(at)gmail(dot)com with your Unity purchase invoice number, I can send you a package of the latest update that should automatically fix all of this in Unity 2018.

EDIT: The update is already live on the Unity Asset Store!

Graham

  • Sr. Member
  • ****
  • Posts: 311
  • I Love Playmaker!
    • View Profile
    • Portfolio
Re: 3D Infinite Runner for Playmaker
« Reply #40 on: June 20, 2018, 12:40:37 PM »
The Unity 2018 / Playmaker 1.9.0 support update is available now on the Unity Asset Store!

Installation issues have been resolved.

vv3

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: 3D Infinite Runner for Playmaker
« Reply #41 on: June 21, 2018, 10:53:05 AM »
now it works, thank you!