After myself and many others were frustrated with the Camsurface extension being broken in GMS2 I taught myself basic java and managed to fix the extension.
The steps to fix are as follows:
Step 1: Download and import Camsurface from the Marketplace.
Step 2: Change Line 6 of the buffer_dump...
how can i fix this compile Error?
Compile Scripts...Error : duplicate script name found gml_Script_create_bullet
i've tried global searching and renaming it but no luck.
I got this and haven't been able to figure it out
FATAL ERROR in
action number 1
of Draw Event
for object obj_InventoryGUI:
draw_sprite argument 1 incorrect type (undefined) expecting a Number (YYGI32)
at gml_Object_obj_InventoryGUI_DrawEvent_1 (line 23) - draw_sprite(ds_grid_get(myItems...
:oops:Hello GMC, last post i was finding out about tile bugs with my partner nocturne xD it was a bad function usage, but, this time i got a serious bug to fix, look...
I use tools->create local package
this because i wanted to create a package for backup and to create my full game version in...
I included a short (2 mb) open source file made with Gamemaker Studio 1.4
Link to open source Zip File: Drop Box or Google Drive
In it are two rooms...One where the game runs fine. But the other...I tried to speed up Pacman (and enemies) from speed 2 to speed 2.5.
(Note: I want to speed up...
Is it possible for the yoyo game's developers to add MD6 encryption into gamemaker studio 2 alike the usage of md5_string_utf8(string)??? I want this feature added because MD5 is a good and robust encryption but it has been around for a long while and there are a lot of wordlists for MD5, that...
Hi I followed a tutorial for an inventory system and I'm getting this error
FATAL ERROR in
action number 1
of Mouse Event for Left Pressed
for object obj_InventoryButton:
ds_grid_height argument 1 incorrect type (undefined) expecting a Number (YYGI32)
at gml_Script_addItem (line 18) - for(i =...
There is a weird and very thin and transparent outline half inside my sprite.
I am not sure why its there. I already tried removing pixels in the original image, so I am very sure its the fault of the program.
I am running out of ideas to fix it. Nothing is working.
I got code for a parkour game but the animation wont play it'll witch to #the first frame and then nothing after that
step event:
if isClimb = true and facing = -1
{
image_index = 0
sprite_index = spr_wallClimb
}
if isClimb = true and facing = 1
{
image_index = 0
sprite_index = spr_wallClimb...
GM Version: Studio (all)
Target Platform: Windows
Download: see video
Links: N/A
Summary: Here's a quick tutorial for basic movement. The main point of the video is making it so you move at a constant speed no matter what direction you're going in.
Please lemme know if this helped anyone out...
Hi everyone,
Really, i dont know if anyone posted the solution before. But, i was in this situation until now. I was searching a lot in internet and no one "solution" (IPS problems) worked for me. Even the manual download of the runtime :/.
Well, the solution was simple. Just run GMS2 the first...
Can you help me with fixing this?
step event
key_right = keyboard_check(vk_right);
key_left = keyboard_check(vk_left);
key_up = keyboard_check(vk_up);
key_down = keyboard_check(vk_down);
key_jump = keyboard_check(vk_space);
//React to inputs
var move =...
Hey guys! I'm currently in the middle of making a soundboard and have made it so that the player cannot repeat the same sound (so the don't spam it) but I don't know how to make it so that if they click on a different sound, the one that is playing stops. Basically only having one sound play at...
Basically, I am creating a soundboard and I am trying to make it so that when the user presses the button, the sound plays and the instance changes to another object (purple button to pink button) this makes it so that the user cannot continuously press the button and they know that the sound is...
I am fairly new to game maker 2 and just started a platforming project. Currently I'm moving the player by adding "spd" (which is an integer) to the player's x position. The pixels aren't distorted or anything, but anything that is moving relative to the camera blurs.
If the camera is stuck in...
Hey,
the code is here:
(In "press <Space>" Event)
/// Spawn the bullets
if playerdir = 0 {
if powerup_bulletsize = 4 instance_create(x+2, y+4, obj_bullet4x4_up) else
if powerup_bulletsize = 8 instance_create(x+2, y+4, obj_bullet8x8_up) else
if powerup_bulletsize = 16...
Title pretty much says all. I'm sure this is done for a reason, but is there any easy way to fix this? My first idea of setting all of the image_speed's to image_speed*(room_speed/60), but that doesn't seem to work for some reason.
Any ideas?
Either way, thanks for reading.
SOLVED!
The solution, for anyone else having this issue was to run the arms "follow" code in the End Step event rather than the step event.
In my game, the player's head and arms are separate from the body and point to the mouse and follow the player.
The head in this case works 100% fine...
I'm trying to use Google Play Services Achievements and Leaderboards in my game and I'm using achievement_login(); in my init_game script and it logs in just fine for me but for my friends it just hung up on a loading screen and then fails to connect.
I even added a fail-safe that attempts to...