This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///draw_fade_color(color,speed/alplha) | |
alert(0,"Fading..." + "(" + (string(color_fade_alpha)) +"). Cannot pause game." ) | |
can_pause = false; | |
depth = -100000 | |
var snapped = color_fade_alpha//= floor(color_fade_alpha * 10)/10 | |
draw_set_colour(argument0) | |
draw_set_alpha(snapped); | |
draw_rectangle(0, 0, view_xview [0] + view_wview[0], view_yview[0] + view_hview[0], false); | |
draw_set_blend_mode_ext(bm_src_colour,bm_zero); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///audio_play(listener,snd_filename,fade in time[ms],loop?) | |
var listener = argument0; | |
var sfx = argument1; | |
var time = argument2; | |
var loop = argument3; | |
if gamepad_is_connected(listener) | |
{ | |
sfx = audio_play_sound_on(listener, sfx, loop, 0); | |
} | |
else if listener == noone || listener == -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (script-fu-respace-tiles-addMarginSpacing inImage inLayer tileSize) | |
(let* ( | |
(margin 1) | |
(spacing 2) | |
(duplicatePadding TRUE) | |
(theWidth (car (gimp-drawable-width inLayer))) | |
(theHeight (car (gimp-drawable-height inLayer))) | |
(theMarginX (* 2 margin)) | |
(theMarginY (* 2 margin)) |
NewerOlder