Skip to content

Releases: icela/FriceEngine

Add new APIs, moved FLog

27 Aug 07:12
Compare
Choose a tag to compare

Change log:

  • org.frice.game.utils.message.log.FLog -> org.frice.game.utils.message.FLog
  • Add text size rendering, use text.setTextSize(Int)
  • Fix bug of logging
  • Add greenify, redify, bluify for both BufferedImage (in ColorUtils) and FriceImage (as methods)

New way to download:

Bug fixes and new features

17 Aug 15:29
Compare
Choose a tag to compare

Fixed the anti-aliasing bug, added a memory-friendly boolean array.

New way of starting game, new APIs, removed some APIs

02 Aug 16:36
Compare
Choose a tag to compare

The new way of starting game:

class MyGame extends Game {
  public static void main(String[] args) {
    launch(MyGame.class);
  }
}

The new APIs:

FLog.setLevel(FLog.VERBOSE);
FLog.setLevel(FLog.DEBUG);
FLog.setLevel(FLog.INFO);
FLog.setLevel(FLog.WARN);
FLog.setLevel(FLog.ERROR);
getMouse().getX() / setX()
getMouse().getY() / setY()

Yes, you can change the position of the mouse now.

Add generics for Database query, removed some bad code

26 Jul 17:15
Compare
Choose a tag to compare

It's actually some refactoring, only one api added.

Some optimization.

Change design: the concept of `layers`

22 Jul 15:28
Compare
Choose a tag to compare

Now we have

  • addObject(layer, ...objects) to control the layers

Old APIs are still working, and not marked deprecated yet, they're defaultly added to the first layer.

You can specify how many layers you want in the constructor.

An example is also provided. Part of the new apis are shown.

Modifications and improvements

22 Jul 12:37
Compare
Choose a tag to compare

Changed one API:

  • The constructor of ShapeObject, the id parameter, is moved to the last one.
  • The second parameter of FObject.addCollider() is now () -> Unit. For Java users, please return Unit.INSTANCE.

APIs added, refactor code

21 Jul 16:20
Compare
Choose a tag to compare
  1. Use @jvmoverloads instead of hand written constructors
  2. Add two new apis for collide and animations
  3. Add apis to check collisions

The standalone jar and a Demo file is included

Add gradle support

13 Apr 13:52
Compare
Choose a tag to compare

Add gradle support

13 Apr 13:42
Compare
Choose a tag to compare
v0.5.4

add gradle support

修复历史遗留问题 (fix bugs

11 Oct 10:12
Compare
Choose a tag to compare

fix bugs for DSL (mutable variables)