• ProjectsWIP
  • RampageCraft - a lego fortnite-inspired game

need to solve block snapping. when you solve it pls post the solution

    kuligs2 what do you mean, block snapping? Like snapping to like a grid or something… I don't really know how to do that in Godot… but yeah that's definitely needed.

    i'll probably just round the x and y values or something like that

    “Rounding” to the nearest 10 or 50 would be great, but I don't know how to do that in GDScript. It's not rounding, so the round function wouldn't work.

    • xyz replied to this.

      Looks like in python, round does take negative ndigits parameter

      >> round(46,-1)
      50

      I'm not sure if that works in GDScript through. I'm going to try that.

      xyz oh, wow I didn't even know that function existed, thanks a lot!

      I just added snapping functionallity to walls!

      F3 Debug Screen Added! (fps graph on right side)

      my question is, why the pic in the title screen looks like a game but the actual game is like something from windoes 98 screen saver?

      Can you post the solution for block snap?

        kuligs2 the pic is a placeholder and the game DOES NOT LOOK LIKE A SCREEN SAVER... well maybe it does...