1. inertias

    Fps lowering with only one light

    Hey everyone, so I was looking at this tutorial to make a lighting system: I got it working, but am having an issue with the fps dropping dramatically. Only spawning one light cuts my fps in half (60 down to 30). Here is the code: 2 objects, 1 called obj_surface_light and obj_lightsource in...
  2. IGameArt

    Rexx Stone: Doomlike 3D FPS

    Take control of Sergeant Rexx Stone as he blazes through hordes of aliens hell bent on the total annihilation of The Milky Way galaxy! A dash of Doom, with a pinch of Duke Nukem, a light sprinkling of Blake Stone, and baked at 420 degrees for 66 hours and 6 minutes while Kung Fury plays on...
  3. S

    Blood particles drop fps

    so im making a top down shooter and i want to have blood in it. So what i did is when the player dies he makes 100 blood object (just a 3x3 pixel) and it gets a random speed and a random direction. As soon as it hits a wall it stops moving so it looks like the wall is covered in blood. The only...
  4. MegaJim73

    GML [GM8] Hitscan shotgun code

    I've been tinkering the hitscan code I made in my previous thread for a shotgun in my FPS but it has a couple of quirks that keep it from functioning as intended: When aimed at an enemy, only up to three 'pellets' will hit the enemy and do damage, regardless of how many 'pellets' are fired...
  5. MegaJim73

    [Sort of solved] Hitscan won't hit pillar

    I'm trying to implement a hitscan system in an FPS I'm making. It creates the appropriate impact when the gun hits an enemy (obj_enemy_basic) or wall (obj_wall_basic), but simply passes through when it hits a destructible pillar (obj_pillar). Help would be gladly appreciated. { // check...
  6. Shadow64

    HTML5 HTML5 Export Issues (Slowdown)

    For some reason I've hit this issue where when I export to HTML5, my game runs really slow. The thing is that it only runs slow if my room/window size is large. If my room/window size is say 1024 x 576, there's no problem. 1280 x 720? Instantly my frame rate is cut in half. I'm not using a ton...
  7. Coded Games

    Windows Game is running slow even though fps_real is high.

    Hello, so one strange issue that I have experienced is that sometimes my game runs well below 60 FPS but fps_real and the debug overlay all show values between 200-700. The bars in the debug overlay never go past the first tick and if I run the condition (fps_real < 60), it will never return...
  8. D

    Legacy GM How to use delta_time

    Hi guys, i'm trying to understand how to use delta_time but checking on the docs i can't understand it completely. According to the manual for example to adjust the speed of an object you should do: speed = spd * (ot - delta_time); ot = delta_time; Am i right? But it seems to me like something...
  9. N

    Changing FPS problems.

    I've made my game physics, which are working on 30 fps. But now, I changed my game to 60 fps to make it smoother, but I experience a lot of 'problems' in physics... I have also tried jumpSpeed=(originalJumpSpeedValue/60)*30; grav = (originalGravValue/60)*30; But still, the gameplay doesn't...
  10. Furkan Karabudak

    Legacy GM Game is incredibly slow on Android. But not on PC.

    Hello :) I'm making an Android game. This will be the last game I made with GMS 1.4. But the game is not slow on Windows. It works perfectly on Windows. But game is incredibly slow on Android. I tested my game on Android device called "General Mobile GM 5 Plus android one". But as if the game...
  11. XirmiX

    GML Is it better for run-time to have multiple objects or a single object with multiple states?

    Lets say you want to have different types of projectiles for different weapons. Would it be wiser for better fps to have an object for each projectile type or have the projectile be a single object that has different types?
  12. Robzoid

    Does a sprite's speed need to be a multiple of its number of sub-images? [SOLVED]

    My friend and I are making our first game. He says that a sprite's speed (in frames per second) needs to be a multiple of the number of the sprite's sub-images. For instance, a sprite with 7 sub-images would need to have a speed of 7, 14, 21, etc. Is this true? The sprite seems to work just fine...
  13. K

    GML Fullscreen/high res window drops the fps

    Hi everyone, I'm having a huge trouble with performance, apparently the Framerate of my game goes down a lot just for setting the game in a high resolution. I first thougth it was how the resizes work, but then I re-make the code so it just resize the window and not the game surface, gui, view...
  14. Y

    30 fps vs 60 fps

    can someone please explain the difference? I see tutorials where they change it to 60 fps and they say it is smoother ,but I can't see the difference beside just a faster gameplay which is a designer preference . if it affects the game after exportation ,why is it not the default? please...
  15. F

    Windows Game Speed Doubles in Fullscreen Mode

    I'm having a really strange problem, and I can't figure out what's causing it. I just started using source control for my ~2-year-old game project, and I pushed all the game files to the repository. Then, today, I did some cleanup and deleted a bunch of extraneous objects and sprites I wasn't...
  16. khiloui

    Windows FPS halved on specific machine

    Hi, I've found an issue that really concerns me. It appears that a game project I built with Game Maker studio 2 always halves fps on a specific machine. The data I've gathered are the following: -the game runs smoothly at 60fps on any different machine -the fps get halved only on hdmi...
  17. R

    HTML5 HTML5 double framerate

    Both my game and a simple project I've made run twice as fast under HTML5 than the set FPS. I can't even lower the framerate as that breaks Spine animations. I use a 120hz monitor, not sure if that might have an impact. Is anyone else having this problem?
  18. M

    Empty compile error window on launch

    So, i've had this one before and it seems a common problem with Studio 1 overall, but when i get an empty Compile Error window upon testing, it usually solves the issue to close and reopen the project. I also cleaned the compile cache, yet still after these fixes the empty Compile error screen...
  19. N

    [Help] Project Lag and slowdown, inconsistent Finish_Frame, RoomSpeedSync and FPS Bug

    It seems that suddenly out of thin air my project just started running at half speed that it was before. I didn't change much other than adding a few scripts and objects that are UI related but its made my game unplayable. The weirdest part is I also tried running earlier versions of the...
  20. M

    3D game keeps crashing oddly

    Recently i've imported an old GM8.0 first-person shooter game of mine into Studio 1.4. I got the project working fine after removing some obsolete functions and changing some scripts for textures, but the game still crashes oddly sometimes when a room changes, like when you just move to a next...