Using the code below I populate the room with an object, but I'm also trying to dynamically change the image_index of the object that gets placed down. For example the first object gets placed as image_index 1, then the next object that gets placed would be image_index 2, etc.
for (var i = 0; i...
I'm trying to make a Camera which boundaries are dynamically changed, based on the current position of the Camera Object.
I can't get it to work how it used to be and I found nothing in the internet or in this forum for my special problem.
I try to achieve that only certain parts of a...
Hey all! I'm making a survival/crafting game, and I want to be able to define objects/items (as well as crafting recipes) and their parameters via json files rather than tediously creating one after the other, adding a create event, and setting the variables directly in GameMaker. Of course...
Hi, how are you guys?
So... I started to work on a Just Dance fan-game on GML, and until then, everything is going well
I was able to get video playback (through a extension), programmed lyrics and beat system
Here is the current progress of the game:
But, i'm having trouble with something...
I was wondering if there was a formula or system to dynamically change the value of certain actions or items, such that over many uses by individuals the points will balance out. For instance:
- lets say there are 6 tasks that can be completed any number of times
- they require completely...
Greetings Fellow Devs,
Today, I present a tool that will greatly improve the shader development workflow - a tool that was painstakingly put together through trial and error / constant testing with hypotheses because GMS2 is closed-source.
Live Shader Editor is a C++ extension that allows you...
I'm trying to achieve a dynamic lighting effect like in "Thomas Was Alone," however I can't seem to find the right sources. I've been trying to follow this tech blog, but I'm not getting much luck. I'm pretty sure it's outdated, and I want to use objects instead of tiles anyways. Any tips to...
Greetings gamemakers! Is there a sprite equivalent of tilemap_get_at_pixel? If I place some sprites on an asset layer but later want to check a position for some sprite, how might I do that? And just fyi, the sprite may be on a completely different layer than the one I placed it on in the room...
I am working on an bird enemy for my platformer. The way I would like it to attack is as follows:
The bird will be above the player's screen view, and casting a shadow on the ground. Once the player lands on that shadow the bird will follow him/her around for a couple seconds before...
This GameMaker Studio 2 asset provides a complete and...
Very simple (bare bones) demo showing how to do dynamic audio using buffers and audio queues in GML so that it's totally cross platform.
I have found some weird behavior in GameMaker during the making of my current game and need some advise on how to fix this.
I was able to reproduce it for a very simple case:
Consider a 2D topdown game where a player object can move through the room. Also, there are some tree objects.
How can I make the code below effecient so I only have to write the complete message one time?
draw_text(220,962,'Goodmorning! I see');
Alright, so I'm not really sure where to put this since we don't have an "Open Source" section anymore.
If you don't like reading, here is your download.
Optionally, the source for the external runner.
What Is This:
This is my take on having dynamically added code to my projects post-compile...
I want to ask, with method is best to use to SCALE your game.
I´ll make game in resolution of 1200x1920 and set in game 1200x1920 (view), but port will be set besides current device (+borders of aspect ratio). Will this method be bad for FPS, when you will play it on weaker...
GM Version: GameMaker:Studio 1.x and 2
Target Platform: ALL
Links: YouTube Video
Its often needed to reuse code, but with slight alterations.
Dependency injection is used to keep you code generic, allowing it to be reused in multiple different situations.
I made an experiment with pathfinding.
Top down rotationg objects (player and AI) moving.
My goal is to "force" the AI to move the left or right side of the player (wich is closer), and stop if it reaches the right point. I use mp_potential step, what serves great until i attempt to...
I'm trying to make a 2d platform arena shooter multiplayer game, so I want a camera to stay in the middle of the two players. I can do that alright, but I don't know how to make it zoom in or out when the players walk away from each other.
I have an object_camera and the view...
Download .exe here: https://drive.google.com/open?id=0B5SmSXI3oLGpRzBlRXFBeERjOTQ
Price: FREE till the 7th of july!
Simple grid based water. Simple and intuitive to use, the water is based off the water shown in games...
I'm facing some trouble with my codes lately, and I'd like to share it with you and see if you guys can help me.
var bt_mov_up_x = inst_01E615EC.x, bt_mov_up_y = inst_01E615EC.y;
var bt_mov_down_x = inst_956A28E7.x, bt_mov_down_y = inst_956A28E7.y;
var bt_mov_left_x =...