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

Pages: [1] 2 3
PlayMaker Help / Broadcast All Question
« on: July 23, 2021, 10:13:52 AM »
I've used Send Event/Broadcast All many times before, but suddenly I'm having an issue that I don't understand.

I'm using Send Event/Broadcast All and typing in the event I want to send manually, but when I send the event, the intended target doesn't receive the event.

To test that the action was working, I made a separate object in the scene that is just a simple FSM with a global event listening for the event to be sent and that one works just fine.

The target that isn't receiving the event:
  • Is a Prefab
  • The FSM is active
  • Has the correct Global event
  • Is spelled correctly

Can anyone think of any reason why any object wouldn't receive the message?

Hey there everyone,

In my project I have a prefab "Item" which is the basic object used by all of the items the player can pick up and use.  In my game, items are pretty simple but they have several attributes that make them different from one another

Right now I'm making an instance of the item, giving it's attributes manually, and then creating copies of that instance.  That's obviously a brute force method and is going to cause bugs and headaches down the road.

So I'd like to do some sort of data sheet or database that my item spawners will set on a blank item to set it up.  That way I'm changing data in a single place.

Any suggestions on the best way to do that while using Playmaker? 

PlayMaker Help / Can't find Timeline Actions on the Ecosystem
« on: December 12, 2020, 04:08:51 PM »
I can't seem to find Timeline actions on the Ecosystem any longer.  I know there were a couple of weeks ago because I have "Play Timeline" in my Action list.

Searching for that same action comes back nothing found.

Maybe it's related to the Ecosystem Update that I'm seeing?  I've tried getting the latest, but the link on the site doesn't trigger a download for me.

Anyone else seeing this or have any suggestions?

PlayMaker Help / Timeline - Send Event [SOLVED]
« on: November 10, 2020, 09:36:18 PM »
Hey everyone,

