• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

delete

  1. Erik Leppen

    GameMaker Using ds_map inside struct: how to destroy map if struct is deleted?

    I want to use a ds_map inside a struct like this: function Cargo () constructor { cargotype_supply_map = ds_map_create(); //... } mycargo = new Cargo(); When I delete the struct, what happens to the ds_map? As far as I know, maps stay in memory unless explicitly destroyed. So how...
  2. G

    Question About Deleting Structs With Nested Structs

    I hope this is a quick question: I have a struct which contains child structs. Would deleting only the parent struct allow for the same quicker garbage collection you get by using delete on any child structs within the parent struct? //struct_spinButton contains a struct for a decrease and...
  3. S

    Question - IDE My game files are now empty...

    I left making my game for about a month, then when coming back to it, found out my game had been deleted- sort of. When entering the project, nothing was there, no sign of any game. However, when checking out my files, I realized they were still there, just empty. I have no idea how to get them...
  4. ConstaChymic

    Can you delete a struct in one of its own functions?

    I've tried something like this: static free = function () { delete self; } However this always makes GM freak the hell out and fail to compile with the error Cannot set a constant ("@@This@@") to a value, even though I feel like it should work? Unless I'm being a moron and self doesn't work...
  5. C

    Deleting specific letters in a string.

    Hello. I have a question for you guys. I am currently making a game that's sort of like a word find. (You know the jumble of letters, and you try to find words hidden inside?) Well I have 99% of it done, but there's one very big problem with it. Let me explain the basic idea first. There's a...
  6. V

    Deleting folder GameMakerStudio2 and projects deleting.

    I was fixing my computer last time, and i forgot to save my game at .yyz file, i must to reload windows. Then when i launch program and login to account all my projects were deleted. Is there any way to return it? I have a game exported in .zip but i dont have anything else. ;-;
  7. FoxyOfJungle

    SOLVED Delete array value/item???

    There is no built-in function to delete an item from an array, just like we have in ds_list_delete(id, pos). (EDIT: This function was added on GMS 2.3.1) How do I delete 1 item in an array, but preserve the rest? And I need to delete this item anywhere in the array, be it the first item, the...
  8. V

    Windows Game is deleting my sprites and is saying they're variables

    I open my game in the project editing window. It says "The variable sprite_index = sPlayerA (name of sprite) has not been set." Obviously, not a variable. It's a built-in command designed to interact with a sprite. A sprite which I have made in the game. It does this with another sprite called...
  9. P

    iOS iOS Deletes Save Files on OS Update

    Hi everyone, long time user, first time poster. I've started receiving reports with the last two iOS updates that my users' save files are being wiped out, with the app apparently reinstalling from scratch without saving anything from the 'Documents' folder. I was under the impression that the...
  10. Massimog

    Question - Downloading Is it possible to remove marketplace assets from your library?

    I have a lot of old assets I don't use anymore that I'd rather not have clogging up my library. I know I can delete the local files and just view what I have downloaded, but I was wondering if there's a way to remove assets entirely. I have old assets I'd like to delete from both GM:S 1.x and...
  11. William Garrison

    Question - Code All My Rooms just Disappeared

    Not going to lie, a little concerned here. All my rooms in GMS just vanished when I clicked Run(f5). I have been developing this project for months now. I swapped a sprite out I was working on and poof they all vanished. The Rooms section in the Resources is now gray as if nothing is there any...
  12. E

    Legacy GM [SOLVED] Accidentally deleted GM:S 1.4.9999 exe file.

    Hello. If you have GM:S 1.4.9999, can anyone send me it? I deleted it by accident and don't want to reinstall it again.
  13. S

    Discussion Gamemaker crashed and deleted everything

    I've been working on a sprite for the past 2 hours, and while working on it GameMaker crashed. I logged back on and the sprite's thumbnail has everything I have drawn in it, but when I clicked on it everything was blank. I also made an object with this sprite, and the object's thumbnail also had...
  14. O

    Delete certain instances of an object?

    I was wondering how I can delete certain instances of an object. I created a wall object, and I wanted it to be deleted whenever my character opens up the menu, (scr_menu), and selects delete (or case 0 from that script). I was wondering if it was possible to do this after placing the tiles in...
  15. foreverisbetter

    Question - Account Delete old asset?

    Is there a way to delete ones own asset from the marketplace? Thanks for the Help!
  16. T

    Legacy GM [SOLVED] Delete objects in region

    I have a script to automatically generate a 'forest' out of tree objects but I want to have a bare patch in the middle. I wanted to accomplish this tree-less patch in the middle by deleting the tree objects within a radius with collision_circle but my code seems to do nothing. Mainly I'm looking...
  17. Elijah Budd

    HTML5 INI File Deletion

    I am using Gamemaker v1.4 I am working on a game for HTML5 that uses an INI file to save and load. On windows export, everything works perfectly. I hosted the game on itch.io and on a desktop browser it also works perfectly. However, when I use a mobile web browser, the INI file has been reset...
  18. Fixer90

    Legacy GM Can I delete some backups? (SOLVED)

    So I found some backup folders in Documents>GameMaker>Backups>GameName. Is it safe to delete some of them to conserve space? And which ones would it be okay to delete? (There's "GameName-0", "GameName-1", "GameName-2", "GameName-3", "GameName-4", and "GameName-5")
  19. S

    GameMaker delete all objects within specific layer

    Hi all I am using the code below to delete all enemies within the layer "enemies" when the object containing this code is created. unfortunately there are 2 issues: - the first created enemy will not be deleted - the code deletes also some objects within other layers (this is really critical...
  20. P

    Windows Sprite Groups Destroyed My Project

    So, I tried cleaning things up in my project today and created new groups to sort my sprites into. After everything was now nice and neat, I ran a few test plays of my game and began noticing bugs like this: I just sort of brushed it off and figured maybe I had accidentally deleted my first...
Top