clutter

  1. Y

    GameMaker Too many arguments, how can I simplify?

    Hello friends, I have been working with hitboxes for a while now, and I am beginning to have a problem: my hitbox creation function has a cumbersome amount of arguments. Currently it has separate arguments for the hitbox's X-scale, Y-scale, X-offset, Y-offset, lifespan, X-knockback, Y-knockback...
  2. N

    Cutting coding clutter

    Here it goes. How do you manage coding clutter, by clutter I mean lines upon lines in you character objects step event. I’d like to maybe experiment but putting some stuff in other interactable objects. What I mean is; If I wanted to interact with an object in my chars code I would put, If...
Top