DigiTurtle Library

I just wanted to make a thread to present my WIP collection of utilities that I have made for myself. I will update the GitHub every few days, just in case someone hears a reference to the utilities I am making and wants to browse my code.

Again, this isn’t a game library, simply a collection of utilities that I am using and polishing for my usage. Any questions on how to use a section of code can be asked, but I will not make a “tutorial” unless requested.

CopyableCougar4

Wow, I looked at the source code and this stuff does look like it could be a game library ;D

Thanks :slight_smile: It’s close to a game library, it just doesn’t have the classes to store the entire application.

Features:

  • XML Parsing for UI / Screen
  • JS handling for UI
  • Simple networking components
  • Simple layered entity system
  • Physics for gravity
  • Resource loading for text / vbo resources
  • and more!

CopyableCougar4

Maybe it could compete with libgdx? :o

Thanks :slight_smile: It’s UI is possibly almost as full of components as LibGDX, but it lacks the backends, core game management, sound loading, actions, etc. of LibGDX. But I appreciate the compliment :slight_smile:

CopyableCougar4

[quote]but it lacks the backends, core game management, sound loading, actions, etc. of LibGDX
[/quote]
Yea, thats why I said maybe :stuck_out_tongue:
And good job on the logo.

So I spent about 30 minutes of time and implemented OpenAL sound. However, it’s still kind of slow.

CopyableCougar4

Not even close. The “library” lacks too many features to top GDX, just judging from the code.

  • Jev

I thought I should post some updates:

  • Centralized logging system with a simple FileLogger instance (for logging to files)
  • General fixes and tweaks
  • Sound loading

Just if someone is curious, the sound loading for Ogg files works like such:

If you have an input stream called [icode]inputStream[/icode], then just create a sound object with

Sound sound = new Sound(inputStream);

and play/pause/stop with

sound.play();
sound.stop();
sound.pause();

CopyableCougar4