• 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!

included files

  1. Tangerine

    GameMaker Path from inluded files can't be found in android VM

    I'm trying to load a file this way: model_path = "./Models/player_house.dat"; if(!file_exists(model_path)){ show_debug_message("File not Found: " + string(model_path)); return -1; } It works in windows, opera gx, html5, but for some reason I don't understand why this file is not found when...
  2. bsabiston

    "ghost" Included files

    I had a file in my "Included Files" that I renamed to something else. Yet if I try to open the old name, it still opens the file. I tried printing out the working directory, and it is a folder within Application Support. Why is the game still able to access this old file with the old name...
  3. Adriano_ppaula

    UWP Accessing external files (included files) in UWP microsoft 10/ xbox one

    Hello everyone! I'm recently porting my game to UWP to a microsoft store. There are some external files that I use as .ini files to store data and also some .csv files for the game location besides some specific children and sprites that have to be in the working_directory. The problem that...
  4. otterZ

    SOLVED Why can't I change my included file sprite's origin to middle centre?

    I'm externally loading a sprite from an included file and want the origin set to Middle Centre, but it is drawing with the origin set to Top Left (0,0) ??? Here is the code in the Create Event: exe = sprite_add(working_directory +...
  5. meltypixel

    Running/Testing game in 2.3 slow due to included files (solved)

    I'm working on a game that uses a lot of included audio files. Ever since I upgraded to GMS 2.3, the build process when running my game has started taking minutes where before it was only moments. It hangs for ages on the Writing Chunk... DAFL step. If I put all of these files into a zip and...
  6. otterZ

    SOLVED Is there any limit to the amount of included files you can have in a GM2 project?

    Is there any limit to the amount of included files you can have in a GM2 project that is geared to being played on a Windows PC via Steam? I would guess that there is no limit? The reason I'm asking is that my latest project hit the 2GB RAM limit and I had to re-order the project to...
  7. otterZ

    SOLVED Can you turn the volume back up using audio_sound_gain on audio streams from included files?

    Just moved the music files in my project to externally loaded included ogg files, using audio_create_stream, but now whenever I use audio_sound_gain to turn the volume down, I then can't get the volume to go up again. Here's an example: mySong = audio_create_stream (working_directory +...
  8. D

    Included Files customization by Configuration

    From the documentation for Configurations it looks like the Included Files can be customized by configuration. Effectively, setting a configuration to active and changing the Platforms part of the Included Files seems to be persisted in the project file with different CopyToMask field values...
  9. jobjorgos

    Legacy GM Is there a way that included files can be saved in the working directory while starting the game?

    I use GM:Studio 1.4 and I was wondering the following: I have a main game hall game, and... I have 8 other included mini games which each can be played in this game hall. Is there a way that the included files can be saved in the working directory while starting the main game so players don't...
  10. Z

    GML Grid read string from included file

    Is it possible to read a string from an included file? i mean ds_grid_read(grid, includedfile); baring in mind that the string in the included file is saved with ds_grid_write();
  11. K

    GameMaker Problems loading included files (ini) into the code

    So I'm probably just being dumb but I'm having difficulty loading my included ini files into my script. I've tried several things and they haven't been working. Currently I've got: var curini = file_find_first(program_directory + "/events/",0); which returns the error: Error! not allowing file...
  12. D

    Windows UWP app loses saved data

    So, I'm having trouble saving the data through a uwp runtime. The data is saved during pure testing through gamemaker, but does not save the txt file when running the uwp. Seems to be loading properly, but does not store the information when asked to save. this is my save file: file =...
  13. O

    Accessing included files while running from IDE

    Hello, So I can successfully read and write to the working directory while running from the IDE (using F5 on Windows), using "buffer_load" and "buffer_save". I have also included some text files in the project using the "Included Files" resources. However, I'm not sure how to access these when...
  14. J

    GameMaker [SOLVED] Storing large amounts of data inside a script

    So I am creating a quest system. A quest can have a title, a questlog of the storyline and some commands like for example "Find the blue flower". My first Idea was to just create a DS-Grid, with all these Strings in it, which worked but then all this data, which has the potential to get very big...
  15. Z

    GameMaker Designing Levels in Notepad (video & text versions)

    GM Version: GameMaker Studio 2 Target Platform: All Download: zackbanack.com Links: Video Link Summary: GameMaker Studio 2 comes with an advanced room editor. But, sometimes you might want to design puzzle, maze, or roguelike levels in something a bit more simple. I showcase how - and why - to...
  16. FacesOfMu

    GameMaker Referencing Included Files

    Took me a while to figure this out as the docs was a little light on it. I'm posting it here in case any other users are searching for it and need it. To reference an included file your code might read: var file = file_text_open_read("this_file_name.csv"); BUT If you've put your Included...
  17. A

    Question - Code Is it possible to import spine sprites from included files?

    Quickly flipped through the manual, but found nothing on the subject.
  18. Furkan Karabudak

    Why fonts seem skewed ?

    I'm developing a drawing software. I added the fonts to Included Files and used the font_add function to support non-English characters. But the fonts seem skewed. Here it is: I don't know if an extension would cause it, but also I use this extension in my project : Display Scaler - Edge...
  19. Q

    iOS Included Files

    Hi! I used the 2.2.1.375 versiond of IDE with 2.2.1.287 current runtime to build an IOS application. All included files in test projects were in one group (A, f.e.), and there is one inner group (B) in it, that contains the files too. When i build it, i've got some strange behaviour - all files...
  20. C

    GML Stretching sprites from included files (SOLVED)

    As a beginner I am building a game in GMS2 with backgrounds for 1920x1080 rooms. I have already received valuable tips from @Rayek to keep file sizes low. And @TsukaYuriko has persuaded me to use included files for this. After background = sprite_add("Tegenlicht.png",1,0,0,0,0); in the create...
Top