GithubHelp home page GithubHelp logo

happy-ferret / phaser-pnc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lewiji/phaser-pnc

0.0 1.0 0.0 31.57 MB

Phaser Point and Click Adventure Game Plugin

License: MIT License

JavaScript 100.00%

phaser-pnc's Introduction

Phaser Adventure Game Plugin Design Document

Introduction

Plugin to simplify development of traditional point and click adventure games, in the style of Lucasarts, Sierra, etc, in the Phaser/Lazer framework. Open to all collaborative effort, I think there are enough of us oldies to remember the golden age of adventure games :)

From this thread on HTML5 Game Devs forum

Image of 4 Classic Adventure Games

Design Considerations

Features typical (but not necessarily definitive) of game style:

  • Static 2D backgrounds (‘screens’) with some interactive objects and characters that can move around

  • Mouse driven gameplay with the protagonist moving to where the player clicks

  • Inventory

  • Item combination

  • Multiple actions (‘verbs’) that can be used to do different things to the same object (less common in modern games so should be an optional feature)

  • Multiple choice dialog system with character subtitles

Technical Considerations

  • Level editor (not tile based?)

  • Pathfinding over a static background - collision masks or predefined waypoint routes?

  • Layered backgrounds allowing for foreground objects

  • Save/Load system

  • Event triggers to allow for progression - eg having x item enables y dialog option, y dialog option causes person z to arrive in the game

  • Character animation system

  • Dialog system should be heavily abstracted from the general dev process for ease of writing- maybe even just supplying json files generated by some external tool? While still allowing fine grained programmer control

  • Music system

  • Modular design? Don’t want to restrict people to using eg requirejs but feel that the components of the plugin should use a module pattern of some description

  • Sod it let’s just make a JS SCUMM clone. Though somebody’s probably already done it!

Constraints

  • Memory, especially if targeting mobile devices - lots of background images and frame by frame animations = need to be careful with memory usage. Can make use of Phaser’s state system to mitigate this.

  • Voice acting? HTML5 sound support is getting much better but could it handle a lengthy game fully voice acted? This is a long way off as I doubt anyone would try this any time soon ;)

Goals

  • A flexible enough plugin that it can be used by experienced programmers and novices alike

  • Ideally allow for art, writing and coding to be as easy to integrate as possible while remaining separate processes

  • Open source, open licensed, go nuts with it

Development Methods

I dunno, get a github started and just do it, we’ll work out how later

phaser-pnc's People

Contributors

lewiji avatar

Watchers

 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.