Coder Social home page Coder Social logo

slappedwithsilence / txengine Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 509 KB

TXEngine is a modular and configurable text-based game engine. Write entire text-based games without writing a single line of code!

License: Apache License 2.0

Shell 0.01% Java 99.99%
java game engine code-free codeless json game-engine

txengine's Introduction

TXEngine

TXEngine is a text-based game engine written in Java. The goal of this project is to create a rich toolset of game elements that empower designers to build flexible and unique worlds. With TXEngine, designers create games entirely by manipulating a set of JSON files--no code needed. TXEngine also features a rich content designer that can assist users of the engine with writing, tracking, and checking their JSON game components (coming soon).

Looking for usage documentation? Visit the wiki!

Technologies

TXEngine is designed to be as portable and lightweight as possible. As such, it does not use any heavy frameworks or engines. TXEngine is built in Java and use Maven for dependency management.

Developing TXEngine

Getting TXEngine set up on your machine is simple. Install Maven (3.8+) and JDK 16 for your specific platform (available on Windows, Linux, and OSX) and then run the following commands from the root folder of TXEngine:

mvn compile

mvn exec:java

At this point, TXEngine's default game should have launched in a console window.

It is highly-recommended to develop TXEngine using an IDE with Maven integration such as IntelliJ. Setting up TXEngine in IntelliJ is simple.

  • Clone this repository into a folder
  • Open the repository as a project in IntelliJ
  • Make sure it is recognized as a Maven project
  • Create a Run Configuration with the command line field set to mvn:exec.
  • Edit the new Run Configuration to 'Build Project' before launch under the 'General' tab

At this point, the project should be set up and ready to run!

To find out more about how TXEngine works, visit the wiki!

Limitations

TXEngine relies on embedded color codes. These codes do not work on CMD in Windows, and as such, can't be run through it (with colors). A solution for launching TXEngine through Powershell is under development. Until then, you can run TXEngine on Windows by using either Cygwin or WSL Ubuntu, or any native Linux distribution.

txengine's People

Contributors

aswritescode avatar slappedwithsilence avatar

Stargazers

 avatar  avatar  avatar

txengine's Issues

Conversations are one time events

Possibly not a bug and is intended but the debug conversation "Speak with doomsayer" only works once and on subsequent tries is immediately exited with no error.

DispelCombatEffect doesnt work, my solution in comments

DispelCombatEffect never runs through its constructor before engine call so DispelInstanceOf variable is never set

Solution: Just change getDispelInstanceOf to get property[0] instead. No need to run the unique constructor

Implement LoadableFactory

Implement a factory class that makes available a class method for universally converting JSON objects into python objects via the loader cache.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.