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 - gregacuna

Pages: [1] 2 3
PlayMaker Help / WebGL using Unity 2019.4, PUN & Playmaker
« on: October 04, 2021, 12:36:46 PM »
Though I can write some code I'm creating a multiplayer online (WebGL) board/card game in Unity 2019.4 using Playmaker. The game is for corporate team-building so it will have someone "running" the game which I call a "Guide." I have the basic networking working in an automated way where Players put in the Guide's name and a Passcode which is used to create the Room Name. They all connect to the server and when the Guide hits a "Start" button (only visible to them) all the players enter the initial room which is a 2D board game.

I thought I was making good progress, but when I decided to change some of the logic to use the Player Number and Player ID I've run into a wall. In the Unity editor when I get the Actor Number or Player ID I'm seeing the data, but in the WebGL build it's obviously not getting the data as I'm just seeing the default values displayed.

I'm not getting any errors or warnings in the browser console. Any suggestions on how I can try to debug this problem? Any tutorials or sample projects specifically for WebGL which might help me understand what is going wrong?

PlayMaker Help / PUN 2 in 2d Project HELP!!!
« on: July 21, 2021, 05:48:25 PM »
Hi All...I've spent the last four days going through tutorial after tutorial...and still have a couple lined up for today...but I'm just not figuring out how to get Photon 2 to work with my new 2d game. Most of the videos are about syncing 3d characters and it just isn't translating for me.

Any tutorials you might recommend or does anyone have enough experience to give a short list of what I need to do to sync a 2d sprite character?

Connecting to the server and creating rooms is clear. I just don't know exactly how to setup the character. Hopefully if I figure that out I'll also understand how to send other things like displaying a card on the other person's game, etc.

Thanks in advance!

PlayMaker Help / PUN & Playmaker
« on: July 16, 2021, 02:18:36 PM »
Are the PUN actions on the Wiki page usable with Unity 2019?

PlayMaker Help / Data from Google Sheets for Text Array
« on: July 13, 2021, 12:41:34 AM »
Hey All...

I'm creating a game which needs to have a lot of long text strings which I'm randomly generating onto cards. Years ago I used a Localization asset to do this (with some hacks) and had to generate the text like I was filling in text of different languages. It worked, but was clunky.

Now I'm wondering if there is something which would allow me to do this putting the data directly into arrays...and which has Playmaker actions.

Would like to have better tools for adding, delete and editing the data than I would have doing it directly in Unity.


PlayMaker Help / WebGL Multiplayer 2d Boardgame
« on: July 10, 2021, 07:42:58 PM »
Anyone have experience creating a multiplayer WebGL game? I'm trying to create a 2d browser based Boardgame and need to have each player see things like roll of dice, player token move on board and possibly cards being drawn.

I've read some threads here that PUN will work. Just wonder if that's the easiest solution for someone with little programming knowledge who is an intermediate user of Playmaker.

Thanks in advance for any help/advice.

PlayMaker Help / Color Picker with Playmaker Actions
« on: March 03, 2021, 12:43:55 AM »
I'm using the free "Flexible Color Picker" asset ( to allow players to choose colors for various parts of their avatars. The asset is excellent and support is good, but I've run into some challenges.

Is there any Color Picker available which has Playmaker actions?

PlayMaker Help / Breakpoint Not Working Sometimes
« on: January 20, 2021, 05:39:25 AM »
Hey All...

I'm having this strange problem where I set breakpoints in an FSM, but at runtime the FSM runs so fast I can't see what is happening, doesn't stop at the breakpoints and just loads the next scene which is the end of the state machine.

I'm using Unity 2019.4.15 with Playmaker 1.9.0.

PlayMaker Help / Typing in Playmaker Editor SLOW
« on: September 07, 2020, 03:57:22 AM »
For the past weeks I've been having a very annoying problem. Typing in the editor has become horribly slow. If I'm typing the name of a state or FSM or the description it shows what I've typed at the rate of about one character per second (I tested it with a stopwatch.) This is leading to a lot of errors, slowing development and making me wonder what could have happened. Hope someone has some insights.

