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.


Topics - LogLady

Pages: [1] 2
1
Playmaker Help / Call events from text file[SOLVED]
« on: October 14, 2018, 01:25:37 PM »
Is it possible to call events from tags inside a text file?

Something like this:

<load="image.jpg"><set_position=400*400*1>

It would trigger a event to find and load this "image.jpg" and then set its position to x=400 y=400 z=1

Thanks!

2
User Showcase / Polymatic - NOW live on Steam
« on: June 27, 2018, 04:13:37 PM »
Made using Playmaker and now live on Steam:

https://store.steampowered.com/app/870030/Polymatic/

3
Playmaker Help / Lap system
« on: December 22, 2017, 08:25:51 PM »
Hi!

For some long time I've been cracking my head trying to figure how to make a checkpoint and lap system that prevents the player to "cheat" running the track backward and completing the track. Right now I have a gameObject that holds an arrayList (array maker) containing the checkpoints of the track. The car player hits the checkpoint gameObject and add 1 to an interger variable and checks if it equals the number of checkpoints. If equals a lap is complete. What is happening is that if the player goes to the checkpoint 9 and run backwards and hit checkpoint 10 (the last checkpoint in this example) a lap is considered complete. If the player run to lets say checkpoint 3 and then run backward 7 times the lap will be considered complete too. How do I prevent this to happen and only count the lap complete if the player runs correctly?

Thanks for your help!

4
Android Help / Run in background
« on: June 04, 2016, 05:23:59 PM »
Hi!

I googled about running an Unity application on background but it seems that it is not possible or is possible creating an overlay to run the app as a service.

But would it be possible to do using Playmaker? I'd like my application to access the accelerometer while in background but I have no idea how to do it.

Any help is appreciated.

Cheers!

5
User Showcase / MeM
« on: March 22, 2016, 04:08:40 PM »
Hi folks!

We at GranaDa Studio made a new game called MeM.

No monster, no jump scares, no pressure. It is you, MeM and fun! :)

We recommend that you call your friends and family to help on this journey.

Like always you contribution is much appreciated. ^^

Check it out here:

https://granada.itch.io/mem

and here:

http://gamejolt.com/games/mem/133405

Have fun!

6
Playmaker Help / Webgl and collisions
« on: March 11, 2016, 01:24:41 PM »
Hi!

I have two games that are working flawlessly on editor, standalone builds (win, mac and linux) and web player but fails to detect collisions on webgl builds. I searched everywhere and found nothing about it. Any help is appreciated.  :)

7
User Showcase / _M3T4_Terminal
« on: March 04, 2016, 03:33:54 PM »


Hello boys and girls!

Check this old new game from GranaDa Studio. It was totally made using Playmaker and I'm pretty sure you guys gonna love it!

https://granada.itch.io/m3t4-terminal





Cheers!  8)



8
Playmaker Help / State loop count
« on: January 07, 2016, 09:16:03 AM »
Hi!

I'm using the Playmaker version 1.8.0.f38 but I can't find where to enable the state loop count option (that one that shows a number above the state). Was it removed or am I doing something wrong?

Thanks!

9
Playmaker Help / FSM variables [SOLVED]
« on: November 23, 2015, 01:46:53 PM »
Hi!

Some questions that may be dumb:

- Is it possible to count the FSM variables and separate them by type (int, float, object...) ?

- Is it possible to iterate thru FSM variables?

- Is it possible to change the compared variable on Int compare?

E.g. I have 10 int variables on my FSM and I'd like to compare their values one by one and take actions based on it but I don't want to use 10 states to compare each variable. I thought about looping the states and change the variable compared on each loop but I have no idea how to do it or if it is even possible.

Any help is appreciated.   ;)

Thanks!

10
User Showcase / Upsolom [Fully made with Playmaker]
« on: November 02, 2015, 08:54:37 AM »
Hi!

We at GranaDa Studio are proud to announce our new game made using Playmaker.

Check it out here:

http://granada.itch.io/upsolom

and here:

http://gamejolt.com/games/upsolom/105892

Have fun!

    

11
Playmaker Help / Snooker / billiards / pool ball direction
« on: April 17, 2015, 02:22:50 PM »
Hello!

I'm trying to trace the direction that a ball will do before I shoot it just like you see on snooker games. This is a exact example of what I want to accomplish: https://youtu.be/y-ybJf7GLaA?t=1m25s

Any help is appreciated.

Thanks!

12
Playmaker Help / Direction relative to thumbstick
« on: February 24, 2015, 10:50:34 AM »
Hello!

