Coder Social home page Coder Social logo

1j01 / tiamblia-game Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 3.25 MB

๐Ÿน An exploration adventure game

Home Page: https://1j01.github.io/tiamblia-game/

HTML 1.23% CoffeeScript 87.73% JavaScript 10.72% CSS 0.32%
adventure-game game spirit hunt custom-engine exploration adventure game-engine story hunting

tiamblia-game's Introduction

Tiamblia

With a simple visual style, Tiamblia is an immersive 2D exploration adventure game where you can talk to spirits, hunt them, and gain their powers. There will be lots of interesting places to visit, things to do, characters to talk to, original music to listen to...

Follow the game on GameJolt, or watch the repository on GitHub.

Stay tuned to potentially interact with...

  • the Spirit of the Hunt,
  • friendly painted beetles,
  • fancy lions,
  • a walled garden (that's a snake fyi),
  • living lanterns (that eat fireflies),
  • tiny birds,
  • cheeky trees,
  • a spider dojo (or rather the spiders thereof),
  • a charitable castle (mhm yup the castle),
  • and more!

I'm making a custom engine called Skele2D, where everything is based on points and an integrated editor that can manipulate these points. The core editor is basically done; you can select entities, drag them around, pose them, cut/copy and paste, et cetera. The animation editor needs undo/redo, frame reordering, and maybe variable delays.

I'm loading most of the code from the npm module, but I've kept the Entity and Terrain classes in here (commenting them out entirely), because I think they should eventually be decoupled from Skele2D. I believe an entity system is very "personal", something you want to use specific to your game, and also not something you should have to need at all. You should be able to start off without a base Entity class, to start small โ€” if possible.

I'm still working out the boundary between Skele2D and the game. Right now, the World class isn't included in the engine, even though it's still essentially integral to the framework. I didn't really plan for separating the engine from the game, so it might be a challenge. One strategy might be to make Skele2D as much as possible be just an editor. I think the main value add is the editor, with its complex logic and simple UI. It still will take a lot to figure out (or simplify) the boundary; the editor does some rendering and needs to know and manipulate the viewport, and it needs to integrate with serialization in order to do undo/redo, and saving/loading. The editor also needs to know how to render previews of entities for the entities bar...

To be clear, the parts are all working together right now, it's just the boundary that's not clear.

Development Setup

  • Install Node.js if you don't have it.
  • Install Git if you don't have it.
  • Clone the repository
  • Open a command prompt / terminal in the project directory, and run npm install
  • Then run npm start and wait for it to say Project is running at http://localhost:8080/
  • Open http://localhost:8080 in your browser. It will automatically reload when you make changes. (Note: undo history in the editor will be lost when it reloads.)

When pulling new changes from Git, run npm install again in case there are new or updated dependencies. (You don't need to if package-lock.json hasn't changed.)

Deployment

npm run deploy will build the project and deploy it to GitHub Pages. It will check first that skele2d isn't npm-linked, and that the working directory is clean, with a predeploy script.

tiamblia-game's People

Contributors

1j01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tiamblia-game's Issues

gameplay question: how to shoot?

thanks for the cool game, it reminds me soldat. i tried the game and it works on my browser but i can't find key to fire arrows, is that implemented?

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.