PDA

View Full Version : Flash Minigames in UDK



Deliverance6
09-05-2010, 04:25 PM
So, bringing back an old subject here:

i have a lockpicking minigame used to open doors, written in AS3 (using flash cs3). when triggered in UDK it infinitly loops all of the animation and does not transfer mouse control over to the game.

so, what im looking for is help on:

#1 - transfering mouse control to the game
#2 - triggering an "on win" event, so when the game is won somthing happens in kismet
and #3 - stopping the randomly looping of animation. ive got a "stop();" in the first frame which should prevent this and the game plays fine in flash etc, just no joy when put to udk (half the time it loops the animation, half the time it crashes the editor with no useful error in the log window).

any thoughts?

cyberwillis
09-05-2010, 05:59 PM
GFx Scaleform for UDK dont support AS3 at moment. You will need reprogram your game using AS2 for start this jorney

Deliverance6
09-05-2010, 06:48 PM
that'd probly be a good start to explaining it, cheers. will find some AS2 tutorials and see what to do with it then (since ive never learned 2, didnt start using flash till as3).

thanks for the help

TheAgent
09-05-2010, 07:14 PM
AS2 is actually simpler than 3, and i didnt think you can make a flash game within UDK thats very interesting!

Doublezer0
09-06-2010, 09:08 AM
i wouldnt say its simpler. its probably easier to learn but everything is easier to code with as3.0. you have more guidelines and less workarounds to do than as2.0.