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 ... 225 226 [227] 228 229
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...

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?

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!

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.

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

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

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,

Share New Actions / Re: New Playmaker Action: Get Forward
« on: April 02, 2011, 09:55:06 AM »

We're working on a forum category for Action Updates, New Actions, Sample Scenes, Templates... so we can push more frequent updates between Asset Store Updates... and also invite the community to help make Playmaker better!

That section will have some kind of waiver (e.g., Unless otherwise noted by the author, HutongGames reserves the right to include any posted action, sample, or template in a future Playmaker update). And we'll credit the original author.

Since we're behind the curve on that, I'd like to ask if we can include this action in a future Playmaker update?

Action Requests / Re: iTween and EZ Gui
« on: April 02, 2011, 09:42:03 AM »
Not sure what you mean by "Add By"... we do however have lots of cool new actions to animate variables using easing and animation curves - so I think you'll be happy with these!

Forum Suggestions / Re: Better Code Font.
« on: April 01, 2011, 07:05:42 PM »
Me too! Denkiva...?  :P

Action Requests / Re: Network is server logic and network instantiate
« on: April 01, 2011, 05:51:40 AM »
I need to spend more time with unity's networking. Right now I'm not sure I'd know how to test it properly! Do you have simple test projects?

Forum Suggestions / Re: Forum link on home page
« on: April 01, 2011, 05:41:10 AM »
We're reworking our main page - the new page will have a link to the forum  :)

I really want a powerful Find Dialog in playmaker. Something that lets you quickly find (and jump to) states, actions, variables etc. I use Ctrl F all the time in a regular IDE! TODO lists would be part of this I think. E.g., Add a Todo action similar to the Comment action, then you can find these in your project... With Find working under the hood it would also be easy to add a live Todo Window that shows a Todo List.

Feature Requests / Re: In view editing tools
« on: April 01, 2011, 05:29:23 AM »
Great suggestion. I also want to have more keyboard shortcuts...

Feature Requests / Re: Events type differentiation
« on: April 01, 2011, 05:27:16 AM »
Great breakdown Jean! I definitely want to keep things as clear and organized as possible... that's a very high priority for playmaker. I like your categories, and I'll definitely do something with this in an update.

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