playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - djaydino

Pages: 1 ... 144 145 [146] 147 148 ... 151
2176
Playmaker Help / Re: Can more than 1 criteria be used to send an event?
« on: December 25, 2014, 10:12:33 PM »
use a global bool on each button in their own fsm

then in the fsm to send a event us bool all true set bool variable to 2 add the 2 global bools into elements and set every frame

this way only when both bools are true it will trigger, regardless which bool was 1st set to true

2177
Playmaker Help / Re: How to make my scripts / prefabs Playmaker compatible?
« on: December 25, 2014, 10:02:44 AM »
i learned most of it by looking to the other scripts

and there is a guide here

and if you make some please share :)

2178
Playmaker Help / Re: Execute Script Button Help...
« on: December 25, 2014, 09:58:50 AM »
maybe use Add Script action?

2179
Action Requests / Re: Play Random Sound
« on: December 22, 2014, 02:03:45 AM »
added a repeat / no repeat setting on it

2180
Playmaker Help / Re: End of level stars
« on: December 19, 2014, 07:26:40 PM »
at the end of your level you should compare your "Current_stars"

get the stars int, that are saved in PlayerPrefs
then do int compare.
if Current_stars is greater than the stars in PlayerPrefs,
save Current_stars to PlayerPrefs.

in level menu only get the PlayerPrefs info to display stars on your levels

hope you understand, i don't have time atm to make a sample.
if not, let me know i will make a sample tomorrow.

2181
Playmaker Help / Re: End of level stars
« on: December 19, 2014, 06:12:43 PM »
did you give a different name for level 2

and are your global names different than the PlayerPrefs names?

2182
Playmaker Help / Re: Newbie question about jumping basketballer
« on: December 19, 2014, 06:05:27 PM »
you can use trigger event

check this tutorial series
in part 2 you can find what you need

2183
Playmaker Help / application focus
« on: December 10, 2014, 09:43:02 PM »
hi, is there a way to Not Broadcast application focus on startup?

i got several "application focus" global transitions, but i do not want them to trigger on startup

Greetings,

Dino

2184
Share New Actions / Re: Swap Single Sprite
« on: December 09, 2014, 02:17:57 AM »
Ok, i will update this on github then :)

2185
Playmaker Help / Led display
« on: December 05, 2014, 08:25:36 PM »
hi,

i am working on a Led Display (using sprites no text), but trying to figure out what the best approach is.

there will be custom text running (player name, and score updating every frame)
and this is running from right to left.

i'm thinking to loop an animation with  empty sprites from right to left and update those sprites every frame with text

or using set postions wait .1 and set next postion instead of animation
and somehow set the text on it.

Here is a sample of the display

Greeting,

Dino

2186
Playmaker Help / Re: Is there a way to default FsmBools to true?
« on: December 05, 2014, 07:18:08 PM »
btw, you can also do it yourself if you want,
i changed the Action "set bool value" for you and added info of what i changed.

Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved.

namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Math)]
[Tooltip("Sets the value of a Bool Variable.")]
//Set you Custom Action Name Here and save with that name. DO NOT use the same name, it will be erased on updates. Custom names will not be erased.
public class SetBoolValueDefTrue : FsmStateAction
{
[RequiredField]
[UIHint(UIHint.Variable)]
public FsmBool boolVariable;
[RequiredField]
public FsmBool boolValue;
public bool everyFrame;

public override void Reset()
{
// Set Default Variables here
boolVariable = null;
boolValue = true;
everyFrame = false;
}

public override void OnEnter()
{
boolVariable.Value = boolValue.Value;

if (!everyFrame)
Finish();
}

public override void OnUpdate()
{
boolVariable.Value = boolValue.Value;
}
}
}

always use a custom name for your edited or own made actions.

and share actions if you think they are usefull to others :D

2187
Playmaker Help / Re: Is there a way to default FsmBools to true?
« on: December 05, 2014, 06:38:47 PM »
i can make a custom Action for you if you want

what action you want to set standard to true?

"set bool value" ?

2188
i think using a different Fsm would be beter.

like this :




and use Send event to apply Gravity and send event again to stop gravity.

2189
yes it would be nice to have some tutorial focused on workflow

when i started with playmaker, i watched the standard playmaker tutorials
and started from there.
and had learned my self a bad workflow
with way to many states going on,
That time i did not know about the Add Global Transition for example.
(i don't think there is a explanation about it in the old tutorial or i might have overseen it)
So i added a transition on every state and connected them to where i wanted it to go, and that was very messy

maybe add some info about global vs local variables and set / get fsm variables,
when to use them and why.

some info about custom actions (how to install them, about EcoSystem)

i will think of some more later :)

greeting,

Dino

2190
Playmaker Help / Re: Moving platforms help requested.
« on: December 03, 2014, 07:44:23 PM »
i have not watch that whole movie, but on this tutorial it looks a lot easier to do this.

Pages: 1 ... 144 145 [146] 147 148 ... 151