playMaker

Author Topic: ArrayMaker Tutorials for All! (5th UP!)  (Read 85578 times)

Mutajon

  • Playmaker Newbie
  • *
  • Posts: 25
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #120 on: October 28, 2015, 04:32:52 AM »
Thanks for the informative answer :)

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #121 on: February 09, 2016, 02:31:02 PM »
I recently fired up the simon says example, and with the custom actions needed to be imported into the project. Problem is it pauses the game. So I get a error message when I click one of the color buttons.

Code: [Select]
The fsmVar value <UnityEngine.GameObject> doesn't match the value <System.Single> on stateCheck Input on fsm:Sebas Says Controller on GameObject:SebasController
UnityEngine.Debug:LogError(Object)

I am using playmaker 1.7.8.3 because it didn't work on my end using 1.8 when I imported it into Unity 5.1.3f1.

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #122 on: February 09, 2016, 02:52:16 PM »
Hey, how goes it.

If you check out the array list proxy, you'll see that its not adding the game objects like it is in the video. This is because if you look for the state "Add to List" it has Floats selected for the Type. We are not trying to place floats, we are trying to place the game object buttons that were selected in the state before.

Change the type from float to gameobject and set the variable to buttonObj _go

It might have been an error on my part or a conversion error from Unity 4 to Unity 5, either way, I got to the solution by investigating the array's value since the error came from there.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #123 on: February 09, 2016, 03:00:40 PM »

It might have been an error on my part or a conversion error from Unity 4 to Unity 5, either way, I got to the solution by investigating the array's value since the error came from there.

Meaning conversion of ecosystem 4.2 and playmaker 1.7.8.3?

Bare in mind, I think I imported the playmaker 1.7 package located in the Unity5.0 folder. Not the 4.3 folder. Also, I didn't take a existing project from 4.7 or 4.6.3. It's a fresh one made from 5.1.3f1 before importing your scene.
« Last Edit: February 09, 2016, 03:02:28 PM by coffeeANDsoda »

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #124 on: February 09, 2016, 03:04:18 PM »
It might have been from any sorts of things, since it's been a while since I have opened that project. More importantly, the solution should be the same.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #125 on: February 11, 2016, 01:34:59 AM »
Oh ok. How could I properly use cubes to move instead of lighting up?

I thought instead of setting materials, I could set up itween moves on each cubes Z'd with standard positive/negative directions. But when I use Get Position on the state with a MOUSE EXIT global, they both move as oppose to only moving one at a time.

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #126 on: February 11, 2016, 09:32:52 AM »
Thats a good idea for changing the game.

If mouse exit didn't work, try some other things. I know the logic behind setting things up can be tricky but its also rewarding when discovered. good luck with it!
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #127 on: February 16, 2016, 04:03:17 PM »
BTW sebaslive, I got a error message that has a similar problem with your ArrayList_01 scene.

Code: [Select]
The fsmVar value <UnityEngine.GameObject> doesn't match the value <System.Single> on stateDrop Cube on fsm:ClickHover on GameObject:Hover
UnityEngine.Debug:LogError(Object)
PlayMakerUtils:ApplyValueToFsmVar(Fsm, FsmVar, Object) (at Assets/PlayMaker Utils/PlayMakerUtils_FsmVar.cs:324)
HutongGames.PlayMaker.Actions.ArrayListGetNext:GetItemAtIndex() (at Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListGetNext.cs:187)
HutongGames.PlayMaker.Actions.ArrayListGetNext:DoGetNextItem() (at Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListGetNext.cs:132)
HutongGames.PlayMaker.Actions.ArrayListGetNext:OnEnter() (at Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListGetNext.cs:111)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:UpdateState(FsmState)
HutongGames.PlayMaker.Fsm:Update()
PlayMakerFSM:Update()

Plus would it be logical to use hashtables on the hover FSM?

replikant

  • Playmaker Newbie
  • *
  • Posts: 42
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #128 on: April 29, 2016, 10:34:02 PM »
hello on your SimonSays tutorial, the greenButton yellowButton have an action mission on mine, which one is it?

it says, Missing Action, Action Name: GetMaterialColor
first state : Get color


also, could you make a tetris tutorial with arraymaker? thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #129 on: April 30, 2016, 05:17:09 PM »
Hi,
i am actually working on a Tetris tutorial but it won't be done this week (to much work)
But i wil try to work on it next weekend.

for the missing action you can find it on the EcoSystem

search for the action name : "GetMaterialColor"

replikant

  • Playmaker Newbie
  • *
  • Posts: 42
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #130 on: May 01, 2016, 02:19:02 AM »
thanks and thanks. waiting for the tetris tutorial

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #131 on: May 01, 2016, 12:48:40 PM »
Hi,
i am actually working on a Tetris tutorial but it won't be done this week (to much work)
But i will try to work on it next weekend.

So in the coming weeks you plan on releasing a tutorial series? Not that I haven't been trying to get a hang of arraymaker, but I don't understand properly setting up prefab blocks to rotate a direction properly like in that game.

Especially when it comes to objects being destroy when the same tag or object collides with more than two prefabs.


« Last Edit: May 01, 2016, 01:41:02 PM by coffeeANDsoda »

replikant

  • Playmaker Newbie
  • *
  • Posts: 42
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #132 on: May 28, 2016, 02:38:26 AM »
hello djaydino

what happened to the tetris tutorial?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #133 on: May 28, 2016, 06:09:10 PM »
Hi,
i got everything working now and i am still testing if there are no errors, i made a webgl build and you can test it out here
You should play in on firefox, on chrome it is a bit laggy and sometimes not working at all.
Especially moving left/right.
But the problem is in webgl and chrome.

I will try to make the tutorial video this week.
It is a kinda big tutorial to explain everything so i have a lot of text to prepare and to look on what i have to explain 1st. That is the hardest part on making a tutorial.

replikant

  • Playmaker Newbie
  • *
  • Posts: 42
Re: ArrayMaker Tutorials for All! (5th UP!)
« Reply #134 on: May 28, 2016, 08:33:13 PM »
the game works great, I just played it. waiting for the tutorial