Downblock - Seasoned revised code


  • 44
  • 0
  • 1.054
  • Reply

  • Open in the desktop app ADD TO PLAYLIST


    Published on Sep 15, 2021
    About :

    So adding features and object to the world I took something from the past to quickly integrate something new to the project in these time dry period. The block that allow the player to descend is kinda of a must in every 2d side scroller so I went back and took the code from Cycle Song down stepping blocks. Problem is that the code was kinda rough for a simple 2d platformer now adding the physics implementation I was thinking in encountering many problems so the idea was to use the static object in the room such as a creator of downblock and the player activator instance wich is all the time centered where the player is.
    This solved some problems but then I encountered other issues when checking if the player was jumping from it or passing through.
    This took quite a lot of knocking the head against the wall but here is the final results as shown in the video, with checking if the the activator Y position is above respect to the block creator one.
    Well onto creating some game room to test it out and find this solution ricocheting back ahah

    Tags :

    threespeak stem gamedev gems ocd

    Woo! This creator can upvote comments using 3speak's stake today because they are a top performing creator! Leave a quality comment relating to their content and you could receive an upvote worth at least a dollar.

    Their limit for today is $0!
    Time until mproxima can give away $0 to their commenters.
    0 Days 0 Hours 0 Minutes 0 Seconds

    To comment on this video please connect a HIVE account to your profile: Connect HIVE Account

    5 views a year ago $
    3 views a year ago $
    2 views 10 months ago $

    More Videos

    5 views 2 years ago $
    4 views a year ago $