Sunday 4 March 2012

Features of the new VCEngine

I have been developing many features to aid with the developing of VoxelCaverns in LWJGL:

  • GUI class, which automatically draws components loaded from the loadComponents() function
  • GUIComponents, drawable features for GUI, which can have subcomponents.
  • Language support. Instead of the code saying my button is called "quit Game", its called "menu.quit" which is a key for a language map. In English this returns "Quit Game"
  • Modding support: Java looks much better to develop this, but only basics so far (file "VCMod.java")
  • Command line arguments (currently only "debug", which starts the game in debug mode!)
  • Sprite Sheet support: The ComponentButton draw method uses a sprite sheet with textures for button, button_pressed and button_disabled on it.
  • Different constant speed method: Instead of many games just timing how long last update was and using that to determine movement, I have a fixed amount of updates per second before the update thread sleeps for the rest of the second (20)

1 comment:

  1. I only just realised the language has been set to french. Thats why the buttons didnt have English on them!

    ReplyDelete