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

Pages: 1 2 [3] 4 5
PlayMaker Help / Level Change in Photon Multi-Player
« on: July 11, 2013, 12:02:59 PM »
I'm at a point now where adding new levels to my multi-player game is a must. 

However, now that I'm sitting here looking at a blank FSM I'm realizing I don't know how to do this?  How is a new scene treated in the Photon world?  It's in the same room but it's a new scene within that room.  Am I over thinking this?

PlayMaker Help / Re: Best Practices for Name Tags on Players
« on: July 10, 2013, 04:58:54 PM »
Great info!

Let me tell you how I have this working and you can point me in the right direction.

1) I begin with a start state with a Photon View Get Is Mine action.

2) If Yes then it moves to Get Name state where a Photon View Get Owner Property action pulls the name and assigns it to var NameTag.

3) Then I set the name tag in the next state, which has a Photon Network Set Player Custom Property in it, which sets the Custom Property Key and then places it in a GUI label that is held onto the player by a GUILayout Begin Area Follow Object.

It's all working very nicely except I can only see the name of the character I instantiated.  All the other players are blank... which is exactly the opposite of what I'm looking for.

Overall I'm having a really hard time wrapping my head around the multi-player game vs. single player.  It was simple to create a system that tracks gold, stats and such for the single player but when I switched to multi-player it sorta spun my head around and I haven't been able to get back on track.

PlayMaker Help / Re: Photon Players HUD Same As Owner
« on: July 10, 2013, 02:05:51 PM »
Did you mean to write Add in that list of "add/set/get your player property?".  Cause there is no Add Property action.

There is a - Photon View Get Owner Properties
and a - Photon Network Set Player Custom Property

PlayMaker Help / Best Practices for Name Tags on Players
« on: July 09, 2013, 01:16:04 PM »
I'm making a photon networked game and would like each character to have a name tag above their character.  What is the best method for doing this in Playmaker?

PlayMaker Help / Re: Photon Players HUD Same As Owner
« on: July 09, 2013, 01:13:26 PM »
This worked perfectly!  Thank you!

PlayMaker Help / Missing PlayMaker Photon Game Object Proxy
« on: July 08, 2013, 04:40:59 PM »
I'm creating a game that has a sun which rotates around the game. 

I've used the Photon Demo as a simple platform from which to further develop.

It's all working really well at this point but when I start the game I get this error in the console.

"Missing PlaymakerPhotonGameObjectProxy on GameObject 'Sun' with FSM 'Rotate Sun' containing variables suppose to be synched over the network."

I looked in the Photon section of actions but I don't see a PlaymakerPhotonGameObjectProxy.  What is going on here?

PlayMaker Help / Re: Sun & Skybox Blending Over Time
« on: July 02, 2013, 06:09:14 PM »
Any movement on this one?

PlayMaker Help / Re: Photon Players HUD Same As Owner
« on: June 22, 2013, 03:15:48 PM »
I'm almost certain that I should be using the RPC calls to a specific player but I am just looking for a warm blanky cause I'm scared to go out trying to do something that just isn't the way it should be tackled.

PlayMaker Help / Photon Players HUD Same As Owner
« on: June 22, 2013, 10:14:58 AM »
I know I'm doing something wrong here.  If I had a little guidance I think I could figure it out.

Here's what's happening.

I've started a networked game with Photon and it's working great... for the most part. 

Once I had people running around I decided to start adding in some things like, prefab pickups for money.  Sounds simple, right?  Well, it would be if it were a single player game.  Unfortunately for me, I haven't quite figured out the nuances of network games and the photon server because what I have is a HUD that displays the current amount of gold.  When someone picks it up, it increases their gold by 1.  The bad part is that everyone else's gold just increased by 1 as well.  What ever 1 player does, the others all see.

The same is true of an inventory button that just pops a gui box.  When one person presses theirs, all the other players see it.

How do you target the player and update only their information?

PlayMaker Help / Re: Photon Demo Chat List
« on: June 21, 2013, 12:11:33 PM »
Also, I've made a new input button called, Send Message, which sends the text within the chat input textfield.

Bummer part is that it only sends it when the input field isn't focused on.  If it is focused then it just adds a carriage return to the input box. 

This doesn't work very well cause you have to click the input box to type a messages, then click someplace else, just so you can press return.  What would be the workaround for that one?

PlayMaker Help / Photon Demo Chat List
« on: June 21, 2013, 11:53:30 AM »
I've been messing around with the chat function on the photon demo for about a week now.  It's quite a nice little system.  I'm having a few issues that perhaps someone can walk me through.

I'm trying to make the user list of people in the room flow vertically rather than horizontally.  I've read just about everything there is to read on the subject.  I've looked at the corner pinning demo and it works nicely.  But when it comes to those buttons which come with Photon GUILayout ToolBarWith Players, those things refuse to line up vertically.  could someone double check me and make sure I'm not smoking something?

Next, I'm unclear as to how the messages can be cleared.  I can clear them by changing the variable to "" and pushing that up, but it cleared out everyone's chat all at the same time.  How would this be done in Playmaker?


PlayMaker Help / Re: Sun & Skybox Blending Over Time
« on: June 21, 2013, 08:19:08 AM »
Here's a solution I found.

The sun and brightness are pretty simple.  I created a directional light and added a flare  I rotate the sun around the game area with a Rotate Around action.

The brightness is controlled by the angle of the sun.

The skybox is the hard part. 

I've found this tutorial and the linked code that blends two skyboxes together in a shader.  Then he uses code to shift the blend between the two.

PlayMaker Help / Sun & Skybox Blending Over Time
« on: June 20, 2013, 08:10:46 AM »
I'm trying to make a skybox and a sun change over time.

I've got the sun going round my scene, which effectively simulates the sun rising and falling, but I'm looking for a little guidance for making the sun intensity and color change over time. 

The next step is to get two light boxes, (day and night) to blend so that the sky becomes dark at night and light in the day.  Profound, I know.

What is the basic outline of how this might be done?

PlayMaker Help / Re: PhotonNetwork.destory()
« on: June 19, 2013, 06:44:16 AM »
Hey!  That's awesome!  Thank You!

PlayMaker Help / Re: Setting GameObject Parent to Instantiated Prefab
« on: June 18, 2013, 08:12:17 AM »
That's just what I was looking for.

Thank you so much!

Pages: 1 2 [3] 4 5