Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
My game has 8 different characters, each represented by a different sprite to assign to the player object. The player can switch to another character whenever they want, before entering any level.
I want this special level to have all the characters gathered together, so I created an object...
I'm trying to make my game choose between several options of sprites to show when I make my character jump.
So for example I have three sprite animations of my character jumping. Each jump is different.
I would like to make it so that when I press the 'jump button' the game randomly chooses to...
Hi again everyone!
I've had a complete mental block, and I was hoping someone would be able to shed some light or direction on how I can design a code snippet that basically generates a random set of coordinates, proceeds to check whether the cell at those coordinates in a grid is free, and if...
I'm trying to get a white square to randomly change transparency between 5 and 0.5.
I want the object sprite to randomly flicker
like flickering lights :)
something like:
between 5 and 0.5
randomly change
image_alpha += 1;
So I've been making some kind of randomized-Bullet-Hell type of game, and not too complex of course since it is my first time using code and GameMaker.
I'm using a timeline to create all of the bullets and the instances, which work well, except for one detail: No many times how I restart my...
I'm making a game and I want to have the music come in randomly (so like once its done playing the first time it waits a random number of seconds before starting up again)
I can't seem to get anything to work. Can anyone submit a code that handles this?
Hello everybody, it's me again !
I don't know if I'm crazy, clumsy or stupid but softwares don't stop acting strange with me, so do Game Maker Studio 2.
First let me say something without any link with my bug but I have a "if" with 2 conditions "condition1 = 1 && condition2 = 1 that is not...
Hello! I am trying to make some enemies spawn randomly in a room. The only issue is that they sometimes spawn inside blocks and they get stuck. How would I go about fixing this? I am using random_range to specify the region they should spawn within.
Any help would be very much appreciated!
-...
Hey!
I'm making a side project and its kinda like Asteroids. You are a block and have to pilot your way through a field of blocks (asteroids). I want it so they are randomly generated and its a top down style game. You can only go 'up' the room but you can fly 360 degrees with a joystick.
I...
I am Building an RTS Type game and was hoping someone could help,
I want it so that every time an instance of obj_fighter is created, that fighter has a unique name that will be displayed when clicked on or above their head. I can imagine this is quite simple but cant figure it out.
eventually...
I have a code that will randomize lines of text said by an npc, problem is the randomize function seems to only work when the game is restarted or the room is changed. Is there any way to randomize without changing rooms or restarting?
here's my code just in case:
randomise();
subLine =...
I would like to learn how to render smokey multi-colored nebula clouds without the use of shaders similar to the ones you've seen in Heat Signature.
https://twitter.com/HeatSig/status/910903495355662336
Can anyone link me an example or perhaps a tutorial to learn how to achieve this?
I assume it...
I'm trying to make a randomly generating item generator. that will make another item at that location that will repeat the same code but with different variables etc.
let's say that the object before it picked 3 (down)
So what it would do is
R1X= 3 //from before when the object before picked...
hi there im farly new with gamemaker and im trying to make a collision code for my enemy object that moves one cell (32x32) at a time in a random direction... here is my code
/// Enemy AI
randomize()
if ismoving == false{
if objPlayer.ismoving == true{
dir =...
I've got a weird issue I need some help with. The problem is inconsistent, sometimes it works, sometimes not.
The setup is that I've got a script that creates randomized planets. The first step creates a random set of plant and bug species for the planet. The second step places those lifeforms...
so im saving the seed random_get_seed(); and i load the game, and it generates the way it previously did, when i saved the seed. but if i re generate again, without reseting the room or the game, it generates differently. is there a way to generate the same old things no matter how meny times i...
I'm not comparing GMS with any other product, but there is a very important feature in Buildbox i really want to see in GMS or build a function for it.
In Buildbox you can design many "level parts" and let the game arrange them randomly as one level (connecting all those pre-designed parts or...
Well, I am trying to make an "obj_textgenerator" that has a variable called "Name", I want this variable to be Randomized and I also want to draw something like. draw_text(0,0, string(Name) + " is attacking your town(or something like that. You got me.)") So, what I basically want is to show...
Working on a top-down multiplayer game, with a server-client connection, blah, blah, you probably know the jazz by know...
From the previous thread:
"Made some bit of edits, the second player for the first player spawns at the position 0, 0... even though I've set the clients to spawn at a...