January 18, 2021

GPC 17-01-D (GameMaker ini files Saving Objects Using Grid)



GameMaker Lesson Tutorial part of free game programming course. Visit for hundreds of tutorials all with completed GameMaker project files.

How to use .ini files to save the types and location of all objects in a room to a grid structure and then to the file system. Very useful technique for saving levels, making level editors for your own games, loading levels or waves, etc.

This video is intended to be watched along with the other file videos in this playlist to give you a good start on working with files.
All these gamemaker tutorials will work with Gamemaker Studio GMS or Gamemaker Studio 2 GMS.

Nguồn: https://ka-nom.com/

Xem thêm bài viết khác: https://ka-nom.com/game/

in Game
Related Posts

Minecraft Tutorial: How To Make A ENDER DRAGON STATUE!!! (EASY)

July 10, 2020

July 10, 2020 41

In this video I will be showing you guys how to build the legendary ENDER DRAGON! It is a complete...

Mating frenzies, sperm hoards, and brood raids: the life of a fire ant queen – Walter R. Tschinkel

July 10, 2020

July 10, 2020 36

Follow a queen fire ant as she builds a colony, protects it from neighboring ant armies and fends off would-be...

BEING AN ENDER DRAGON FOR THE DAY IN MINECRAFT !! BEING DIFFERENT MONSTERS IN MINECRAFT !! Minecraft

July 9, 2020

July 9, 2020 22

BEING AN ENDER DRAGON FOR THE DAY IN MINECRAFT !! BEING DIFFERENT MONSTERS IN MINECRAFT !! Minecraft Mods ►SUBSCRIBE: ►ROBLOX...

GIANT SPIDER vs Ant Colony! Wolf Spiders vs NEW ANT Species (Empires of the Undergrowth)

July 8, 2020

July 8, 2020 44

Empires of the Undergrowth Ep 3 – Building up our Ant Colony, Giant Wolf Spiders! (Empires of the Undergrowth Ep...

Scalapeño 2016: Building DSLs in Scala (Alon Muchnik)

July 9, 2020

July 9, 2020

DSLs are everywhere. Have you ever used SQL, Ant or maybe HTML? If so you were using a DSL, maybe...

Создание игры с нуля – ini файлы в GameMaker Studio и сохранение

July 9, 2020

July 9, 2020 6

В этом видео я расскажу про ini файлы в Game Maker Studio. Это такие внешние файлы, где можно хранить данные...

Ender's Game Music Mix Of Legend by Sindrannaras

July 9, 2020

July 9, 2020

I’m honored to present you a soundtrack mix of legend by our old and unforgotton friend – Sindrannaras. He just...

Disney Princess: Enchanted Journey PS2 Gameplay HD (PCSX2)

July 8, 2020

July 8, 2020 35

Disney Princess: Enchanted Journey PS2 Gameplay Release Date: October 16, 2007 Platforms: PlayStation 2, Microsoft Windows, Wii _____________________________________________ PCSX2 Settings:...

Bratz: Girlz Really Rock Walkthrough Part 3 (Wii, PS2) 1080p

July 11, 2020

July 11, 2020 4

Bratz: Girlz Really Rock Walkthrough Part 3 for Wii and PS2. Played, recorded and edited by myself for my own...

Battleship #Game Boy

July 11, 2020

July 11, 2020 2

Oi seja bem-vindo ao meu canal, este canal se resume a vídeos de amigos, família, hobbies, viagens etc, com conteúdo...

Evolution of NFL Scoreboards | Part 1 – FOX

July 11, 2020

July 11, 2020 25

HUGE shoutout to NFL Throwback for some of the old, high quality footage in this video. Also, special thanks to...

TERA MOBILE | First Impressions | IS THE HYPE REAL?! Mobile MMORPG

July 10, 2020

July 10, 2020 22

Today I check out one of the most anticipated Mobile MMORPGS to hopefully come out later this year. A game...

GameMaker Tutorial – Working With ini Files – Character Select Example

July 8, 2020

July 8, 2020 23

Get Element Earth ▶ Support This Channel ▶ Follow me on Facebook ▶ Follow me on Instagram ▶ Follow me...

Đâu là những tiêu chí để đánh giá trang xóc đĩa uy tín ?

January 9, 2020

January 9, 2020

Với quy mô lớn và những ưu điểm vượt trội, Dabet đang là sự lựa chọn hàng đầu của người...

THE INVINCIBLE GLADIATOR – Domina

July 9, 2020

July 9, 2020

More Domina gameplay here: ★Buy Cheap Games (* Use SHD code for 3% CASHBACK. I get a little commission for...

Comments
  • "The only caution here is don't change objects after this is done."

    Fixed this for you! Replace:

    otype = foodId.object_index

    with

    otype = object_get_name(foodId.object_index)

    Then declare a new var when loading levels called foodName or whatever. Then instead of

    otype = ds_grid_get(grid, 0, k)

    use

    foodName = ds_grid_get(grid, 0, k)
    otype = asset_get_index(foodName)

    I used slightly different variable names in my project, but it should still work exactly the same.
    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *