FriceEngine

JVM game engine based on Swing/JavaFX.

AGPL-3.0 License

Stars
342

Bot releases are hidden (Show)

FriceEngine - New drawing APIs

Published by ice1000 almost 7 years ago

FriceEngine - New features, old API deleted

Published by ice1000 almost 7 years ago

FriceEngine - Added cursor overriding for jfx

Published by ice1000 almost 7 years ago

FriceEngine - New features

Published by ice1000 almost 7 years ago

  • Always on top for swing
FriceEngine - New features

Published by ice1000 almost 7 years ago

  • Tested Jfx Buttons
  • Tested Jfx Animations
  • Jfx screenshot
FriceEngine - Finished! Now you can create game with JavaFX

Published by ice1000 almost 7 years ago

FriceEngine - Updates

Published by ice1000 almost 7 years ago

Some bug fixes and code refactorings.

FriceEngine - Remove FTimerListener

Published by ice1000 almost 7 years ago

It's useless

FriceEngine - Build success

Published by ice1000 almost 7 years ago

FriceEngine - Move packages

Published by ice1000 almost 7 years ago

Changes:

  • Move org.frice.game to org.frice
  • Lots of (xxx) -> Unit are changes into Consumer<xxx>
  • () -> Unit is changed into SideEffect, a Java lambda
FriceEngine - Add new APIs, moved FLog

Published by ice1000 about 7 years ago

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:

FriceEngine - Bug fixes and new features

Published by ice1000 about 7 years ago

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

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

Published by ice1000 about 7 years ago

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.

FriceEngine - Add generics for Database query, removed some bad code

Published by ice1000 about 7 years ago

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

Some optimization.

FriceEngine - Change design: the concept of `layers`

Published by ice1000 about 7 years ago

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.

FriceEngine - Modifications and improvements

Published by ice1000 about 7 years ago

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.
FriceEngine - APIs added, refactor code

Published by ice1000 about 7 years ago

  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

FriceEngine - Add gradle support

Published by ice1000 over 7 years ago

WTF

FriceEngine - Add gradle support

Published by ice1000 over 7 years ago

FriceEngine - 修复历史遗留问题 (fix bugs

Published by ice1000 about 8 years ago

fix bugs for DSL (mutable variables)