Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.anubiann00b:vis-editor:'
}
dependencies {
implementation("com.github.anubiann00b:vis-editor:")
}
<dependency>
<groupId>com.github.anubiann00b</groupId>
<artifactId>vis-editor</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.anubiann00b" % "vis-editor" % ""
:dependencies [[com.github.anubiann00b/vis-editor ""]]
VisEditor is cross platform 2D game level editor, it allows to easily create game scenes using intuitive drag and drop editor.
VisEditor doesn't force you to use single game framework, scenes are exported in JSON format. Many assets file formats are supported: images, sounds, fonts, particles, GLSL shaders, Spine and Spriter animations with more features coming soon. Box2d physics is supported as well.
See Quick Start guide to get stared with using VisEditor.
VisEditor currently have libGDX runtime which uses artemis-odb for entity-component-system framework. With that runtime you can load your scene in just few lines of code.
LibGDX runtime source code is a good start if you want to create your own runtime, if you do so don't forget to let me know and I will gladly link it here.
You can follow Vis development on my Twitter channels: @VisEditor and @kotcrab or read my blog. You can also join our forum and IRC channel!