April 22, 2021

GameMaker Tutorial – Working With ini Files – Character Select Example

Get Element Earth ▶
Support This Channel ▶

Follow me on Facebook ▶
Follow me on Instagram ▶
Follow me on Twitter ▶
Follow me on Google+ ▶

In this tutorial I’ll show you how to use .ini files to store data. In this case we’ll use an .ini file to store which characters are locked and which are unlocked in our character selection example.

If you would like to have the ability to store ini files from predefined locations outside of your game’s executable directory then check out my tut on the Rini DLL here ▶

▼ Useful Links and Resources ▼
GM 8 Project File ▶

▼ More ▼
General Game Maker Playlist ▶
Game Maker Networking ▶

Happy Coding 😀

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

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

in Game
Related Posts

NW Dream Team REWARD GRINDING! – Final Render, MaTN & Psykergirl – HIGH WIN GAMES!!! – FALLOUT 76

July 12, 2020

July 12, 2020 6

Support the stream: www.twitch.tv/Final_render ► BE A MEMBER HERE ► PATREON HERE ► DISCORD HERE ► TWITTER HERE ► Playlists...

Communication Games – Drawing #22

July 9, 2020

July 9, 2020

Subscribe to our channel to see all our Team Exercises for free: Search through all the 101 team exercises and...

How To Find Your PERFECT Role In Valorant

July 10, 2020

July 10, 2020 37

Want instant, easily-accessible, 24-7 coaching from PRO players? Then check out our website: See more highly informative videos like this...

{Vitamin 3.60} How To Transfer Dumped Game Between PC & Vita Without FTP

July 8, 2020

July 8, 2020 29

Yes you heard it right. Someone called OhhShitLeak leaked Team Freeks Game Dumper called Vitamin. This means we will see...

Super Bowl 50 – Panthers vs. Broncos | NFL Full Game

July 9, 2020

July 9, 2020 25

In honor of the 2016 NFL season beginning on Thursday, relive last season’s final game! 21:56 Von Miller Strip Sacks...

THE EASY WAY OUT – Bratz: The Movie – PART 1

July 10, 2020

July 10, 2020 38

Let’s play Bratz: The Movie on PlayStation 2! It’s a whole new Bratz game! Cloe is still on the verge...

1000 FIRE ANTS Army vs Giant SPIDERS! (Empires of the Undergrowth NEW Battle Simulator Mode)

July 9, 2020

July 9, 2020

Empires of the Undergrowth Ep 10 – New Battle Simulator Mode – 1000 Army Ants vs Giant Spiders (EotU Part...

Ender's Game – 17 Final Test (OST 2013 HD)

July 8, 2020

July 8, 2020 42

The fabolous Score from “Ender’s Game” Enjoy the Track and the Score;) Enjoy the Album in HD 🙂 You find...

Tera Classic : First Impressions

July 8, 2020

July 8, 2020 35

SOCIAL MEDIA 📧 Email: fitnessgamer3000@gmail.com 👉 Patreon : 📷 Instagram: 👉 My Twitter: 👉 Twitch: NEED A NEW ANDROID GAMING...

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...

Soccer Challenge (Vtech V.Smile, 2004) [Dutch V-Smile Game / Nederlands spel]

July 9, 2020

July 9, 2020 6

Longplay video of the dutch version of Soccer Challenge, released in 2004 for the kids educational game console the V-smile...

Bloodborne New Game+ Ep.1 | Build viveza de sangre (Chikage+Evelyn)

July 11, 2020

July 11, 2020 29

Bueno pues aqui comienzo esta serie en la que me pasare todo el juego en New Game+, matare a todos...

Game Boy World Direct Footage #021: Battleship

July 7, 2020

July 7, 2020 5

Straight gameplay (no commentary or edits) of Battleship (aka Navy Blue) for Game Boy, developed by Pack-In Video and published...

Summertime saga v.017 Okita : Serum for principal Smith

July 9, 2020

July 9, 2020 7

#SummertimeSaga v.017 Okita : Serum for Principal Smith. Miss Okita gave assignment for MC to make 2 serum, one for...

RED ANTS vs BLACK ANTS! HUGE Ant Surface INVASION (Empires of the Undergrowth Part 2 Gameplay)

July 8, 2020

July 8, 2020 22

Empires of the Undergrowth Ep 2 – Building up our Ant Colony, Queens Nest and Surface Battles! (Empires of the...

  • hey nice vid, but i have a question, how can i make this work if i have a main character that is always unlocked, and then he have to buy the others

  • Hi nice tut buddy but how can i do to unlock the characters with my score? For example if i get 5000 points i unlock one of the players

  • 😛 Hy again…so i found out my problem..and that i need a INI file..this is what i have so far.





    Is this enough to tell him that i want him to know the variables in every object where he needs it? Or do i need to read them too in any way?

  • wow thanks man I was really stressing on creating a stat tracking system for my game with the .ini saving system, you really made it easy to understand, this tutorial really helped alot

  • I have a problem that I save a string to a ini file which goes like testtesttest#testtesttest#testtesttest…. and when I read it back I can only see "testtesttest" … it kinda erases everything after the # sign. Anyone know how to solve this shit?

  • why my game won't save on android using ini files..

    but, when i run on my pc, my score save on PC using ini files~

  • Wow, A tutorial that wasn’t made for absolute beginners! Thank you for not explaining something I could easily figure out on my own.  Sure the code could be made more stream line, but the amazing explanation, on *.ini files, was really all I needed to learn about.  Better coding is something all programmers will learn with practice.   Great job!

  • it would have been better if you would have created 2 objects that are changing depending on a variable and than just saved if the variable is true or false and put it in a script.

    I think that would have made not just more sense also it would have saved you a lot of coding.

  • hey good game 😀 you know how to do a game with the stile attack for the game Final fantasy 7?

  • I've been struggling for days trying to figure out how to save data on android. Thank you so much for the help. I've been reading article after article, wiki after wiki, looking for a way, countless hours thrown away. Then you saved me. Thank you SOOOO much for this tutorial. Give yourself a little pat on the back for making a difference in the world. You rock!

Leave a Reply

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