Another progress update
Progress- Improved Graphics
- Gaining and Spending Experience
- Effects and Events
- Feats and Traits
DetailsImproved Graphics: I've begun messing around with colors and have been making use of Squidlib's built in methods. It has a great library with built in blending functionality. I've also altered how light is treated, creating a more natural gradient from light to shadow.
Gaining and Spending Experience: The player now gains experience from slaying monsters. The amount of exp gained is based on the difference between the player and monster levels. Experience can be spent to upgrade attributes, skills and to buy feats.
Effects and Events: Most of my time has been spent on this. I went though a few frameworks before I finally settled on this one. Whenever anything occurs that would affect an object, an Event is created. The Event determines what objects are affected and then applies Effects to them. The Effects can do anything from dealing damage to boosting stats. The system is very robust and I feel confident I can make almost any spell/ability I could think of. Thanks to AgingMinotaur and all the others who posted in my thread requesting help on this.
Feats and Traits: Traits are things innate to an object, such as blindness. Traits are essentially just flags that the code checks for. Feats are essentially traits that the player can purchase with experience.
Whew, well back to work. I'm working on creating a whole set of cave creatures, each with their own unique AIs. There will also be essentially an ecosystem within the game with an fairly complex food chain.