var screen = render.get_screen_size();
var a = 0
var lerp = function(a, b, percentage) { return a + (b - a) * percentage; }
register_callback("render", function() {
a = lerp(a, 1, global_vars.frametime() * 8)
var alpha = Math.floor(Math.sin(global_vars.realtime() * 3) * (200 / 2) + 200 / 2)
render.text([100, 100], [255, 255, 255, a * alpha], 12, 2, "Text")
})