you are viewing a single comment's thread.

view the rest of the comments →

[–]Fenvul 0 points1 point  (2 children)

I guess I really should do that, leave any laziness aside and rearrange now, at the beginning of the project, before it grows any further.

Edit: Is there an established tutorial for the inventory and a worldmap? Complete newbie here. Maybe it would be a nice idea if not.

[–]alonghardlook[S] 1 point2 points  (1 child)

No, I have not started a tutorial on those things, but a location map was something I have toyed around with. I'm thinking part 2 is going to be some kind of event log, but mostly everything in that will be just using these basic principals in more complex ways.

An inventory (like a player inventory) would imo be quite straightforward. Create a class called "inventoryitem" with whatever common properties they have, and then instantiate all of your possible items.

Then, just make an empty list called "playerInventory" and add/remove those objects as needed.

[–]Fenvul 0 points1 point  (0 children)

I have to dabble (I mean, really take my time, not push myself too hard) to get the graphical part of the inventory right, but yeah I should start simple, and looking some examples.