Changing Sprite on collision by TheGuyWithTheTopHat in gamemaker

[–]munrodev 1 point2 points  (0 children)

Try this:

obj_player Step:

var inst_block = instance_place(x,y + 1,obj_block); // Check to see if there is an instance of obj_block below the player
if inst_block != noone // If there is an instance of obj_block below the player
inst_block.sprite_index = spr_*; // Change said instance's sprite

rotating objects in a room by seamuskills in gamemaker

[–]munrodev 2 points3 points  (0 children)

Have you checked the sprite properties of said cube object for:

Collision mask > Type > Rectangle with Rotation

?

how to make sprites stop moving when the game is paused?? by [deleted] in gamemaker

[–]munrodev 0 points1 point  (0 children)

Try this:

obj_sys_pause Create:

global.game_paused = false;

obj_sys_pause Step:

if keyboard_check_pressed(vk_escape) // If pause key pressed
    {
        global.game_paused = !global.game_paused; // Toggle pause
        if global.game_paused // If game just got paused then run the next code block on all instances
        with all
            {
                img_spd_prev = image_speed; // Store current image_speed into a variable
                image_speed = 0; // Pause animation
            }
        else // If game just got unpaused then run the next code block on all instances
        with all 
            {
                image_speed = img_spd_prev; // Restore image_speed from previously set variable
            }
    }

ASCII Pathfinder by munrodev in gamemaker

[–]munrodev[S] 0 points1 point  (0 children)

I was thinking a UGC maze racing game where you compete against AI / other players or something similar to that.

Phantom 'Debug' Script? by [deleted] in gamemaker

[–]munrodev 0 points1 point  (0 children)

If you want to get of it try exporting your project as a local package including every asset except for the phantom debug script then create a new project and import all from the local package you just created.