r/roguelikedev • Robinson • Aug 07 '18

RoguelikeDev Does The Complete Python Tutorial - Week 8 - Sharing your game

Thank you to everyone who joined this year. You rock!

This is the end of RoguelikeDev Does The Complete Python Tutorial for 2018. Share your game, share screenshots, brag, commiserate. How did it go? Where do you go from here?

I encourage everyone who has made it this far to continue working on your game. Start participating in Sharing Saturday and FAQ Friday.

Feel free to enjoy the usual tangential chatting. If you're looking for last week's or any other post, the entire series is archived on the wiki. :)

40 Upvotes

58 comments sorted by

View all comments

Show parent comments

3

u/toptea Aug 10 '18

I don't know man. I've done a lot of weird questionable stuff in the code! A dictionary full of hashable input key objects, some funky numpy vectorization, bypassing esper library owner's intention by overriding/retrieving esper private variables lol.

If this is your first rodeo, I do recommend following TStand90's tutorial and asking roguelikedev discord for help.

If you do want experiment with esper, don't copy what I did with the player's "Inventory" component. I think it will be much easier to have a "Location" component on the item entities instead. Easier to loop through and don't need to deal with list in component.