1 (edited by toonjoey 2016-07-22 14:41:17)

Topic: Sonic physics for 037, get 'em while it's hot!

I screwed around in the 037 editor and made Sonic physics.

These are more like the "classic" ones.

//========================================================================================
//                                     SONIC_Gravity                                      
//========================================================================================
NEW_VARIABLE    "SONIC_Gravity"
{
//    Value   001,-64                             //Initial Value  1   Range:-256 -> 256
    Value   001,-48         //jump up speed                    //Initial Value  1   Range:-256 -> 256
    Value   002,-72         //fallspeed                    //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                       SONIC_Wind                                       
//========================================================================================
NEW_VARIABLE    "SONIC_Wind"
{
}

//========================================================================================
//                                      SONIC_MaxRun                                      
//========================================================================================
NEW_VARIABLE    "SONIC_MaxRun"
{
                            //Initial Value  1   Range:-256 -> 256
//    Value   001,64                              //Initial Value  1   Range:-256 -> 256
//    Value   002,96                              //Current Value  1   Range:-256 -> 256
//--------------
    Value   001,64                              //Initial Value  1   Range:-256 -> 256
    Value   002,127                             //Current Value  1   Range:-256 -> 256

}

//========================================================================================
//                                     SONIC_MaxJump                                      
//========================================================================================
NEW_VARIABLE    "SONIC_MaxJump"
{
    Value   001,25                              //Initial Value  1   Range:-256 -> 256
//     Value   001,256                             //Initial Value  1   Range:-256 -> 256
//    Value   002,56                              //Current Value  1   Range:-256 -> 256

}

//========================================================================================
//                                   SONIC_Acceleration                                   
//========================================================================================
NEW_VARIABLE    "SONIC_Acceleration"
{
    Value   001,64                              //Initial Value  1   Range:-256 -> 256
//    Value   001,6                               //Initial Value  1   Range:-256 -> 256
//    Value   002,8                               //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                   SONIC_AirFriction                                    
//========================================================================================
NEW_VARIABLE    "SONIC_AirFriction"
{
//    Value   001,4                               //Initial Value  1   Range:-256 -> 256
    Value   001,32                              //Initial Value  1   Range:-256 -> 256
    Value   002,16                              //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                       SONIC_Size                                       
//========================================================================================
NEW_VARIABLE    "SONIC_Size"
{
    Value   001,128                             //Initial Value  1   Range:-256 -> 256
    Value   002,256                             //Current Value  1   Range:-256 -> 256
//    Value   001,192                             //Initial Value  1   Range:-256 -> 256
 //   Value   002,196                             //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                   SONIC_JumpDuration                                   
//========================================================================================
NEW_VARIABLE    "SONIC_JumpDuration"
{
//    Value   001,16                              //Initial Value  1   Range:-256 -> 256
    Value   001,16                              //Initial Value  1   Range:-256 -> 256
    Value   002,-160                            //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                      SONIC_Magnet                                      
//========================================================================================
NEW_VARIABLE    "SONIC_Magnet"
{
}

//========================================================================================
//                                     SONIC_Friction   ok                                   
//========================================================================================
NEW_VARIABLE    "SONIC_Friction"
{
//    Value   001,14                              //Initial Value  1   Range:-256 -> 256
    Value   001,14                              //Initial Value  1   Range:-256 -> 256
    Value   002,16                              //Current Value  1   Range:-256 -> 256
}

//========================================================================================
//                                     SONIC_Elastic         Sonic Bouncy for walls and floors                          
//========================================================================================
NEW_VARIABLE    "SONIC_Elastic"
{
//    Value   001,216                             //Initial Value  1   Range:-256 -> 256
    Value   001,216 //216                       //Initial Value  1   Range:-256 -> 256
    Value   002,128 //256 NoBounce //128 E3-Bounce //Current Value  1   Range:-256 -> 256
}

// RECODED BY TOONJOEY
// KEEP THIS LINE IF USED IN PROJECT!!!!
toG E T H E R
insert lyrics here

2

Re: Sonic physics for 037, get 'em while it's hot!

Maybe that should be in the new release of v37! Good job, Joey!

G O T T A   R U N   Q U I C K L Y

3

Re: Sonic physics for 037, get 'em while it's hot!

Thank you, they need a bit more improvement, so if you can improve it have at it.

toG E T H E R
insert lyrics here

4

Re: Sonic physics for 037, get 'em while it's hot!

toonjoey wrote:

Thank you, they need a bit more improvement, so if you can improve it have at it.

If only I knew how to code...

G O T T A   R U N   Q U I C K L Y

5

Re: Sonic physics for 037, get 'em while it's hot!

You should try to make the fisheye effect if you can.  big_smile

6

Re: Sonic physics for 037, get 'em while it's hot!

SonicXtreme209 wrote:

You should try to make the fisheye effect if you can.  big_smile

That's with jollyroger, who doesn't have time for X-treme now.

hmm

toG E T H E R
insert lyrics here