Wednesday, June 5, 2019

GameMaker Studio 1/2 - replace black bars with sprite

To replace the standard black bars on side, that appear if the room/view size do not match the device size (resolution), do below

  1. Create a sprite with an image that can be tiled. ex: spr_tile_bg
  2. Create a object and place in room
  3. The object created should have just one event, "Pre-Draw" with this line draw_sprite_tiled(spr_tile_bg, 0, 0, 0);

This will tile the image as a background across the entire screen

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...