在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:fastjengine/FastJ开源软件地址:https://github.com/fastjengine/FastJ开源编程语言:Java 100.0%开源软件介绍:What is FastJ?FastJ is an open-source, Java-based 2D game engine and framework. Originally named the FastJ Engine, it aims to provide an easy-to-use, 2D game-making library. DisclaimerThis project is still under heavy development. There is a very good chance bugs are still prevalent and untracked, as the engine is not fully covered by unit tests. Documentation is readily available, but may change over time. Feel free to help us out by contributing to the project! Projected Feature List
Features with examples available have their prime example linked. Get StartedThere are many different ways to learn FastJ -- check them out! Template ProjectsUse a template project! It's the fastest way to jump into using FastJ. Choose a programming language from the ones below. We suggest Java, as it has the most support: However, Kotlin and Groovy are reasonable options as well:
TutorialsFastJ provides article tutorials on its website to accommodate as many types of developers as possible. From beginners to experts, the website tutorials are written to give enough information to satisfy anyone willing to learn! Code ExamplesExplore FastJ's code examples to see the different ways FastJ can be used, and all of its features. These come with in-example explanations and easy plug-and-playability to give you the best chance at understanding how FastJ works. API DocumentationCheck out FastJ's documentation to get a better understanding of the code FastJ provides to improve your game-making experience. I'll add the dependency myself!Ok, ok, I hear ya. To do so, just follow through with these instructions below. Dependency ManagementThis library can be found in the following places:
When adding the dependency, make sure to replace A few common dependencies are provided below:
You'll also want to make sure you add a dependency for a logging framework from SLF4J, since FastJ uses it for all its logging purposes. Take your pick! Hello World Code (Java)import tech.fastj.engine.FastJEngine;
import tech.fastj.graphics.display.FastJCanvas;
import tech.fastj.systems.control.SimpleManager;
public class HelloFastJ extends SimpleManager {
@Override
public void init(FastJCanvas canvas) {}
@Override
public void update(FastJCanvas canvas) {}
public static void main(String[] args) {
// Creates an empty window titled "Hello, FastJ!"
FastJEngine.init("Hello, FastJ!", new HelloFastJ());
FastJEngine.run();
}
} External DependenciesContributingPlan on contributing to the repository? Awesome! We're glad to have you Please be sure to read over the contribution guidelines so that you can get started. CommunityFastJ's community of developers is growing day by day!
Games Made with FastJLicenseThis repository is licensed under the MIT License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论