Quantcast
Channel: Active questions tagged game-maker - Stack Overflow
Browsing latest articles
Browse All 111 View Live

how to have a camera follow the player in a rollback game (gamemaker)

I generally can't figure it out, I don't know how to keep some input local, rather than it being shared to both pcsTried Youtube, however, there was nothing on the subject. Even the official gamemaker...

View Article



GameMaker calculate the Object's speed with xprevious and yprevious?

Can't calculate speed based on that.I'm using paths to move objects so built in direction is speed is always zero?How can I calculate the real speed of the object?No matter what xprevious is always x...

View Article

Game maker refuses to compile and run game, with error message "Unable to...

I am currently doing a project in a fresh installation of Game Maker Studio, version 1.4.1499. When I attempt to build and run the project (using the run button, the run menu option, or by pressing...

View Article

Memory leak after deleting a sound buffer

Here's my problem:In my game, I want to have a mini game using a microphone, à la Zelda Phantom Hourglass or Wario Ware.So far, it's globally working. I think I manage to make it work.But, there is one...

View Article

Having trouble accessing object data from JSON file in Gamemaker

I'm having an issue accessing JSON data for my game. Basically, I'm trying to pull this data in to use as dialogue. Here's the (relevant) snippet of JSON code below:{"actOne" : {"foxA" : {"gameStateA"...

View Article


Problems to insert STEAM API and achievements on my Gamemaker Studio 2 Game

So, i recently launched a game on steam with the name of "Jump By Coronho: Chapter 2"After some time, people started asking me to implement achievements on the game. Since then, I'm trying to do it but...

View Article

Implementation of Dijkstra algorithm in GameMaker studio [closed]

I have been assigned a test task to implement the Dijkstra's algorithm in a 2D game. There are four objects: the start point, the end point, walls, and an object that should use the algorithm to find a...

View Article

Gamemaker - Retain Overlapping with collision

How is the best way to setup collision so that my player will trigger collision logic when colliding with an enemy and so that I can walk through enemies, per se, but Not be able to walk through...

View Article


Falling animation plays throughout the whole jump?

It's a pretty simple problem. When I jump in my game, there are two animations. One for rising and one for falling. However, when jumping while moving left or right, it only plays the falling...

View Article


Gamemaker not able to connect on port when running Debugging Mode

I currently am unable to debug in GameMaker as it keeps saying "Unable to connect on port ####, please change value at General Settings->Debugging->Debugger Port" everytime I try launching the...

View Article

How can i make text showing up after some period of time?

I am a newbie. i wanted make little text showing under the door after player reaching the door and waiting some time, but text doesn't show up. text part works fine, but " call_later" not.var _callback...

View Article

Image may be NSFW.
Clik here to view.

game maker modifying windy woods game

I am a complete beginner in using game engines and creating games in generalI have a project to implement and I am trying to learn while implementing it at the same timecurrently, I am using the Windy...

View Article

How can I make it where I automatically move in a certain direction (Purpose...

I am trying to add a wall jump to my game and am struggling with the horizontal momentum, where it just teleports to the location instead of it being a smooth arc.var move = key_right -...

View Article


Fisheye effect in GameMaker Ray Casting

I've recently made an easy ray caster in Game maker just with a 2d game where you walk and collide with walls and then i added a ray caster to it:function cast_ray(sx, sy, sdir) { var rayx=sx var...

View Article

Gamemaker game freezing computer

My friend is currently making a game in gamemaker, but whenever I test it out for him my computer seems to just completely lock up. My PC that I am testing on is no way underpowered, it has a 2500k,...

View Article


How can I alternate between three points with the camera?

I am trying to make it where you have the camera move between 3 points when you change the current state of where you are looking at (left, middle, and right).What I tried is to create a seperate...

View Article

I want to create a One-Way platform in GameMaker, how?

So i wanted to create a one-way platform for my game, I'm a beginner in GameMaker (and coding in general) , and new to StackOverflow so I don't know how to do it.I have my obj_player, with a create,...

View Article


Sprite_index is not set

I'm following a YouTube tutorial on a fighting game. Facing an error:Var <unknown_object>.sprite_index not set.The error was here:if (sprite_index != sprKill_foward){ sprite_index =...

View Article

Transparent Window with Clickthrough and on Top

I am currently working on a small overlay project in Game Maker that I want to always render on top, have a transparent background, and allow clickthrough to the window behind it. Using GML extensions...

View Article

Image may be NSFW.
Clik here to view.

Variable isnt properly checked in if statement

Somehow I can spam "Q" to have the if statement run infinetly as if the cooldown never gets checked for or never UpdatedI wanted to have like a cooldown timer of 60 Frames and only have this Sequences...

View Article

Image may be NSFW.
Clik here to view.

Destroy Sequence after being played in Game Maker

The Code plays an Attack Animation (Sequence) if the cooldown timer hits 0 and "Q" is pressed. The problem is, that I dont know how to delete the sequence after it has finished its animation of 12...

View Article


GUI will only Work for Newest Towers and I Don't Know Why. (Gamemaker)

I have a problem where in a game. when I make in a place the first tower the GUI works fine, but when I place the second tower the GUI only works for that second tower, and it just goes on and on for...

View Article


How to Trigger a Destruction Animation on a Character When a Bomb Explodes in...

I'm developing a Mario Bros clone using GameMaker Studio, and I've added a unique feature where Mario can throw bombs to defeat enemies. While I've successfully implemented the bomb-throwing mechanics,...

View Article

Collision GameMaker issue

I'm new to GameMaker and I followed a tutorial by "Let's Learn This Together". I was trying to make collisions for my character, however every time my character bumps into the object, they get stuck...

View Article

My player character object can't jump in game maker, because it's a platformer

I have the basis of normal hit collision to tell when the player character can jump, but my pc can't jump. And the umbrella code is for another mechanic. I just need the pc to jump.My codeI had help,...

View Article


Why in game maker when I try to add or modify my jump height, it doesn't work?

Whenever I try to change the equation, the jump height doesn't change at all. Only when the value added to the y constant is negative the "jump" height changes. It teleports through the platform. Also...

View Article

Method inheritance in GML

So, I have a "trigger" system in a mod for a Pizza Tower, i made so that there is a obj_trigger parent and an obj_delay child, the parent has a method to execute the main functionality of a...

View Article

Loading GameMaker into React Native

I am working on a more traditional React Native app. There has been a requirement given to include small mini-games within the app.I would really like to allow our dev team to utilize a game making...

View Article

problem on game maker with opera GX and the roll back

I have a problem with game maker on opera GX, my code isenter image description hereand the problem written is enter image description hereso thanks for those who will help meI have already test with...

View Article



I keep getting this error: the function takes no more than 0 arguments but 4...

I am currently working on a project in GameMaker Studio 2, but it is saying that my function takes no more than 0 arguments, when I have set it to 4. Can anyone help?function drawBoxRect(bdl, bdr, bdu,...

View Article
Browsing latest articles
Browse All 111 View Live




Latest Images