Skip to content

Releases: svenar-nl/LibZ

Image improvements

10 Sep 13:15
Compare
Choose a tag to compare

Bugfixes!

Changelog

  • Sprite now includes x and y variables
  • Image effects added to Sprite.java (invert, monochrome, blur, trapezoid)
  • Fixed bug #2
  • Updated tiled loader
  • added function drawSprite in Render.java

NOTE: This version may break code made in an older version.

Did we miss something?

Feel free to post it here.

Tiled Support

26 Aug 21:12
Compare
Choose a tag to compare

LibZ <3 Tiled

Changelog

  • Rewrote Everything!
  • Added Tiled Map Support!
  • Removed lighting (for now)
  • Improved sprite loading
  • Even smaller file-size
  • Readded sound support

NOTE: This version breaks code made in an older version.

Did we miss something?

Feel free to post it here.

V1.0 Beta 1

30 Dec 21:05
Compare
Choose a tag to compare
V1.0 Beta 1 Pre-release
Pre-release

Happy New Year!

Changelog

  • Rewrote Everything!
  • Performance boost ~750%
  • Added lighting
  • Added Camera
  • New input handling
  • Entities are now automatically updated and rendered
  • Improved sprite loading
  • No per-pixel rendering anymore, Direct drawing on the canvas added!
  • Even smaller file-size

NOTE: This version breaks code made in an older version.

NOTE: This is a beta, not everything is implemented or working properly.

Did we miss something?

Feel free to post it here.

Bug fix!

19 Nov 13:43
Compare
Choose a tag to compare

Changelog

  • Fixed bug #1

Did we miss something?

Feel free to post it here.

Actions

21 Oct 10:31
Compare
Choose a tag to compare

Changelog

  • GameCore.java
    • added setSize(int width, int height);
    • added setSize(Dimension dimension);
  • Minor improvements

Actions: Easy execute actions in order / manipulate them.
init:
ActionContainer actionContainer = new ActionContainer();
actionContainer.add(action);
actionContainer.start();
update:
actionContainer.update();


Did we miss something?

Feel free to post it here.

GUI, the beginning

02 Oct 19:47
Compare
Choose a tag to compare

Changelog

  • Menu.java | Logger.java
    • Initial commit

Logger: Easy organize your output data using logger.
Logger log = new Logger("prefix");
log.info("Hello World!");


Menu: Create menu's for your game (useMouse not implemented yet!)
Menu menu = new Menu(GameCore gc, ArrayList<String> items) {
@Override
public void optionSelected(String name, int id) {
log.info("user selected: " + name);
}
};

Requirements:
menu.update(GameCore gc); Required
menu.render(GameCore gc, Render r); Required


Did we miss something?

Feel free to post it here.

Tasks!

28 Sep 19:43
Compare
Choose a tag to compare

Changelog

  • LibZ_Entity.java
    • Added method 'taskTriggered(String taskName)' this method needs to be overwritten.
  • Render.java
    • Little improvements
  • Window.Java
    • Renamed Window.java to Screen.java
  • Emitter.java
    • Added support for screen offset
  • TaskContainer.java | Task.java
    • Initial commit

Tasks are usefull to send messages to multiple entities ate the same time, instead of using your own methods you could just send a String and the entities could react on it.

Did we miss something?

Feel free to post it here.

External images

02 Sep 08:16
Compare
Choose a tag to compare

Changelog

  • Image, Sprite
    • Added support for loading images outside the jar.
  • Level, Tile
    • Updated Level.java and Tile.java to be compatible with the new image loader
  • Render:
    • Added method 'drawOverlayRect(int x, int y, int w, int h, int color, int thickness, boolean fill)
  • GameCore
    • Fixed init() running after first update and throwing NPE's

  • Examples
    • Removed SMB example (poorly written)

Did we miss something?

Feel free to post it here.

Fullscreen and Particles

02 Sep 08:00
Compare
Choose a tag to compare

Changelog

  • Added particle system
  • Added full-screen support
  • Bug-fix
  • Added first Android build (No pre-build version for Android yet! Also there's no hurry with the development for Android)

Did we miss something?

Feel free to post it here.

V0.6 is now available!

11 Aug 18:36
Compare
Choose a tag to compare

Changelog

  • Input:
    • Added try/catch to hide the errors for unknown keys.
  • Render:
    • Added method 'drawRect(int x, int y, int w, int h, int color, int thickness, boolean fill)'.
    • Added method 'getStringWidth(String text, Font font)'.
    • Added method 'getStringWidth(String text, Sprite font)'.
  • Window:
    • Changed image type to ARGB instead of RGB.
    • The game now requests focus (No need to click on the window anymore for focus.)

Did we miss something?

Feel free to post it here.