I'm using: Playmaker 1.9.0p20 in Unity 2019.4.1f1

PlayMaker Help / Setting Game Object at Runtime
« on: April 21, 2020, 08:57:20 AM »
I'm using Playmaker and the Corgi Engine for my new game. Up until now I've been using a Player Prefab I created and have it set in Corgi as the Player, but now I've made an Avatar Creator which saves the Player Avatar as a Game Object variable, but I can't just set it at runtime. I know this has something to do with setting an Object variable, but I just don't understand the procedure for doing this. Is there any documentation about the order of setting up an Object variable, getting the property of the component which needs to be set and then setting it???

PlayMaker Help / Rotating UI Images
« on: April 03, 2020, 03:19:08 AM »
I have a button and have added an empty...and then some images which I want to have on the button. Now I want to rotate the images. If in the editor I rotate the empty on the Z it does exactly what I want, but have tried several different actions, Rotate, Rotate Advanced, Rotate and a few DOTween actions, but nothing works. How do I rotate something in UI?


PlayMaker Help / Tap to Dismiss Game Title Screen[SOLVED]
« on: March 11, 2020, 12:29:14 AM »
I know this is a super simple thing, but unfortunately I haven't been able to figure it out after trying several different ideas. Very strange. Trying to make it so when a player taps mobile screen during the game title it immediately loads the next scene. Have tried a few different actions, even tried making a button the size of the whole screen, but just can't get it to work.

I have a Canvas (Screen Space - Overlay) with a Image set to 1920x1080 set to stretch full screen. What do I use to catch a mobile screen tap and then move to the Load Scene state/action?

PlayMaker Help / Difference: Set Game Object and Get Owner[SOLVED]
« on: March 02, 2020, 03:13:10 AM »
Not sure if I'm doing this right, but I often find the need to set a game object to a variable so that it can then be turned on and off whenever needed. If I'm not thinking right about this would love to hear how it should be done. If I'm on the right track one question:

What is the difference between the "Set Game Object" and "Get Owner" actions? I realized I've been using both of them to do the same thing. They seem to be working, but would like to be more consistent so curious to know if one is better than the other for my purposes.


PlayMaker Help / Make Items Behind Mobile Controls Non-Clickable
« on: February 05, 2020, 08:03:33 AM »
I have an interesting challenge. New games has signs/billboards which are clickable as the player is moving through the platformer. When they are clicked they get big, give the player some additional health and when they are clicked again they return to where they were. This is all working fine, but have come up with an interesting challenge...

On mobile when the sign is behind the mobile controls it gets clicked/selected instead of the navigation or fire buttons. I'm wondering how to fix this:

1. Is there an PM action which would put the controls in front so that nothing can be clicked behind them?

2. Is there a PM action which would let me define that the signs are only clickable when they are center screen (ie not behind the controls)?

3. Is there a way to put an invisible canvas behind the buttons so anything behind isn't clickable?

Thanks all!

PlayMaker Help / Instantiate Material at Runtime
« on: November 26, 2019, 04:10:52 AM »
Working on a game where the Enemy characters change textures as they are hit. That's working fine, but the problem I've run into is if I'm using prefabs of the same enemies then all of them change texture since they have the same Material.

I'm curious how I can change the material at runtime so that each is unique so changes can be made to an individual enemy without affecting the others.

PlayMaker Help / Shooting Projectile ONLY on X
« on: November 21, 2019, 01:16:33 AM »
I'm using Corgi Engine and Unity for the new platform game. As I'm setting up the player I want to animate projectiles coming out of the player's hand which is animated with a swish forward. I have added an empty game object to the hand bone so the projectiles are emitted from there.

PROBLEM: The projectiles (2d sprites) are heading in the direction of the rotation of the empty connected to the hand bone. As can be seen in the screen capture show the view from TOP. The projectile is not moving straight forward from the character.

NEEDED: I want to have them go straight forward depending on the direction the player is facing staying on a line along the X axis without any deviations on Y or Z. I've tried several ideas, but even when I get a straight line it is going off at an angle instead of horizontal and in line with the view.

Pages: [1] 2 3