GithubHelp home page GithubHelp logo

mini2dx / jarn Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 797 KB

Java-based interpreter for Yarn

Home Page: https://mini2dx.github.io/jarn/

License: MIT License

ANTLR 2.71% Java 93.35% Ruby 2.72% HTML 1.23%
dialogue game-development gamedev interpreter java narrative yarn

jarn's Introduction

mini2Dx

Continuous Integration

A high-level game development API for LibGDX inspired by Slick

Goals

The main objective of mini2Dx is to provide a beginner-friendly, master-ready framework for rapidly prototyping and building 2D games in Java.

What's New

20th April 2019

1.9.0 has been released as another in-between version of the 1.x API and 2.0 API. It is recommended upgrading to 1.9.0 to ease the transition to 2.0 later on. As previous stated, 1.9.x will only receive bug fixes and optimisations going forward. Once 2.0 is released, 1.9.x will be 100% community-driven.

10th November 2018

1.8.0 has been released as an in-between version of the 1.x API and 2.0 API. It is recommended upgrading to 1.8.0 to ease the transition to 2.0 later on. As previous stated, 1.8.x will only receive bug fixes and optimisations going forward. Once 2.0 is released, 1.8.x will be 100% community-driven.

10th June 2018

This is repository will be focused on development of the next generation of mini2Dx - 2.0. For 1.x development, see the mini2Dx Vintage Edition repository. 1.x will receive bug fixes and optimisations during 2.0 development. Once 2.0 is released, 1.x will be 100% community-driven.

License

The project is licensed under the BSD 3-Clause License.

Assets used for UATs are licensed under Creative Commons (Kenney.nl, Alexander Ehlers, Juan Rodriguez)

However, some classes are based on LibGDX's code and are licensed under the Apache License Version 2.0 per LibGDX's license. Such classes are placed under com.badlogic.gdx packages.

Contributing

See the Contributing Page

jarn's People

Contributors

tomcashman avatar tymerica avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

jarn's Issues

Set and if statements do not seem to be working

I copied the if statements from the wiki, because my personal if statements didnt work (I was trying to get it to evaluate functions in the if statement to allow for more direct access to game data) but before I could even get to that, i couldn't get basic if statements working.

<<set $gold to 1>> A: Hello player! Do you have enough gold? <<if $gold is 1>> A: Looks like you need more gold! (This will only appear if $gold is equal to 1.) <<elseif $gold > 1>> A: Good work! (This will only appear if $gold is greater than 1.) <<else>> A: Come back when you have some gold! (This will only appear if $gold is less than 1.) <<endif>>

It would not step past the set step, and if i tried to resume the yarntree manually in the set callback i got a stackoverflow, i also tried manually setting it by the operation, and still didn't seem to work.

then i just tried if statements, it would never go to the line under any if statement although i made sure it evaluated by debugging in my ide, it just seemed to stop after it went through the if else if checks

A: Hello player! Do you have enough gold? <<if 5 is 1>> A: Looks like you need more gold! (This will only appear if $gold is equal to 1.) <<elseif 5 > 1>> A: Good work! (This will only appear if $gold is greater than 1.) <<else>> A: Come back when you have some gold! (This will only appear if $gold is less than 1.) <<endif>>
it would never execute the A: Good work!

there may be a step i'm missing, but just dropping either of these into a node would stop the node in it's tracks.

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.