Author Topic: Menulib (Axe)  (Read 1982 times)

0 Members and 1 Guest are viewing this topic.

Offline Haobo

  • LV2 Member (Next: 40)
  • **
  • Posts: 27
  • Rating: +4/-0
    • View Profile
Menulib (Axe)
« on: April 28, 2016, 12:25:04 am »

I've created a few games in Axe that all have the same format underneath, and I've been getting annoyed of recreating the same code for a different program. So, I tried to create something similar to Graylib that will handling a multitude of items that any operating system does. Truthfully, this seems more similar to something like glut (not like I used it much). There are definitely a lot of bugs since I never tested it except in my own code.
Here are some of the features
    auto power down
    auto archived save appvar
    limit framerate
    separate windows
    intro/outro animations
    exiting key
    hooks everywhere
    Graylib support
Currently, I haven't used this at all except for the planned tetris game. However, it has been working well, and hopefully, create more examples of how this can be used.
I found it hard to micromanage all the different functions I use for handling screen changing and other stuff, and using this myself made it real easy to plan everything. This code is definitely not as complicated to read as Graylib was, and it should be easy to understand if you glance at the source a little. Fundamentally, most of the loading functions are similar to Graylib, so if you understand how to use that, this should be easy.
If anyone wants to use this, I can start posting some code of how to use it. Otherwise, this is mostly just for me anyway :D
Projects:
Star Cats
Five Nights at Freddy's
Phoenix Wright