MIT License

项目介绍

sreich/ore-infinium 是一个托管在 GitHub 上的开源项目,主要使用 Kotlin 编写,采用 MIT License 许可证,目前获得 188 个 Star、14 次 Fork。

仓库全名
sreich/ore-infinium
开源许可证
MIT License
Star 数
188
Fork 数
14
未关闭 Issue
13

README 摘要

Ore Infinium Ore Infinium, an open source multiplayer Terraria-inspired Sci-fi game written in Kotlin, with a special focus on in-game tech devices, energy generation/consumption, resources gathering and the survival through using these things. This is inactive. Lot of life mortality related things happened, especially when I turned 30. These days I'm more of an artist in the free time I have (photographer,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ore-infinium 用什么语言开发?

主要使用 Kotlin 编写,采用 MIT License 许可证,目前有 188 个 Star。

ore-infinium 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ore-infinium 的源码?

可以直接克隆仓库:git clone https://github.com/sreich/ore-infinium.git,默认分支为 master;安装与运行步骤见仓库 README。

ore-infinium 最近还在维护吗?

仓库最近一次更新为 2022年7月18日,当前有 13 个未关闭 Issue;Star 数为 188,可作为社区活跃度的参考。

关于

Ore Infinium, Open Source multiplayer Terraria-inspired Sci-fi game, focused on technology, devices and researching. Written in Kotlin (JVM), LibGDX. Cross platform

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

README

Ore Infinium

licenseLibGDXKotlin

Build Status

Ore Infinium, an open source multiplayer Terraria-inspired Sci-fi game written in Kotlin, with a special focus on in-game tech devices, energy generation/consumption, resources gathering and the survival through using these things.

This is inactive. Lot of life mortality related things happened, especially when I turned 30. These days I’m more of an artist in the free time I have (photographer, musician)

World generation in the world Underwater air meter World generation Player in game

Inspired a lot by tekkit(now feed the beast) for minecraft, but I’m not a fan of its overwhelming complexity, although it has some really great gameplay ideas/mechanisms. I aim to incorporate some of these ideas, improve them where I can, improve the process and hopefully make it easier, less grueling and more fun.

I’m likely going to go the route of making energy consumption/production be a global thing. For example, placing a generator will increase your global energy generation rate/stats by that much. I’m most interested in having devices depend on resources, and use them to do neat things, assuming it doesn’t make things too overwhelmingly complicated for someone like me. Having to manage fuel sources for generators, switch off devices when too much is being consumed (so that important devices like charging stations, which enable you to dig), and defenses, don’t stop working.

Extremely early development!

Basically it’s only a tech demo right now, no gameplay. Unless you count walking around gameplay. Then it’s got lots of that.

It is planned and written for multiplayer but so far has only been tested local machine only.

It also will not have any lag compensation/prediction at all for a while until I get more functionality (functionality being more important, and lag compensation can be a bit of an after thought, as it is more time consuming and requires a lot of tuning)…not to mention the protocol will need to be optimized, eg things like block sending are very inefficient, as I work on getting other features in. It also currently spams packets like crazy, when it should be aiming for 20-30 packets/s each for client or server.

#Platforms All desktop platforms (which can run the JVM) (Linux with OpenJDK, Windows, macOS).

Requirements

You will need java 8 (jre 1.8) installed. OpenGL 3.0+ (shouldn’t be difficult to meet, linux open source drivers usually meet that easily these days. Any integrated gpu in the past several years should support it).

Downloads/Builds

Regular releases are made (runnable jars) after every commit. See github releases

Simply execute it by clicking, or by command line with java -jar pathtojar

Notable Libraries used:

  • LibGDX(base cross platform game framework)
  • KTX (kotlin idiomatic wrappers around libgdx and friends)
  • artemis-odb (ECS (entity component systems) library)
  • KryoNet(networking library)
  • Scene2D.ui(GUI)**, part of libgdx
  • Joise(noise module chaining framework, for generating the game world in complex ways)
  • VisUI(further extends scene2d)
  • JCommander(command line parser)
  • gdx-ai(AI library)

Debugging/development and testing

If you wish to test and such, you’ll probably want to enable assertions, as I use them all over the place to ensure consistent game state, and sane behavior. You must pass -ea (“enable assertions”) to VM Options.

Should work with every IDE just fine. For IDEA, see: http://www.jetbrains.com/idea/help/setting-configuration-options.html

To build locally, just check out the code. It uses a submodule currently, for the assets. So run git clone update --recursive <the url>. If you’ve already checked out the main repo and forgot to run it with --recursive, you won’t have the submodule located in ore-infinium/core/assets. So, do git submodule update --init --recursive

To build it with gradle, from the command line, run ./gradlew desktop:build (or just click that gradle task from your IDE. Build the executable jar with ./gradlew desktop:dist

I’m using Kotlin, so you can use Intellij IDEA or eclipse(if you download the plugin).

Be sure to set the working directory to the assets directory, or more easily, just invoke the desktop:run gradle task.

Command line arguments

There are some command line arguments that can be passed to it. Find them by running java -jar ./ore-infinium-and-what-not --help. Some of these switches are used for development, some are used for gameplay, testing etc.

License

Code is licensed as MIT, assets are(will be) licensed under permissive asset licenses. (CC0 mostly). See assets dir for more detailed license info.

评论

暂无评论