manabreak / ratio Goto Github PK
View Code? Open in Web Editor NEWVoxel-based Editor
License: Apache License 2.0
Voxel-based Editor
License: Apache License 2.0
Now, level and object properties have their own property views. These should be unified in a meaningful way so that all property editing happens in the same place. This would then enable other entities to have properties as well (eg. layers, tilesets and individual tiles).
I have run the source code on mac.
it gave me the exception message until I add the folder name to tinted.json location in me.manabreak.ratio.ui.Res.java
:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Error reading file: tinted.json
at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:98)
at com.badlogic.gdx.scenes.scene2d.ui.Skin.(Skin.java:75)
at com.kotcrab.vis.ui.VisUI.load(VisUI.java:87)
at me.manabreak.ratio.ui.Res.load(Res.java:30)
at me.manabreak.ratio.EditorGame.create(EditorGame.java:32)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: tinted.json
at com.badlogic.gdx.utils.Json.fromJson(Json.java:711)
at com.badlogic.gdx.scenes.scene2d.ui.Skin.load(Skin.java:96)
... 6 more
Caused by: com.badlogic.gdx.utils.SerializationException: Error parsing file: tinted.json
at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:78)
at com.badlogic.gdx.utils.Json.fromJson(Json.java:709)
... 7 more
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: tinted.json (Internal)
at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136)
at com.badlogic.gdx.files.FileHandle.reader(FileHandle.java:163)
at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:76)
... 8 more
from
public static void load() {
VisUI.load(Gdx.files.internal("tinted.json"));
}
to
public static void load() {
VisUI.load(Gdx.files.internal("editor/assets/tinted.json"));
}
Layers should have similar properties as the level and objects.
Object property editor UI is bugged in a way that makes it really difficult to handle custom properties.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.