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 - Alex Chouls

Pages: 1 ... 226 227 [228] 229 230
3406
PlayMaker Help / Re: Owner property returning null.
« on: April 06, 2011, 07:44:14 AM »
Good news! If you don't mind I'll modify the topic to include [fixed]

3407
User Showcase / Re: iTween lab
« on: April 06, 2011, 07:40:40 AM »
Cool - I'm on my iPhone right now, on the road, but I'll check this out as soon as I get to a computer...

3408
You can do this now by alt-clicking on a transition to send the event. Or you can alt click on a state connected to the active state to transition to it (if a transition exists).

3409
PlayMaker Bug Reporting / Re: PlayMaker 1.1 and iOS
« on: April 05, 2011, 10:33:43 PM »
Couple of questions:
Are you using any other iOS plugins?
Do the sample scenes imported into an empty scene compile okay with stripping disabled?

3410
Share New Actions / Re: Get Scale
« on: April 05, 2011, 09:30:33 PM »
Thanks MaDDoX!!  ;D

3411
PlayMaker Bug Reporting / Re: PlayMaker 1.1 and iOS
« on: April 05, 2011, 09:27:28 PM »
Thanks for all the digging Murcho!

I'll look into this asap.

3412
PlayMaker Bug Reporting / Re: PlayMaker 1.1 and iOS
« on: April 05, 2011, 01:04:47 PM »
Hi Murcho,

I have a theory...

When you run your game in the editor, do you get log info about updating acton data?

This happens when actions have changed since they were saved (e.g. parameters added or changed). The 1.1 update changed some old actions. However, in a deployed application, this data fixup is skipped - it is assumed that the saved action data is good. IOW, the project has been tested in the editor and saved.

Here's the wrinkle. Prefabs with old action data need to be "touched" to be set dirty and re-saved. E.g., open them in the playmaker editor, move a state a bit, and save... this will update the old action data. I'll fix this in the next update...

Can you try touching/re-saving the prefabs in your project to see if that fixes it?

You should be able to use the log to track down the prefabs that need updating...

3413
PlayMaker Help / Re: Find Closest action
« on: April 04, 2011, 10:35:59 AM »
Sounds like an oversight in the Find Closest action. It should either not return self or have that option. I'll add this...

I want to get an Updates section up this week where you can download updated actions (and other stuff) between asset store updates. It would also be a public forum to work out new actions in an open way before publishing them...

I'll also post a Get Scale action - it was just a priority issue - didn't seem as immediately useful as other actions.

I think between Action Requests and an Updates section we should be able to plug any holes in the action list and also develop some really cool actions!

3414
PlayMaker Help / Re: Send event in script
« on: April 04, 2011, 10:27:32 AM »
The script should initialize behavior to reference a PlayMakerFsm on a scene object (e.g., an instantiated prefab)... Debug log out the value of behavior to check what's happening...


3415
PlayMaker Bug Reporting / Re: Load Level action
« on: April 03, 2011, 06:43:20 PM »
Hmmm, the Load Level action adds DontDestroyOnLoad (exposed as an option in 1.1). I assumed that DontDestroyOnLoad would leave a game object unchanged when a level was loaded, but it seems like the game object is reset on load...? IOW Unity calls OnEnable on load, which sends the Start Event.

That would explain the behaviour, and would render the LoadedEvent kind of useless :(

If you get a chance can you verify that a regular script on a game object with DontDestroyOnload has OnEnable called when a level is loaded?

3416
PlayMaker Announcements / Re: Playmaker 1.1 Coming in April!
« on: April 03, 2011, 10:33:18 AM »
1.1 has been submitted to the asset store - pending review by Unity!

3417
PlayMaker Tips & Tricks / Making a First Person Controller
« on: April 03, 2011, 09:52:14 AM »
Somebody asked about making a first person controller in Playmaker on the Unity forums, so I thought I'd reproduce the answer here:

Note, if the standard first person controller in Unity works for you there's no need to reinvent the wheel! But this might still be interesting as an example of how to use Get Axis and Transform actions...

A simple first person controller made with actions (thrown together in 5 minutes):



Put this on a capsule with a Character Controller component and an attached camera (similar to the setup for the built-in Unity first person controller).

In practice I'd probably split the movement and mouselook into 2 FSMs so they can have their own states. (e.g. Lock movement, but still look around; or take control over the camera to lock onto a target etc.).

Also you should limit the tilt, and use variables for move/pan/tilt speeds so you can expose them in the FSM Inspector and have a nice front end for your controller (Move Speed, Pan Speed, Tilt Speed, Max Tilt...).

When I have a moment I'll try to wrap this up into a nice sample and template.

3418
Feature Requests / Re: IOS StoreKit Actions
« on: April 02, 2011, 08:32:07 PM »
This would be pretty cool! We'll look into it...

3419
Android Help / Re: Device Actions in 1.1
« on: April 02, 2011, 10:16:58 AM »
I believe Unity supports both iOS and Android with Input.Touch and Input.Acceleration, and the Playmaker actions use those, so it should be fine...

LocationServices (GPS) seems to be more iOS specific. Not sure of the Android equivalent...

I'm still getting setup with the Android SDK and a device to test this more thoroughly myself. Android also seems to be more of a moving target than iOS, so we might have to work some stuff out on the fly...

3420
PlayMaker Help / Re: Error on Running
« on: April 02, 2011, 10:05:06 AM »
Try re-opening the editor from the Playmaker menu.

If you don't have a Playmaker menu, make sure you've imported the Gizmos and Playmaker folders from the unitypackage.

This normally happens when you switch to a project that doesn't have the Playmaker editor imported, but the saved editor layout has a Playmaker editor window - unity then can't show the proper editor window. In my experience it's fairly harmless - just close the old windows and open new ones (you can also save/load layouts to quickly restore the layout after re-opening Playmaker).

Hope this helps,
Alex

Pages: 1 ... 226 227 [228] 229 230