Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

FastFlash

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by FastFlash

  1. Is direction no longer a default variable for objects (like x, y, etc.) in GML? I haven't programmed in it for a few years now. Anyways, the fix for this error is simply declaring the variable (its quite obvious btw). I really expected you to copy the idea, not the actual code lol.

     

    I've seted the direction in the spring's creation code,  same error

  2. They look cool and all, but what about different animals. When it came to "OCs", I always wanted to point out that there are animals other than hedgehogs that can be used, and those might perhaps make the character a bit more original (since they are, after all, original characters). There are lots of animals (elephants, bears, tigers, etc.) that haven't already been used by SEGA. I myself don't make fan characters, so I guess I wouldn't really know much on this subject. Just try to use different animals (if you want to) and maybe get rid of some of the clothes. Most Sonic characters don't wear clothes, but it's up to you.

     

    Thanks for the tip! Most of my OC's ae hedgehog's because in my opinion they're easier to design, but I do have some OC's that aren't hedgehogs, clothing-wise, I put clothing in all of them because, in my opinion, it makes them fell more unique

  3. Lame name for a topic...

    I'l post anything i drew here(obviously), for people to critize and comment!

     

    Let's start with my two main OC's, Gabriel the hedgehog and Purple the Chao:

     

    g84k.jpg

     

    My second OC and Gabriel the Hedgehog's best friend, Spark the Hedgehog:

     

     

    gpuq.jpg

     

     

    Another Oc, Rose the hedgehog (I have a lot of OC's, I must suffer from Compulsive OC Creation Sindrome)

     

    m6s7.jpg

     

     

    Finally, my "last" Oc, Ivo the Hedgehog, this one is a villain ("last" is in quotation marks cause I have like more 7 Oc's I just dont have drawings of them)

     

    ruq4.jpg

     

    A drawing of Sonic, Riders style( without Riders gear):

     

    pkfi.jpg

     

    Same as above, only this time it's Shadow:

     

    1ew5.jpg

     

    Tails, also Riders style( yeah, I really love the Sonic Riders artwork style)

     

    rk7q.jpg

     

    Knuckles, Riders style

     

    coak.jpg

     

    Classic Sonic:

     

    j3tr.jpg

     

    Classic Super Sonic:

     

    0f5a.jpg

     

    I'l post more soon

     

     

     

     

  4. Gives me this error:

     

     
    ___________________________________________
    ERROR in
    action number 6
    of  Step Event
    for object objPlayer:
     
    In script scrPlayerHandleObjectsSprings:
    Error in code at line 10:
             Speed = cos( degtorad(spring.direction))*_ObjectHandle.SpringStrength
                                   ^
    at position 30: Unknown variable spring
    ______________________________________________________________________________
     
     
     
     
    I tried changing spring.direction to objSpringParent.direction but it gives me this:
     
     
    ___________________________________________
    ERROR in
    action number 6
    of  Step Event
    for object objPlayer:
     
    In script scrPlayerHandleObjectsSprings:
    Error in code at line 10:
             Speed = cos( degtorad(objSpringParent.direction))*_ObjectHandle.SpringStrength
                                                   ^
    at position 46: Unknown variable direction
     
  5. Does it tell the player object to do horizontal movement?

    No, it didn't but i updated the code to tell the player to do horizontal movement and it still won't work:  

     

    PS: the second line(the one with the scripts) is all in the same line

     

     
     
    case consSpringOrientationDiagonalLeft:
                    if (scrPlayerCollisionRightObject(global.GravityAngle, 1, _ObjectHandle) && Speed >= 0) and (scrPlayerCollisionBottomObject(global.GravityAngle, 1, _ObjectHandle) && Gravity >= 0) {
                        Speed   = -_ObjectHandle.SpringStrength;
                        Gravity = -_ObjectHandle.SpringStrength;
                        Ground  = false;
                        Action  = consActionSpring;
                        sound_stop(sndSpring);
                        sound_play(sndSpring);
                        break;

     

  6. Ok, so i tried adding diagonal springs in the Sonic Dash+ engine in Game maker 8, but it works as a regular up spring, and I have no ideia why...

     

     

    Here's my diagonal spring code:

     

     

     

      case consSpringOrientationDiagonalLeft:
                    if (scrPlayerCollisionRightObject(global.GravityAngle, 1, _ObjectHandle) && Gravity >= 0 && Speed >= 0) {
                        Speed   = -_ObjectHandle.SpringStrength;
                        sound_stop(sndSpring);
                        sound_play(sndSpring);
                    }
                    break;
     
     
     
    Any help would be apreciated!
  7. Ok, so I'm using the Sonic Dash engine for Game Maker, and I noticed that when the player colides with a enemy and has 0 rings, the hurt script is set to execute scrPlayerKill, but that script is empty( that means that Game Maker just uses the default hurt script, since the death script has nothing ), I've tried to add the death code, but porting from the old sonic dash to the new sonic dash is difficult( the old one uses variables for the player actions, while the new one uses constants), I would like to keep Sonic/Tails/Knuckles in the same object( meaning I dont want a different object for the death animation), the problem is I dont know how to this, one way would be to make Sonic/Tails/Knuckles change sprite, and make them move up, the set an alarm and make then fall, but that doesnt seem to work

     

    Any help would be much apreciated!

     

    Thanks in advance

×
×
  • Create New...