limit

  1. Carloskhard

    GMS 2 How to limit speed of an object with physics?

    I have a ship which I apply a force to, so it can move. But eventually the aceleration adds and it goes too fast. How can I change that? I don't want to reduce the velocity of the physics world since I need that speed for other objects or that same one after it get upgrades and can go faster...
  2. zendraw

    limited array?

    does ararys have limits? ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Create Event for object ocontroll: Array index must be < 32000 at gml_Script_scrstageset (line...
  3. J

    How well does GameMaker 2 perform when Games get big?

    I am asking, especially wondering if there are any Resource Limitations, like the overall amount of Scripts, Sprites, Objects, etc. that can be created, if there are limits to Instances in a room or room size in general, or if any of you have any experiences, working on big Projects with lots of...
  4. L

    GMS 2 [SOLVED] Limiting amount of player bullets on screen

    Hello, i'm having trouble with limiting the amount of bullets ( to 3) my obj_player can have on the screen at the same time. I can subtract bullets from my bullets_total, but adding won't work. Here is my code: obj_player Create //max bullets on the screen at the same time bullets_total = 3...
  5. FeetUpGaming

    Gone over 64bit limit (Solved)

    I have just stored a value in an array higher than the 64 bit integer value. i'm using this code to get the integers for(i=0;i<limit;i+=1) { var s = 1/4*i*sqrt(3); var s2 = pi * sqrt(2*i/3); value = power(s,s2); } and the final number i stored (the largest one) was...
  6. B

    Limit my spawn count

    Hi, Everyone I'm making a space shooter and I have made a spawner, but I want the spawner to stop spawning when it hits a certain amount of enemies. For example after the 100th no more spawn. In my obj_spawner I have create event //spawn rate spawn_rate = 70; alarm[0] = spawn_rate; and in...
  7. Caio

    Legacy GM How to limit the jump?

    Hello, when my character jumps, if I hold the jump key, it keeps jumping and going up, can anyone help me? This is my code: //Jump if (key_jump) {vspd =-jumpspd } else { if (vspd <5) {vspd += grav; } if place_meeting(x,y,obj_ground)...
  8. G

    Legacy GM Limiting the repetition of a sound

    I have an object in my game which is a box that when touched, it activates a countdown and then explodes (Crash Bandicoot style). If there are other boxes close, they will explode immediately too. Now, whenever a box explodes, an explosion sound is played. But what if, let's say, eight boxes...
  9. M

    Can't limit spell fire...

    Hello GameMaker Community,i'm new to Gamemaker and i wanna make a small RPG game. I have 2 issues that's been bugging me for the last 3 days.First one and the most annoying ... can't limit spell fire. I implemented mana variable etc,it consumes all the mana upon fire (mana regen works) but i...
  10. Shadowblitz16

    GMS 2 Please for the love of god remove the array limit!

    hey I just recently found out that gml arrays can't go up to 65535 which makes my combo system very limited can the devs please remove this? like maybe next update? I am trying to make a system which uses combos which are basically a array of objects that can be used in a tilemap array...
  11. B

    20 Sprites, 15 Object Limits

    So I am doing game maker in school and the version of game maker on the school computers uses .gmx files which is why I am using 1.4.1763 at home so I can work on the project at both school and home. I have reached my limit of 20 sprites and 15 objects. I saw somewhere that on more recent...
  12. Cloaked Games

    Legacy GM [Solved] ds_grid Memory Usage

    I currently have an item index that is a ds_grid about 32 by 32 right now. Each row is an item, so it will get much longer in that direction over time. I was just wondering if I should have concerns about how large I make the grid. At what point will it start being an issue because of its size...
  13. P

    Set a random range spawn for objects with limits.

    Hey guys, I am currently on the finishing touches for my Spaceship game. I have it so that various enemies follow the player ship wherever he goes. I have them spawn at a random range when they get destroyed, however, they will sometimes spawn right beside or on top of the player. I have been...
  14. BerickCook

    Windows file_find_next() limit of 1000 files?

    It seems that there is limit of 1000 files that the file_find functions will search for before giving up. For example, if you run this code: for (Create=0;Create<=2500;Create+=1) { file=file_text_open_write(working_directory+string(Create)+".txt"); file_text_close(file); }...
  15. J

    Limited number of vertices in 2d primitives?

    Hey all, today I've started programming a system that allows me to draw planets with different layers in 2d. For this matter I've used 2d primitives, and as I need many "round" edges for the planet I've added a variable that controls the number of sides the polygons are drawn with to make them...
Top