The items are arranged in rows, and they have a collection of stats. ![]() Creating the items spreadsheetįor the items themselves, I created a spreadsheet in Google Sheets. There’s quite possibly a better/easier way to do this than the method I’ve cobbled together here. Note: I’m pretty new to GameMaker, and I’m documenting my findings as I go for future reference and ease of sharing with friends who are also using GameMaker. This feature calls for two separate data structures: one to hold all of the game’s items, and one to hold the items the player has in their possession. ![]() The game itself might have hundreds or thousands of items (in theory), but the player is likely to have just a small selection of the available items in their inventory. – that grant stats and can be won via quests, managed in an inventory, and assigned to individual heroes. I wanted to add the concept of “items” to my game – stuff like swords, armor, etc. I’ve been building a hobby project in GameMaker Studio 2 for about a month now. In this article: creating a Google spreadsheet of items for my RPG-style GameMaker game, exporting the spreadsheet as JSON, importing the JSON into GameMaker Studio 2, processing the item data into a usable format, and managing the player’s collection of “owned” items. Jim Grant, full stack JavaScript developer, lover of esoteric language features and science fiction. Mandi Burley, full stack JavaScript developer, WordPress fixer-upper, and occasional artist. The more frustrating something was, the more likely it is to end up here on this site! Here, we share little discoveries made along the way. ![]() A lot happens between “Hello World” and “Supreme Master Programmer”.
0 Comments
Leave a Reply. |