Ka-nom - Tin tức mới - nhanh - nóng trong ngày tổng hợp
  • Home
  • Du Lịch
  • Công Nghệ
  • Ẩm Thực
No Result
View All Result
Ka-nom - Tin tức mới - nhanh - nóng trong ngày tổng hợp
  • Home
  • Du Lịch
  • Công Nghệ
  • Ẩm Thực
No Result
View All Result
Ka-nom - Tin tức mới - nhanh - nóng trong ngày tổng hợp
No Result
View All Result

GameMaker Tutorial – Working With ini Files – Character Select Example

admin by admin
July 8, 2020
in Game
23

RELATED POST

Hướng dẫn cách chơi game bắn cá vua hải tặc trên máy tính

Hướng dẫn chi tiết cách tải game bắn cá miễn phí về điện thoại nhanh nhất



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/

Xem thêm Bài Viết:

  • Hướng dẫn cách chơi game bắn cá vua hải tặc trên máy tính
  • Hướng dẫn chi tiết cách tải game bắn cá miễn phí về điện thoại nhanh nhất
  • Let's Play STORY OF A GLADIATOR Gameplay PC Part 1 (ENTER THE ARENA)
  • FROG PRINCE drawing for DUNGEON KNIGHT Board Game
  • Tracy McGrady Huge Half Windmill Alley Oop Vs Raptors 12-11-10

Related Posts

Cách chơi game bắn các vua hải tặc
Game

Hướng dẫn cách chơi game bắn cá vua hải tặc trên máy tính

December 18, 2020
Các bước tải game bắn cá về điện thoại khá đơn giản
Game

Hướng dẫn chi tiết cách tải game bắn cá miễn phí về điện thoại nhanh nhất

December 4, 2020
Let's Play STORY OF A GLADIATOR Gameplay PC Part 1 (ENTER THE ARENA)
Game

Let's Play STORY OF A GLADIATOR Gameplay PC Part 1 (ENTER THE ARENA)

July 13, 2020
FROG PRINCE drawing for DUNGEON KNIGHT Board Game
Game

FROG PRINCE drawing for DUNGEON KNIGHT Board Game

July 12, 2020
Tracy McGrady Huge Half Windmill Alley Oop Vs Raptors 12-11-10
Game

Tracy McGrady Huge Half Windmill Alley Oop Vs Raptors 12-11-10

July 12, 2020
#Giter8 – Part 2 – Clean Architecture #SBT #Scala Template
Game

#Giter8 – Part 2 – Clean Architecture #SBT #Scala Template

July 12, 2020
Next Post
18 lời Phật dạy về tình yêu đáng suy ngẫm | Góc suy ngẫm

18 lời Phật dạy về tình yêu đáng suy ngẫm | Góc suy ngẫm

Comments 23

  1. jaber Al-Ani says:
    1 year ago

    does ini files store their values even when you close the HTML5 game?

    Reply
  2. Im pollito says:
    1 year ago

    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

    Reply
  3. Skadii ́ says:
    1 year ago

    Yo thanks for the tut.. but will this char select work on an platformer
    ?

    Reply
  4. RAMAN says:
    1 year ago

    thanks this video is a life saver.

    Reply
  5. Larry tesla spacex boring Lawrence says:
    1 year ago

    thank you for gamemaker tutorial

    Reply
  6. Sdy.DeathCall says:
    1 year ago

    does it matter where the ini file is created?

    Reply
  7. BUI Cartowl says:
    1 year ago

    hay quá đi mất

    Reply
  8. Niko Destroyer says:
    1 year ago

    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

    Reply
  9. ReiziqZip says:
    1 year ago

    Hey this good

    Reply
  10. ZyrusPwnD says:
    1 year ago

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

    directory_create("pathscriptz")

    ini_open("Pathscriptz.ini")

    ini_write_string("cordsX","x","player_x")
    ini_write_string("cordsY","y","player_y")
    ini_write_string("coordsXX","player_x","xstart")
    ini_write_string("coordsYY","player_y","ystart")

    ini_close()

    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?

    Reply
  11. JoshuaC says:
    1 year ago

    btw, liked and subed

    Reply
  12. JoshuaC says:
    1 year ago

    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

    Reply
  13. Official EDM City says:
    1 year ago

    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?

    Reply
  14. Don Benjamin says:
    1 year ago

    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~

    Reply
  15. Allen Warner says:
    1 year ago

    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!

    Reply
  16. James Korvenius says:
    1 year ago

    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.

    Reply
  17. douglastheeraser says:
    1 year ago

    Can anybody confirm that this method works on mac and ios as well?

    Reply
  18. jasontree111 says:
    1 year ago

    appreciate this very much! subscribed..

    Reply
  19. Digna Iglesias says:
    1 year ago

    ok

    Reply
  20. Krista Fox says:
    1 year ago

    hey how are u

    Reply
  21. Maximus Sexymus Meridius says:
    1 year ago

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

    Reply
  22. Spencer Dockham says:
    1 year ago

    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!

    Reply
  23. NexEnt4 says:
    1 year ago

    First View+Like+Comment

    combo!

    Reply

Leave a Reply Cancel reply

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

Tin Hot

(S0) NAUY – Giới thiệu đất nước Nauy

(S0) NAUY – Giới thiệu đất nước Nauy

July 13, 2020
[Đô vật Mỹ 2018] Sự kiện 5: Greatest Royal Rumble 2018 Highlights | V-Spring WWESK2018 #5

[Đô vật Mỹ 2018] Sự kiện 5: Greatest Royal Rumble 2018 Highlights | V-Spring WWESK2018 #5

July 9, 2020
[FULL] Chương trình ca nhạc Đêm Việt Nam 7: Chuyện của mùa Đông | Official Vietart

[FULL] Chương trình ca nhạc Đêm Việt Nam 7: Chuyện của mùa Đông | Official Vietart

July 8, 2020
[HCM043] Hướng dẫn đổi tần số giữa Micro với Bộ nhận sóng Shure UGX9 và Shure UR12D

[HCM043] Hướng dẫn đổi tần số giữa Micro với Bộ nhận sóng Shure UGX9 và Shure UR12D

July 9, 2020
[VR 360°]  “Đất Nước Rồng Sấm” Bhutan – thiên đường hạnh phúc nhất thế giới | Vietravel

[VR 360°] “Đất Nước Rồng Sấm” Bhutan – thiên đường hạnh phúc nhất thế giới | Vietravel

July 11, 2020
#016: [FULL] Những Sự Thật Hú Hồn Về Đất Nước Trung Quốc! 😱😱😱

#016: [FULL] Những Sự Thật Hú Hồn Về Đất Nước Trung Quốc! 😱😱😱

July 8, 2020
  • Chính Sách Bảo Mật
  • Liên Hệ

Copyright © 2020 By Ka-nom

No Result
View All Result
  • Home
  • Du Lịch
  • Công Nghệ
  • Ẩm Thực

Copyright © 2020 By Ka-nom