I have some weird problems with the flash export. First of all, my character jumps every time he hits a step. I even hame jumping disabled, and when my character touches a stair or a short obstacle he jumps high.
I have a script for a button activated sliding door. It works fine on every other platform export, but on flash nothing happens.
Finallly, i have a moving platform object. It is not a rigidbody and it works fine in the editor or in the standalone export but not in flash : the platform is moving, the player stands on it, but when the platform moves the player doesn't follow it and finally he falls down.
I don't think i should spend my time trying to make something with this version of unity flash, if i can't trust that whatever works in the editor or in other platform exports, will work in flash too. Any help is appreciated, thanks!
Answer by Hendrys
Dec 27, 2011 at 02:26 PM
I think i can help with the button-door issue. I think it is maybe because you are using OnMouseDown for the button pressing. Something similar happened to me and it was because OnouseDown doesnn't work with Flash.
Thanks for your time mate, but actually it is a button that only works with a collider. It is actually a button on the floor, so when i step on it it should work. It is a simple script and i don't understand why it is ignored...
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
5 People are following this question.
A node in a childnode?
C# Scripts don't work in Unity 3.5 any idea why?
Flash build giving some errors.(Type was not found or was not a compile-time constant)
How to Import Flash Animations for in-Game use