Monday, April 25

Core Update

Updated Core again. Will post the new version after a little more work.

Update:
  • Cleaned up code abit
  • Added new classes: Screen, MainMenu
  • Additionally a new Game logic class was added.
    • Though I'm thinking this will become its own fil
  • Added a keyboard state handler (keymaps should  be eaiser maybe)
  • Added some code to disable pyglet default Escape key behaviour
  • Added/fixed various graphics options: set_vsync, show_fpsdisplay
  • Added/fixed the way graphic "layers" are displayed. This should reduce flicker. Also added some organization, so things aren't so messy.
To Do:
  •  Add some fancy stuff to loading screens:
    • Loading progress bar?, Percentage, Text display to show what is being loaded. (Lowest priority)
  • Test to check for if usercfg exists + options for whether or not it does
  • Autologin?
  • Fallback if default font does not exist
  • Add custom image loaders for menus etc.
  • Fix mainmenu handles and add new for setup, etc.
  • IMPORTANT!: add an exit handle

Sunday, April 24

Some updates

Some updates:
  • The first half of the new Core is updated, still needs work though. (Probly alot of bugs I would assume)
  • Cleared out some old now obsoleted stuff that is either replaced or has been merged, or is no longer needed.
  • Added more builtin defaults to enhance stability.
  • Now uses system fonts, instead of attempting builtin first.
  • Added some new character races.

Sunday, April 17

Back to work

After a long hiatus I decided to get back into the spirit of things and do up a little editing to the core code. Unfortunately still along way away from an actual release but its getting there!

So far some major changes which involve mostly cleaning up the yucky menu code, a lot of it replaced with much more cleaner code. Also got rid of the old annoying "new_user prompt" and replaced it with a much friendlier guest login as the default. So now users will be able to check stuff out without having to create or save any data to disk other than temp files. The downside is that guest accounts have now save functionality, which is intentional. To save your stuff all you really have to do now is create a username. How hard is that? Password is optional for offline use, for online use it required, however there will be an option to remember passwords.


Things that still need some focus (at least per the menu screen):
  • Loading the .ini files and dealing with values etc.
  • Getting the menus to display properly
  • Finish setting up all the basic menu structure
  • Code to setup keymaps
  • More cleaning up to do on the Core
  • Merge the "game.py" and "core.py" 
Doesn't really seem like much but its quite a bit of work. Its getting there.