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.

Topics - Rabagast

Pages: [1] 2 3 ... 12
Playmaker Help / Convert Float 0.00 to 000 [SOLVED]
« on: October 08, 2017, 01:26:17 AM »

Is it a way to remove the decimal in a Float variable? For example I want 3.50 to be 350.

Playmaker Help / Playmaker 1.8.5 doesn't work in Unity 5.6.1[SOLVED]
« on: September 25, 2017, 05:21:22 PM »
When I created a brand new project in Unity 5.6.1 and installed Playmaker 1.8.5, I got a lot of these errors:

TypeLoadException: Could not load type 'UnityEngine.ImageConversion' from assembly 'PlayMakerEditor'.
HutongGames.PlayMakerEditor.FsmEditorStyles.InitCommon () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorStyles.cs:1103)
HutongGames.PlayMakerEditor.FsmEditorStyles.Init () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorStyles.cs:1096)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:626)
HutongGames.PlayMakerEditor.FsmEditorWindow.DoGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:95)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:72)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

It worked in Unity 2017.1, but then, there is a problem with Text Mesh Pro.

Does anybody else has problems with Playmaker 1.8.5 in Unity 5.6.1 and Textmesh Pro in Unity 2017.1?

Playmaker Help / Array Maker - Index is less than 0
« on: September 22, 2017, 11:56:51 AM »
I use down arrow to navigate down in the menu, and up arrow to navigate up in the menu. I also use a menu index variable I use with Array Get. When the array index reach to the last or first index, I use an Int Clamp, so it doesn't count less or more. The problem is when the menu reach the last or first index. (First = 0 and last = 4), I get this msg:

Index is less than 0 or more than or equal to the list count.
Parameter name: index

My question is: Is it an Array Maker Action I can use to check when it reach the first or last index, so I don't get this msg anymore?

Playmaker Help / Trigger2D Event - Stay Doesn't work on 2017.2 Beta
« on: September 12, 2017, 03:31:09 AM »
So far Unity 2017.2 Beta works very well, but I can't get Trigger2D Event - Stay to work. I tried with a brand new object also, just to see if it could be something else on the Player which could cause the problem.

On this new object, I use Trigger2D Event. I tried first with Trigger Enter and it worked, then I changed it to Trigger Stay. Nothing Happened.

Can it be a bug?

Playmaker Help / Pac Man Controller
« on: August 29, 2017, 01:30:27 PM »

I want to share my Pac Man controller I finally got working. :)
Maybe it can be useful for some people. I got a little bit help with the controller
from the example of Jean Fabre.

Playmaker Help / Subtract Question!
« on: July 28, 2017, 10:36:56 AM »
I want to subtract from an Int Variable. That sounds easy, but I only want to subtract 100, 200, 300 etc. Let me explain. If I add 112 to the Int variable, I want to subtract only 100 so it's only 12 left and the same if I add 250, I want to subtract only 200 so it's only 50 left. The same with 332, 440, 520 and so on. Are you understand my point? Is it a way to do this? If so, how? I need to use a calculation I think, but I'm not sure what kind of action I need.

While I'm waiting for a reply, I will try at my own. :)

Playmaker Help / Build doesn't work properly
« on: June 09, 2017, 10:14:24 AM »

When I build the game, I expect that it should work good when it works in the editor, right? But no! First in the editor. I shoot an object to get some points and then I lose the life so it's game over, then I can write my name and my name will be in the highscore list. Everything works fine in the editor, but not in the build. I do the same, get some points, lose the life, game over, and that's it. The input field where I write my name doesn't appear. It doesn't go to the enter name state. I don't understand why. Another game mode works fine. It's the same highscore manager, but with some changes, so it fits the game mode.

Does anybody have some ideas why it works in the editor and not in the build? Did anybody else experience this before?

Playmaker Help / Score Format
« on: June 03, 2017, 03:16:21 PM »
My score has this formating: 000, 000, 000, but I don't want to have all the zeros there. My question is: Is there a way to get the score format like this.

Score: 0
Score: 100
Score: 500
Score: 1, 000
Score: 10, 000
Score: 100, 000
Score: 1, 000, 000
And so on.