I'm trying to rotate an object to the same direction that my thumbstick is pointing. How do I get the angle of the thumbstick? I'm using a xbox 360 joypad. Using the "axis event extended" action I can rotate my character to each direction using the stored angle but I want to rotate it to all directions. Maybe a "rotate to" or "look at angle" could solve it or maybe I'm mistaking something.

Thanks!

13
Playmaker Help / Compare multiple ints
« on: October 29, 2014, 12:49:32 PM »
Hello!

Who can I compare 4 differents ints and find what int has the greatest value and so on? Eg.:

Int1 = 4
Int2 = 3
Int3 = 5
Int4 = 1

Int3 > Int1 > Int2 > Int4

Edit: I forgot to mention that I'd like to sort the values ascending or descending (Int4 < Int2 < Int1 < Int3).

Any help is appreciated.

14
Playmaker Help / Arena camera - How to do this in Playmaker[SOLVED]
« on: August 18, 2014, 11:20:48 AM »
Hi!

I'm trying to do a multiplayer arena camera to track 4+ players using one camera and letting all players on screen. Looking around the internet I found this script and would like to know how to do this using Playmaker but I don't have a clue on how to do this.

Code: [Select]
using UnityEngine;

public class TrackTargets : MonoBehaviour {

    [SerializeField]
    Transform[] targets;

    [SerializeField]
    float boundingBoxPadding = 2f;

    [SerializeField]
    float minimumOrthographicSize = 8f;

    [SerializeField]
    float zoomSpeed = 20f;

    Camera camera;

    void Awake ()
    {
        camera = GetComponent<Camera>();
        camera.orthographic = true;
    }

    void LateUpdate()
    {
        Rect boundingBox = CalculateTargetsBoundingBox();
        transform.position = CalculateCameraPosition(boundingBox);
        camera.orthographicSize = CalculateOrthographicSize(boundingBox);
    }

    /// <summary>
    /// Calculates a bounding box that contains all the targets.
    /// </summary>
    /// <returns>A Rect containing all the targets.</returns>
    Rect CalculateTargetsBoundingBox()
    {
        float minX = Mathf.Infinity;
        float maxX = Mathf.NegativeInfinity;
        float minY = Mathf.Infinity;
        float maxY = Mathf.NegativeInfinity;

        foreach (Transform target in targets) {
            Vector3 position = target.position;

            minX = Mathf.Min(minX, position.x);
            minY = Mathf.Min(minY, position.y);
            maxX = Mathf.Max(maxX, position.x);
            maxY = Mathf.Max(maxY, position.y);
        }

        return Rect.MinMaxRect(minX - boundingBoxPadding, maxY + boundingBoxPadding, maxX + boundingBoxPadding, minY - boundingBoxPadding);
    }

    /// <summary>
    /// Calculates a camera position given the a bounding box containing all the targets.
    /// </summary>
    /// <param name="boundingBox">A Rect bounding box containg all targets.</param>
    /// <returns>A Vector3 in the center of the bounding box.</returns>
    Vector3 CalculateCameraPosition(Rect boundingBox)
    {
        Vector2 boundingBoxCenter = boundingBox.center;

        return new Vector3(boundingBoxCenter.x, boundingBoxCenter.y, camera.transform.position.z);
    }

    /// <summary>
    /// Calculates a new orthographic size for the camera based on the target bounding box.
    /// </summary>
    /// <param name="boundingBox">A Rect bounding box containg all targets.</param>
    /// <returns>A float for the orthographic size.</returns>
    float CalculateOrthographicSize(Rect boundingBox)
    {
        float orthographicSize = camera.orthographicSize;
        Vector3 topRight = new Vector3(boundingBox.x + boundingBox.width, boundingBox.y, 0f);
        Vector3 topRightAsViewport = camera.WorldToViewportPoint(topRight);

        if (topRightAsViewport.x >= topRightAsViewport.y)
            orthographicSize = Mathf.Abs(boundingBox.width) / camera.aspect / 2f;
        else
            orthographicSize = Mathf.Abs(boundingBox.height) / 2f;

        return Mathf.Clamp(Mathf.Lerp(camera.orthographicSize, orthographicSize, Time.deltaTime * zoomSpeed), minimumOrthographicSize, Mathf.Infinity);
    }
}


Link to the author: http://nielson.io/2014/03/making-a-target-tracking-orthographic-camera-in-unity/

Can someone build a fsm or translate to analogous functions in Playmaker?

Thanks!

15
Action Requests / Ludosity's SteamWorks Wrapper
« on: August 15, 2014, 07:10:19 AM »
Hi!

Any plans on Playmaker actions for the Ludosity Steamworks Wrapper (or any other SteamWorks solution)?

https://kharma.unity3d.com/en/#!/content/2211

Thanks!

Pages: [1] 2