PDA

View Full Version : Terrible Issues with AS3. AS2 works fine.



Blommestein
August 8th, 2007, 08:22 PM
Okay I've just got around to converting a game-in-progress of mine to AS3, all in classes. The code inside class Character mimics the coding inside the sonic movieclip of the AS2 version. The code is exactly the same in execution, it is simply structured slightly differently so it is more organized as a class.

The failed hittests when transferring over a block isn't even all of it. It looks choppy, and the character will begin to walk into the block when on a curver, and eventually fall through it.

This is a very big problem for me. Any help would be very, very, very much appreciated.

AS2 Version (http://denvish.net/ulf/130507/55531_SonicCompile4.php) (Simply click Play, Main, then New Game)
AS3 Version (http://denvish.net/ulf/100807/50675_Lib.php)

Dark Viper
August 9th, 2007, 07:17 AM
We would need to know the code first before we can help. THe problem could be a different number of things...

Blommestein
August 9th, 2007, 11:02 PM
Well as I said the physics between the two is the exact same, only grouped in a class and with updated functions. Basically it is the AS3 equivalent, exactly.

I was hoping someone like senocular would see this, and I could provide the fla's or so to him so he could check it out. :)

Sirisian
August 9th, 2007, 11:26 PM
Just host the fla's other people will help you.