top of page

Adding Player Stats

  • Charles Leon
  • Feb 22, 2015
  • 1 min read

Untitled.png

This week I began adding more functionality to Knight's Tale, mostly involving player stats. Equipping weapons or armor now affects a players attack and defense stats and consuming potions restores health. Next week I need to refine the functions that handle the players stats because currently my system works but it could be much cleaner and more efficient. I will probably look at some open source java games to see what methods other programmers used to solve similar issues. I have included a picture of the function that currently handles palyer stats with comments to describe how it works.


 
 
 

Comentarios


Recent Posts
Archive

© 2015 by Charles Leon. Proudly created with Wix.com

bottom of page