Draw outlined text - the easy way [Game Maker | Basics]

Опубликовано: 15 Январь 2025
на канале: 1up Indie
3,651
83

This basics video tutorial shows you how to draw your text with an outline the easy quick and dirty way in GameMaker.

The idea is quite simple. You use the fx outline and assign it to an instance layer with the inspector. Then you place an instance on that layer that does a regular draw text command. All drawn texts have on this layer the same outline "attached". That's it!

Note that this method has a limitation because you can only have one size of the outline set to it. And if you use the outline make sure to have no interpolation/antialiasing on the font (see the result in the video) which then wraps the outline around totally transparent spots which does look very ugly the bigger the font is. The fx layer affects all draw evens, texts included (fonts are being saved in the texture page, so they are "images" also).

Tldr:
assign one instance layer with the outline fx (via inspector)
place the instance on this layer + draw some text in it



👑 Support me and get fresh game art and game maker projects every month:
  / 1upindie  

Follow me on:
📸 Instangram:   / 1upindie  
🐦 Twitter:   / 1upindie  
💬 Discord:   / discord  
📜 Udemy: https://www.udemy.com/course/become-a... (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:31 Subscribe
0:41 Where can you set the outline effect (fx)
1:06 Text is also part of the draw event
1:29 Have an instance with draw_text place on instance layer
1:45 Apply to this instance layer the outline fx
2:20 It doesn't work well with interpolated/antialiased fonts
3:06 Game shown: Cave Blazers