Giter VIP home page Giter VIP logo

clickandpointlib's Introduction

ClickAndPointLib

Library to make point & click game in the browser

clickandpointlib's People

Contributors

leobenkel avatar jacklehamster avatar vlequang avatar wonay avatar

Stargazers

 avatar

Watchers

James Cloos avatar Steven avatar  avatar  avatar

Forkers

popeyesailorman

clickandpointlib's Issues

Dialogue

Add dialogue feature.
The idea for the structure is:

{
    "dialogues": {
        "dialogueWithSomeone": {
                "dialogueKeyOne": {
                     "content": "...",
                     "actions": [...]

                },
        }
    }
}

More complex "if" fields

Right now the if field for interactions is only taking one string for the name of the variable to test if true.
It should become something like:

"if": {
    "type": "AND/OR/XOR",
    "tests": [
        {
             "variable": "variableName",
             "test": "EQUAL/NOT EQUAL/GREATER THAN/ ....",
             "value": valueToTestAgainst  
        }
    ]
}

Visible but not interact-able interaction

The use case is to have an interaction only interactable when a variable is set to true. It is possible today with if but this will also hide the interaction instead of making it visible but inactive.

Split up the game in different files

Implement support for strings instead of structure for all field, if structure, parse like normal, if string, try to fetch the file and parse the file.

Support for music / sound effects

  • Trigger a music when entering a scene
  • Start a new music
  • Do nothing
  • Stop current music
  • Add ability to loop / play once
  • Support for sound effects
  • When do an interaction, trigger a sound.
  • Ability to change current music

Support retina graphics

Right now, the canvas looks pixelated on a retina macbook.
To solve that, the canvas' width and height attributes have to be double of the style's width/height.

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.