JVM game engine based on Swing/JavaFX.
AGPL-3.0 License
Bot releases are hidden (Show)
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Some bug fixes and code refactorings.
Published by ice1000 almost 7 years ago
It's useless
Published by ice1000 almost 7 years ago
Published by ice1000 almost 7 years ago
Changes:
org.frice.game
to org.frice
(xxx) -> Unit
are changes into Consumer<xxx>
() -> Unit
is changed into SideEffect
, a Java lambdaPublished by ice1000 about 7 years ago
Change log:
org.frice.game.utils.message.log.FLog
-> org.frice.game.utils.message.FLog
text.setTextSize(Int)
greenify
, redify
, bluify
for both BufferedImage
(in ColorUtils
) and FriceImage
(as methods)New way to download:
Published by ice1000 about 7 years ago
Fixed the anti-aliasing bug, added a memory-friendly boolean array.
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.
Published by ice1000 about 7 years ago
It's actually some refactoring, only one api added.
Some optimization.
Published by ice1000 about 7 years ago
Now we have
addObject(layer, ...objects)
to control the layersOld 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.
Published by ice1000 about 7 years ago
Changed one API:
id
parameter, is moved to the last one.() -> Unit
. For Java users, please return Unit.INSTANCE
.Published by ice1000 about 7 years ago
The standalone jar and a Demo file is included
Published by ice1000 over 7 years ago
WTF
Published by ice1000 over 7 years ago
Published by ice1000 about 8 years ago
fix bugs for DSL (mutable variables)