we work with object all the time, but originally they start from the top left. we look to put our start point in the center of an object.
starting by creating a new project & a reusable Entity class. putting an x, y, width & height inside.
we then code out a ShapeObject that uses the Entity class. next, we make an ImageObject class which also uses the Entity class & make sure that the image affects the width & height.
our last class is FontObject also using the Entity class, using the fonts string & size to affect the width & height.
we then create a grid to show how the objects are rendered using the center point.
SUPPORT ON PATREON FROM AS LITTLE AS $1:
intro & outro music is from this EP:
like, share & subscribe to stay up to date.