ZMzeinab mahdizadehinbeneaththesmile.hashnode.dev·Sep 6, 2025 · 1 min readDay 1 of developing Beneath the smileToday I just decided to start creating a new game. The name of the game is Beneath the smile. The idea is that in a cozy little village, there’s a nice character that enters a dungeon when she sleeps and the dungeon is actually the dark side of her m...00
ZMzeinab mahdizadehinshiman.hashnode.dev·Aug 20, 2025 · 2 min readEnemies shoot back!For our enemies to be able to shoot back, they need to have a gun and bullet object dedicated to themselves. but first, we need to add a variable to our enemies to see if we have to spawn them with gun or without it so we add a “has_weapon” bool vari...00
ZMzeinab mahdizadehinshiman.hashnode.dev·Aug 20, 2025 · 2 min readKeeping track of scores and O_Game objectWhen we kill Enemies or we want to do some overall activities in the game, we need to keep track of these by creating an O_Game object. O_Game object needs to be persistent and created in the menu. This object can hold lots of different variables dep...00
ZMzeinab mahdizadehinshiman.hashnode.dev·Aug 18, 2025 · 1 min readPickupsYou can simply create a floating animation using the code bellow and then add a Collision Event to pickup the object actually. y = ystart + sin((get_timer()/500000)*5); In the collision it can be like this: with(instance_create_layer(other.x, other....00
ZMzeinab mahdizadehinshiman.hashnode.dev·Aug 18, 2025 · 1 min readJump BuffersYou can change the step event of the player to has a jump buffer with a small delay allowed when jumping. This code gives a 10 frame allowance to jumping can_jump--; if place_meeting(x, y+1, tile_id){ can_jump = 10; _ver = 0 } if ( keyboard_c...00