I'd like to send events from my Timeline and I'm not sure about how to do it.  I read this thread ( started a couple of years ago but I don't see the action or understand how to send an event from the Timeline. 

To be clear, this isn't the animation timeline, this is the cutscene Timeline added in 2017. 

Can anyone give me an idea on the steps, actions, and UI needed to do this?

Hey folks,

I could use some advice on either how to constrain movement of an object OR a strategy for how to do what I'm attempting.

I'm making a side scrolling game and I want the player to activate a target reticule that they can move around the screen to "target" things they want to fire upon. 

My requirements are:

- Constrain the movement of that reticule on the X and Y. 
- More specifically, have separate constraints for High value Y and Low value Y (I dont want the reticule to go under the ground).
- I want the reticule to move freely through/over objects with collision
- Works with a game controller

So my current plan is to use a 3d object in world that the player moves around with a controller.  I'm getting the Axis vector X/Y and setting the velocity on the 2d object.

This will easily allow me to move through collision objects while still giving me the ability to know if I'm over an acceptable target (using trigger volumes).  BUT I can't figure out how to constrain the movement in 4 directions (Left, Right, Up, and Down).

I've tried using a character controller, but that has the problem of obeying collision rules.

So what do you all thing?  Any advice about how you might tackle this challenge?

PlayMaker Help / Countdown Timer in Minutes:Seconds [SOLVED]
« on: June 04, 2020, 05:50:14 PM »
Hey folks, I need a count down timer in the form of minutes and seconds.  I was hoping to find one on the Ecosystem but unless I'm just failing at my search criteria, there doesn't seem to be one.

I can write an FSM to do it for me, but I was hoping for an action where I could just put in the minutes or seconds and it converts it for me into a string formatted by MM:SS.  Anyone know of anything out there that maybe I'm missing?

PlayMaker Help / Change Material (Shared) [SOLVED]
« on: July 13, 2019, 02:01:20 PM »
Hey there,

I'd like to change a material that is shared by multiple objects.  The context is that I would like to fade out a large number of objects at the same time, but I don't want to have to have an individual script on each object.  So I'd like to lower the alpha on a shared material and have all of the objects that share that material fade out.

Using Set Material with a prefab throws warnings about attempting to change a shared object and all of my searches of the Ecosystem hasn't turned up anything.

Does anyone know how to do this or knows how to write an action that can?

iOS Help / Accessing Device Camera Advice
« on: February 04, 2018, 12:31:12 PM »
Does anyone have any advice about how to access the device camera on an iPhone?

In my game, I want to be able to access the device camera, take a picture, and then store that picture to be used in-game.

I saw a screenshot action in the Ecosystem, but that seems to be game camera related which would work if I knew how to access the device camera. 

Are there required plugins to get something like this working?

Thanks any advice you have!

PlayMaker Help / Playmaker and Photon - Syncing a boolean
« on: September 22, 2017, 12:00:20 AM »
Hey guys -

Learning Photon has really been a challenge for me and I feel like I'm probably making a really simple mistake with all of this.

My current challenge is trying to get sync a boolean value across the network.  Rather than post a long description with pictures, I just made a quick video showing what I'm doing in the editor.

Any ideas?

Here's the video:

PlayMaker Help / Playmaker Photon - Suddenly not connecting
« on: September 21, 2017, 03:26:21 PM »
Hey guys,

Brand new to working with Photon and I had everything connecting and working a couple of days ago and now suddenly I can't connect.

A few things:
I'm connected to the internet, haha so that's not it.
I checked the Photon wizard and it's telling me things are setup properly
I've tried my current version and a back up that was also previously working and no luck there.

I'm a little unsure how to trouble shoot things like this.  Any suggestions on things to try?

PlayMaker Help / Error when building my project [SOLVED]
« on: September 10, 2017, 09:48:33 PM »
Hey guys,

I'm getting compiler errors whenever I try to build my project.  My project is fairly simple right now, it contains the latest version of Playmaker and Unity (both updated today to be 100% sure), PlaymakerArraymaker, Playmaker PUN, and Playmaker uGui.

Here are the errors I'm getting:

error CS1704: An assembly with the same name `PlayMaker' has already been imported. Consider removing one of the references or sign the assembly
Assets/Plugins/PlayMaker/PlayMaker.dll (Location of the symbol related to previous error)
Assets/Plugins/PlayMaker/Metro/PlayMaker.dll (Location of the symbol related to previous error)
error CS1704: An assembly with the same name `Photon3Unity3D' has already been imported. Consider removing one of the references or sign the assembly
Assets/Plugins/Photon3Unity3D.dll (Location of the symbol related to previous error)
Assets/Plugins/WP8/Photon3Unity3D.dll (Location of the symbol related to previous error)

Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file `C:\Users\markd\Documents\Unity - Without a Trace\Assets\Plugins\PlayMaker\Metro\PlayMaker.dll.mdb' does not match assembly
  at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile (System.String mdbFilename, System.Guid assemblyGuid) [0x00029] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader (Mono.Cecil.ModuleDefinition module, System.String fileName) [0x00012] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00032] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x0007b] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00000] in <aa9db9129f9d4243a99d025330e76d74>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x0007c] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x00013] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0

There are a couple of more, but there isn't much information on those.  I can include them if that would be helpful.

I suspect this is somehow related to Playmaker Photo package I added, but
 haven't confirmed that yet.

Anyone have any ideas?

iOS Help / iOS Actions for GPS? [SOLVED]
« on: July 08, 2017, 10:02:04 PM »
Hey guys,

I'm new to building Unity projects on the iPhone and wondered if there are any actions out there for getting your current GPS location? 

Hey guys,

In my scene, I'm trying to figure out how to have the player "push" a sphere around.  The design calls for the player to be "connected" to the sphere at all times.  If you've ever played "Tomb Raider Guardian of Light" you'll recognize ta similar type of design: 
So for that reason, I think what makes the most sense is to parent the sphere to the player and then rotate the sphere in the direction the player is moving rather than relying on force actions which will just push the sphere away from the player.

The part I'm having trouble with is getting the rotation right. I can get the sphere to rotate, but it doesn't look like it's being "pushed" in the right direction.

I've attempted several ideas but none of them seem to be working.

Any one out there have any suggestions on how they'd go about solving this?

PlayMaker Help / Player push object (without a rigidbody) [SOLVED]
« on: February 17, 2017, 07:44:49 PM »
Hey everyone,

In my scene I want the player to push a large sphere, let's call it a boulder.

The player can't have a rigidbody component since my player is using a motion controller. 

The boulder can have a rigidbody, however.

What I want to be able to do is apply force in the direction from where the player collides with the boulders collision.

It seems like I should be able to do something like getting the vector of the player object on collision and then storing that as a variable and applying force in that direction to the boulder.  But everything I've tried has failed.

Anyone smarter than me have any ideas?

PlayMaker Bug Reporting / Parts of an Action not showing (Wait)
« on: July 29, 2016, 10:54:20 PM »
In version 1.8.1 I saw this bug earlier.

When I add the "Wait" action to my FSM the send event wasn't appearing.

However, if I went to another FSM where I already had placed the wait action it showed up correctly.  I could copy that action and paste it into my FSM and it worked correctly.  I tried adding wait again to that same FSM and still got a wait action without a finishing event option. 


Attaching an image:

Pages: [1] 2 3