Goal: Creating a simple rogue/nethack like 2D dungeon rpg
Resources:
-
Vim Quick Reference Card: http://users.ece.utexas.edu/~adnan/vimqrc.html a.Some of my favorite commands are the split screening using :sp or :vs to open another file with a vertical or horizontal split then you can move between with ctrl+ww
-
Quick and Dirty guide to using git a.Always use git pull when starting to work to make sure you pull in the latest work b.git clone : redownload repo to current directory, useful if you break everything c.git status ---git diff--- and use q to exit d.git commit -a -m "add a relevant message of what you're adding here" : this is how you save your work to the local machine e.git push : this is how you push your locally saved commits out to the github 'cloud'
Quick reference for commands: git pull git clone git status git diff git commit -a -m "my message" git push
Basic Development Plan:
- Level Creation
- Movement / Collision Detection a. char can only move based on valid square to move to (aka hall edges automatically off limits)
- Goal / Level Save / Item Mechanics
Level Generation Structure (Rough Outline):
-
Creation of basic block sprite structure a. block can be: floor, wall, hallway (to start) b. collision detection on/off (wall vs. floor) c. instantiates pygames sprite class d. use default size (10x10?) with 8-bit graphics
-
Generate Rooms a. Use collection (list?) of block sprites b. Utilize random (intelligent) placement of rooms (with random sizes) c. utilize semi-random floor graphics choices d. add walls and doorways after all rooms are placed (controlled-random)
-
Generate Halls
-
Cleanup overlapping halls a. place hall tile only is space != occupied by room / wall tile b. hall tile + wall tile = door tile
-
Add random start locations a. random character start b. random item locations c. random end condition location