GithubHelp home page GithubHelp logo

devmoi / rogueio Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 1.0 800 KB

A Roguelike/Roguelite Game Library in JavaScript

License: MIT License

Dockerfile 0.04% HTML 0.17% JavaScript 99.79%
game-engine javascript open-source roguelike roguelite

rogueio's Introduction

DEVMOI

Built With โค

Introduction

The Official Repo for the Devmoi Web3 CMS and Community.

Whats Inside

  • Docker
  • NextJS/ReactJS
  • MongoDB
  • Ganache-cli
  • Nginx -Rimble UX/UI

Getting Started

First, run the development server:

docker-compose -f docker-compose-dev.yml up
# or
docker-compose -f docker-compose-dev.yml up --build

Open http://localhost:3001 with your browser to see the result.

Documentation

Dev Tools

Web3

Frontend

Database

rogueio's People

Contributors

moikapy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

tearitco

rogueio's Issues

FIX: Images not drawing to canvas

App.js

  draw() {
    this.ctx = this.canvas.getCtx();
    this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
    this.drawSprite(0, this.x, this.y);
  },
  drawSprite(sprites, x, y) {
    this.spriteSheet = new Image();
    this.spriteSheet.src = "moiboi.png";
    this.ctx = this.canvas.getCtx();
    
    this.ctx.drawImage(
      this.spriteSheet,
      sprites * 16,
      0,
      16,
      16,
      this.x * this.tilesize,
      this.y * this.tilesize,
      this.tilesize,
      this.tilesize
    );

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.