question

  1. B

    Windows Fps and gamespeed higher than room speed

    Hello, I have my room speed set to 60, yet the game runs at my monitors refresh rate which is 165.. the game runs at 40fps on other people systems with no real reason as there isn't much going on. I checked the alternate synchronisation method in the global game settings and since then the...
  2. N

    Question - IDE Choosing number of frames for tiles

    When creating an tileset and opening the animated tiles option, why does it only let me choose either 2, 4, 8, 16, 32, 64, 128 or 256 frames? What if I want to create a tile with 6 frames? Why can't I just type in the number of frames, it doesn't let you, is there any way around this please?
  3. L

    Changing Sprite/Image_Index based on relation to camera (3d)

    Hello! This is kind of a weird question but anyway.. I used to use GameMaker Studio 1 a bit, thought I would try it again I am using 2. I would figure this would consist of plotting a line between the camera and object, then figuring which way it faced, then depending upon that which sprite to...
  4. N

    Development Just a few questions.

    Hi all, I'm not specifically sure what this would be applied too but I've just been wondering a few things, this might seem a bit stupid of a question to ask but when I'm just curious, at what point does code become your code and should I feel bad about using someone else's code? Obviously as it...
  5. C

    Graphics Inquiry about Sprites

    Hello! I've just recently got into learning game development and part of that is acquainting myself with the lingo. So along the way, I came across the term "sprite(s)" and I have some questions about it. Is the term "sprite" the industry standard used when referring to the visual...
  6. flyinian

    Is there any difference between 1 object with all global variables vs. many objects with a few global variables each?

    Pretty much what the title says. 1 object with 1000 global variables initialized on game start VS. 100 objects with 10 global variables initialized on game start. Any difference?
  7. flyinian

    SOLVED Would this be 1 or more than 1 script?

    I've been learning how scripts work and was wondering if the below code can be placed into one script or i will need multiple scripts for it to work. My guess, I need multiple scripts. if (Requirements_Met == true && Allow_Leveling) { if(Current_Experience < Next_Experience) {// If...
  8. flyinian

    (Closed)Resizing sprites used in tile sets without effecting the tile set placements in rooms?

    QUESTION: Is there a way to resize sprites that are used in tile sets without effecting the tile sets in rooms? CURRENT ISSUE: Every time I need to increase the canvas size so I can incorporate more sprites for tile sets in rooms, it scrambles the pre-existing tiles in rooms. How can I avoid...
  9. flyinian

    A.I. & persistent objects & time system

    In my project, I plan on having persistent objects that are initialized at the start of the game that runs the A.i. of the project. From tracking and calculations for resources, troops, status and more. Would this be a good approach to this? If not, what are other ways of achieving this? I'm...
  10. H

    How do I make a hurt indicator pop up on screen?

    I'm new to GMS2 and I'm making a platformer. There are spikes in the game, to tell the player they've been hit, I added a sound effect, but I also want the screen to shine red for a split second when the player touches the spike. I've tried using: if(place_meeting(x,y,oSpike)) or...
  11. flyinian

    SOLVED Out of curiosity, Is there a better way of doing this?

    Out of curiosity, Is there a better way of doing this? This is for a mouse hover highlight for a button. I was trying to get my navigation system for my game to not execute the button highlighting per step. This took me awhile to figure this out, a different version of this was executing...
  12. D

    Steam The GMS 2 not running the project

    Hello, I have a problem, i tried to run my project and give me this error. elapsed time 00:00:00.1239964s for command "cmd" /c subst X: /d started at 06/09/2020 10:58:18 FAILED: Run Program Complete For the details of why this build failed, please review the whole log above and also see your...
  13. flyinian

    Do debug messages effect performance?

    Do debug messages effect performance or is it not much of a concern? If it's not much of a concern, how many debug messages will it take to make it a concern?
  14. flyinian

    SOLVED Is there a way to null a variable from being used?

    I am using the parenting system for my navigation system in my project. Some buttons will go to a room when clicked and others will create instances. If I use the below code with the buttons that don't go to a room, it will give an error. Is there a way to have a variable return a value to...
  15. flyinian

    (SOLVED)Is there a way to figure out what grid the output window is referring to?

    My output window says grid 4 is out of bounds. I can easily figure this out now, but what happens when I have a lot of grids?
  16. flyinian

    What are the ways to make grids more easily recognizable?

    I'm using a lot of grids in my code and was wondering if their is an easier way to know what a grid item does instead of looking at numbers. I've just been referencing back to the create event for the key. I've also tried using local and instance variables and that just seems to break everything.
  17. flyinian

    Does it matter what order a grid is created in the create event?

    Instead of going 0,1,2,3,4... Could it be done 2,4,1,0,3? Would this still work? Any where in the grid? any x or y position? ds_grid_add(name,0,1,value); ds_grid_add(name,0,4,value); ds_grid_add(name,0,0,value); ds_grid_add(name,0,3,value); ds_grid_add(name,0,2,value); compared to ...
  18. ryan821

    SOLVED Problem when making a battle system.

    Hi, I am a new GameMaker user and I am trying to make a project that simulates battle system like undertake. The concept is when I hit enter, the battle begins. Three circles will pop up and fly up. This is the code for the circle: Create: flight_speed = 5; dir = undefined; alarm[0] =...
  19. S

    SOLVED How to change the location of a object from the original placement as it enters the room?

    New in programming, sorry for the unsophisticated languages So in my program there is a room that plays the role as the "main room", which means there are a several objects in that room and they are like entrances to other rooms, when the player object collides with one of those "entrances" it...
  20. MatteKudasai

    GML Problems on making bullets work

    I'm trying to make a Shooter on Gamemaker Studio 1.4 and didnt find any tutorial about it. The idea is a Megaman-like game plus upwards shoot using only code, but I just started using GML and dont have any other experience in programing. Sorry if I mispell something, i'm Brazilian and have a...
Top