I don't want to have the score like this:
Score: 000, 000, 000
Score: 000, 000, 100
Score: 000, 000, 500
Score: 000, 001, 000
Score: 000, 010, 000
Score: 000, 100, 000
Score: 001, 000, 000

Or not even this:
Score: 0
Score: 100
Score: 500
Score: 1000
Score: 10000
Score: 100000
Score: 1000000

So the first example is the one I want. Any ideas how to do this?

Playmaker Help / Set color on a specific character of a text
« on: May 23, 2017, 01:42:21 AM »
Is it possible to set a color on a specific character of a text? For example, I have Player 1 score like this: "PL1 0" and I use build string when I add the score. But the first 3 letters "PL1", should be white and the score should be green. Is this possible?

General Discussion / Sound Problem
« on: May 11, 2017, 12:54:27 AM »

I don't know if this is related to only Unity, so I ask both in this forum and Unity.

My question is:
What is the best way to manage sound fx? In my game, you have to shoot asteroids and enemies to get as much points as possible. Everytime I shoot an object, It plays an explosion sound I add to the object I shoot, but when I shoot many objects at the same time, the explosion sound overlap each other. I don't know how to solve this. I have seen some Sound Managers on the Asset store, but I haven't tried them, so I don't know if those will solve the problem.

I really appreciate if I can get some help with this. :)

Playmaker Help / Array Maker Problem
« on: April 16, 2017, 02:04:13 AM »

Can someone explain me how "Array List Get Previous" works? Because it doesn't work as I thought or want. I try to use Array Maker for the Game Menu for the first time. I add all the menu buttons in an Array List. When I click down key, I use Get Next. When I click up key, I use Get Previous, but it doesn't get previous.

I have these buttons:
-Game Modes

It works fine with Get Next, but not Get Previous.
Can someone explain me how to set up the logic here?

How should start index and end index be in Get Previous? In Get Next, I have 0 on start index and 4 on end index. On Get Previous, should start index be 4 and end index be 0? I have tried many variations here, but Nothing works as I want. I really appreciate if I can get some help with this.

General Discussion / Unity crash when I load scenes[SOLVED]
« on: April 14, 2017, 02:10:42 AM »

After I experimented with Text Mesh Pro, I can't load any scenes anymore. What I did, is to mark multiple text objects to changed the color and this Mac mouse working circle appeared and never disappeared. So I had to restart Unity. All my scenes can't be loaded. Unity just stop working.

At least I had a backup 3 days older than this broken project, so I started the backup, copied the scenes from the broken project to the backup project. And also copied some graphics, models etc. I imported after this backup, so it works again. :)

What should I do if I didn't have any backups? Maybe I could delete Text Mesh Pro Asset and reinstall it.

Playmaker Help / Lock The Mouse Buttons
« on: April 10, 2017, 04:32:16 AM »
Is it possible to lock the mouse button to prevent to send an event when I click outside the inputfield with the mouse button? To be more specific.
When the game is over, I can write my name to get a place on the highscore list, but if I click with the mouse button outside the inputfield, it submit the name. I don't want that. I want the cursor to be in the inputfield until I click enter. Is it a way to do that?

Playmaker Help / Top Down Racing Game
« on: March 25, 2017, 01:32:16 AM »
I just wonder one thing. In my kind of top down racing game, it register new lap every time I cross the start/finish line. But also if I reverse the vehicle and cross the line in the wrong direction. My question is if it's possible to avoid that? To have a one way trigger or something like that.

Playmaker Help / Unity Pathfinding
« on: January 31, 2017, 01:38:24 AM »

I try to figure out how to use this Pathfinding with Playmaker.
I found the documentation and start to read. I created ground mesh and some wall mesh. And then bake. I created the script in the documentation to move the Agent to the destination.

Code: [Select]
// MoveTo.cs
    using UnityEngine;
    using System.Collections;
    public class MoveTo : MonoBehaviour {
       public Transform goal;
       void Start () {
          NavMeshAgent agent = GetComponent<NavMeshAgent>();
          agent.destination = goal.position;

My simple question is:
What kind of actions do I use to do this with Playmaker?

Pages: [1] 2 3 ... 12