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.


Messages - 600

Pages: 1 ... 31 32 [33] 34 35 ... 39
481
Playmaker Help / Re: Need to replace within a string...
« on: November 06, 2014, 06:36:09 AM »
Hi, Im doing this too for Photon.
It sounds "overkill", but got used to it :)

Get string Left with 1 Char Count,
then substring index 1 (second char),
+ substring start index 2 etc.

save them in different strings as parts and you can change what ever part and build the string back together.

Maybe someone can share a shorter way or a custom action Set Substring?


EDIT:

Ha! its already done, didn't see it before..
Thanks to Jean!

Action:
http://hutonggames.com/playmakerforum/index.php?topic=1912.msg8368#msg8368

482
Playmaker Help / Re: Photon not working on my Mac, the demo or otherwise..
« on: November 03, 2014, 01:36:43 PM »
Another idea:

Maybe your pc is faster than mac and mac tries to create a room while not finished to connect to Photon servers (lobby)?

483
Playmaker Help / Re: Photon not working on my Mac, the demo or otherwise..
« on: November 03, 2014, 08:08:46 AM »
Hello,

I make my project on a mac and when I build a windows version sometimes I get weird builds - not connecting or not instantiating a player.

My workaround to fix this:

- Select The Build platform in Build Settings
- wait for Unity to compile scripts
- Save project and re-run Unity
- when loaded, run it in Play mode
- wait to scene to load and exit Play mode
- then build the project

I dont know if this helps, but in my case I have noticed Unity needs to load some background scripts (my non-programmer guess) or something with a fresh run. Thats why I re-run Unity and enter/exit Play mode and it works for me :)

---

About the "Obsolete error" I read somewhere here on forums not to worry about them for now, I get those too they are just spam for now from Photon sample assets.

484
User Showcase / Re: My Summer Car (Win, PC)
« on: October 29, 2014, 03:01:36 AM »
Cool, Im using BlendShapes on my models to animate deformations on collisions.
I will have to explore more about "vertex damage" methods..

Im also looking at Mega-Fiers at asset store. Good mesh deformation adds a lot of realism to a game. Not for my budged right now, maybe later, so I stuck with blendshapes :)

Good luck on the game!

485
Share New Actions / Re: GUI KeyBoard Event
« on: October 28, 2014, 07:39:40 AM »
This is a really nice action but there is one thing that can go wrong with it.

If you want a reusable text field, you won't be able to clear the line return it puts in the text field. (Changing the string back to empty doesn't fix it) The user has to manually use backspace.


Hi, I had this issue too, but today got it to work :)

Have a setup like you I guess, in the State where you put that string back to empty add another action Delete Line with -1, then after this state add a new state with Next Frame Event action and set it to Finished so it have a one frame time to actually delete that extra line in the text field.

486
No problem, good luck ;)

487
I can suggest to watch some tutorials on youtube by Hutong Games.
If you haven't already?

For AI here:
http://www.youtube.com/playlist?list=PL64E6680ACC6040EB

Was very helpful for me :)

EDIT:
actually I would suggest to watch them all those Hutong tutorials :D
Went through them and started to get used to PM how it acts etc. and sometimes in tutorials which you think isn't for your topic can find great things in it :)

488
Hi,

NAV Mesh works with Indie too :) with some minor limitations.

https://hutonggames.fogbugz.com/default.asp?W1174

489
User Showcase / Re: My Summer Car (Win, PC)
« on: October 28, 2014, 05:15:05 AM »
This is awesome, I like it!

The main feature is to set up a car, I would ruin it by accident as Im no good to fix cars :D
Super features that you can put stuff in the trunk and my favorite - you can tune in a radio in car from first person view, thats cool, with volume adjustment.

Stack your things in the trunk and hit the road :D
Will keep an eye on this :)

Btw: are you thinking about a car damage system? With all those spare parts that sounds very complex.

490
Playmaker Help / Re: Rigid body centre of mass
« on: October 23, 2014, 06:36:15 AM »
Hello,
use Get Component action to get the Rigidbody (store it in Object variable UnityEngine.Rigidbody), then Set Property for that Object var, there will be "centerOfMass" in dropdown menu :)

491
Playmaker Help / Re: Photon offline mode...
« on: October 22, 2014, 10:02:00 PM »
Hi,

when you set Offline mode on, you have to create a room, it will be offline room.
Now photon tries to send rpc or instantiate while not in a room.

Hope this helps:)

492
oh sorry I forgot that it was not with the base install,

Here:
http://hutonggames.com/playmakerforum/index.php?topic=1996.0

493
Hello,

before animation use Get Material Color action,
use "Color" variable type to save a color,
then animate those variables in one state with SetMaterialColor every frame as the last action.

494
Playmaker Help / Re: Photon and variables such as int
« on: October 21, 2014, 02:24:14 AM »

So the only way to update the scene object with a non-master is through RPC calls?  So in order to update variables for offline mode I'll have to have separate "offline" and a "online" updates for variables...


Hi, I would like to add that you can use RPC in offline mode, they sends events like in multiplayer mode.
Same for Room custom properties, after this new update Offline mode is supported.

495
Playmaker Help / Re: Photon Network Player Custom property - gameObject
« on: October 20, 2014, 07:27:17 AM »
Thanks for the reply,

its a great idea about viewID to send id with auto-find its "other side",
that would be sooo convenient :)

Now I have a system something you suggested, but its all manually looped while finding etc. Most important that it works,but could be optimized in future with this autoID-feature :)

Checking trello, thanks!

Pages: 1 ... 31 32 [33] 34 35 ... 39