A downloadable game

WASD

SHIFT

LEFT MOUSE

This is my first creation using Game Maker Studio 2

I've grown accustomed to Unity in the past 3 years but now I'm starting to see the benefits of using other software.

Personally, I really like the work flow of Game Maker. you don't have a super crammed work space and all of the code is separated out into easy-to-understand events. In unity you would end up scrolling for ages to find the update method, but with Game Maker you can just click straight into the "step" event.

Also, Game Maker removes the restriction of having to access an object properly before being able to use methods and attributes. You can simply type in the name of the object you wish to access. In addition to this, I find the pre-built libraries to be genuinely useful for games development. For example, if you want an object to rotate towards the mouse, you just have to write: 

"image_angle = point_direction(x, y, mouse_x, mouse_y);"

and it just magically knows what x,y,mouse_x, and mouse_y is without definition. Whereas in unity it requires something less intuitive like:

"

  Vector3 mouseWorldPosition = Camera.main.ScreenToWorldPoint(Input.mousePosition + Vector3.forward * 10f);

        float angle = AngleBetweenPoints(transform.position, mouseWorldPosition);

        transform.rotation = Quaternion.Euler(new Vector3(0f, 0f, (angle - 180)));

        if(transform.rotation.z > 90)

        {

            transform.localScale = new Vector3(-1, 1, 1);

        } 

    }

    float AngleBetweenPoints(Vector2 a, Vector2 b)

    {

        return Mathf.Atan2(a.y - b.y, a.x - b.x) * Mathf.Rad2Deg;

    }

"

I'm sure there are more efficient methods for it but its undeniable that you would have to do some quaternion magic. My point is that Game Maker has some great things for beginners. However I cannot look over the lack of UI support in comparison to Unity. You have to manually code healthbars and text which is where Unity wins because you can't visualise where how you want everything to look prior to implementing it.

Download

Download
angeroids.zip 4 MB

Comments

Log in with itch.io to leave a comment.

Oooh, aim feels a little off, but a good little asteroid like game.  simple and fun.  

Haha thanks, its just a quick thing to showcase what can be done in game maker studio

I would also like to add that the aim is not off. if you hold your mouse still and hold fire you'll find that your projectile goes to exactly where your mouse is.