GithubHelp home page GithubHelp logo

zedseven / green Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 5.0 3.11 MB

A gaming library that enables easy 2D game creation within Processing.

Home Page: https://ztdp.ca/projects/school/Green/

License: MIT License

Java 100.00%
greenfoot processing-library java processing-language jar library game-development processing pde learning

green's Introduction

License: MIT # Issues

This is a relatively simple library designed to emulate most of the features of Greenfoot in Processing. This was originally made for a school project and aims to enable easy 2D game creation within Processing.

If you're using this in a class or as a teaching tool, I'd love to hear about it!

Installation

  1. Sketch > Import Library... > Add Library...
  2. Search for Green
  3. Select the library and click Install

Manual Installation

These steps are only in case the above steps don't work. You should try them first.

  1. Go to the latest GitHub release
  2. Download the .zip file
  3. Unzip it to wherever you want to keep the library
  4. Open Green-<version>.zip/library/ and put Green.jar in your Processing libraries folder
  5. Processing's libraries folder is located in <sketchbookLocation>/libraries
    • Its sketchbook location can be found in the editor under File > Preferences...

Once installed:

  1. Add it to a project with Sketch > Import Library...
  2. Select it from the popup list

Reference

To see the Javadoc reference, please visit https://zedseven.github.io/Green/.

The Basic Idea

The library works with two concepts: worlds and actors.

The World class is where all the interaction and gameplay takes place - it's where all the Actors live, and for most games one World is enough.

The Actor class is where all the per-item code goes: you might have a player Actor, one for an item the player can pick up, and maybe a few for obstacles.

green's People

Contributors

jfhseh avatar zedseven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.