Example Gamemaker Content

Here are some examples of the kind of things I'll be publishing on the GAMEMAKER Marketplace:

Example Script:

/// @function sdm_motion_relative_angle_degrees(_sender,_target,_angle,_speed)

/// @param {index} _sender The object being set in motion

/// @param {index} _target The target object for the relative angle

/// @param {real} _angle The angle in degrees

/// @param {real}  _speed The amplitude of motion to add

/// @description Adds 2D motion in a direction relative to another object

/// Brian Joseph Johns - Shhhh! Digital Media

function sdm_motion_relative_angle_degrees(_sender,_target,_angle,_speed){

// determine relative position

ToX = _target.x-_sender.x;

ToY = _target.y-_sender.y;

// for our rotation of ToX and ToY

cs = cos(degtorad(-90));

sn = sin(degtorad(-90));

// rotate vector by angle

ax = ToX * cs - ToY * sn;

ay = ToX * sn + ToY * cs;

// normalize the resulting vector

templen = sqrt(sqr(ax)+sqr(ay));

ax /= templen;

ay /= templen;



Here's a quick and very basic demo of something I did recently using Gamemaker 2. 

Shhhh! Digital Media Example Demo

Most of my Marketplace content will be utilitarian in nature. I'll charge for some things and share others freely, and attempt to strike a fair balance between the two.

Brian Joseph Johns

Shhhh! Digital Media

fav.inbox@gmail.com (the email through which I purchased Gamemaker)

brian.joseph.johns@shhhhdigital.com (Official Shhhh! Digital Media email)