All Projects â†’ vsmode â†’ Pixel8

vsmode / Pixel8

A collection of low-res primitives for creating art and games in React

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Pixel8

Rx
👾 Modern and minimalist pixel editor
Stars: ✭ 2,063 (+97.04%)
Mutual labels:  gamedev, pixel-art
Gizmo
2D Pixel Destruction Game written in Go.
Stars: ✭ 114 (-89.11%)
Mutual labels:  gamedev, pixel-art
Deadsimple Pixel Perfect Camera
An exceedingly easy-to-use pixel perfect orthographic camera script for 2D scenes in Unity. Punch in a few specs and you've got a working pixel perfect camera. It's that easy.
Stars: ✭ 186 (-82.23%)
Mutual labels:  gamedev, pixel-art
Pixelorama
A free & open-source 2D sprite editor, made with the Godot Engine! Available on Windows, Linux, macOS and the Web!
Stars: ✭ 2,535 (+142.12%)
Mutual labels:  gamedev, pixel-art
Unity2d Components
A constantly evolving array of Unity C# components for 2D games, including classes for pixel art cameras, events & messaging, saving & loading game data, collision handlers, object pools, and more.
Stars: ✭ 375 (-64.18%)
Mutual labels:  gamedev, pixel-art
Monogame
One framework for creating powerful cross-platform games.
Stars: ✭ 8,014 (+665.43%)
Mutual labels:  gamedev
Phaser Node Kit
Rapid Game Development with PhaserJS and Node for Modern Browsers
Stars: ✭ 39 (-96.28%)
Mutual labels:  gamedev
Mdframework
A multiplayer C# game framework for Godot 3.2 Mono.
Stars: ✭ 34 (-96.75%)
Mutual labels:  gamedev
Enkits
A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.
Stars: ✭ 962 (-8.12%)
Mutual labels:  gamedev
Ld40 Catsareassholes
A shelter simulation game made in 3 days for Ludum Dare 40. Even if the game was submitted to Jam instead of Compo, I still made everything all by myself.
Stars: ✭ 45 (-95.7%)
Mutual labels:  pixel-art
Tank island
Top down 2D shooter game that involves blowing up tanks
Stars: ✭ 42 (-95.99%)
Mutual labels:  gamedev
Evolutionary Neural Networks On Unity For Bots
Neural networks + Genetic algorithm on unity
Stars: ✭ 38 (-96.37%)
Mutual labels:  gamedev
Anette
Simple haxe network library
Stars: ✭ 35 (-96.66%)
Mutual labels:  gamedev
Xgoap
Goal oriented action planning beyond GOAP
Stars: ✭ 40 (-96.18%)
Mutual labels:  gamedev
Hinterland
2D top-down shooter game
Stars: ✭ 34 (-96.75%)
Mutual labels:  gamedev
Mun
Source code for the Mun language and runtime.
Stars: ✭ 1,016 (-2.96%)
Mutual labels:  gamedev
Katsudo
Katsudö is an animation library for LÖVE
Stars: ✭ 32 (-96.94%)
Mutual labels:  gamedev
Framework Widget
Corona widget.* framework
Stars: ✭ 37 (-96.47%)
Mutual labels:  gamedev
Simpleton Engine
What a stupid name for a library
Stars: ✭ 42 (-95.99%)
Mutual labels:  gamedev
Gpwfc
openCL-accelerated python implementation of the Wave Function Collapse procgen algorithm
Stars: ✭ 37 (-96.47%)
Mutual labels:  gamedev

Pixel8

A collection of low-res primitives for creating art and games with React

NPM Version NPM Downloads Discord

Why?

Pixel8 is my attempt to create a way for developers – beginners and experts alike – to create pixel art and games with a level of simplicity and freedom that I have yet to discover in any alternative. This library does not aim to be a a full game framework or fantasy console, but it can definitely be used as a building block for such apps.

Goals

Easy-to-use

HTML and Javascript are both incredibly popular languages, and if you know either (or both), React will make you feel at home. Pixel8 has been thoughtfully integrated with its own custom renderer. Because of this, primitives such as <rect> and <circ> are built-in and don't need to be imported. Furthermore, JSX makes it easy to describe relatively positioned elements, compose animations, and more. Not to mention, you can still use all of the tools and libraries you do in all your other projects, such as Redux, GraphQL, and Webpack.

Performant

Under the hood, Pixel8 avoids Canvas's stateful/mutable API and relies primarily on ArrayBuffers to render bytes representing pixels directly to a <canvas> 2dContext. This low-level architecture gives Pixel8 a proper "8-bit" aesthetic, solid performance, and lets future development easily take advantage of new and experimental browser APIs such as OffscreenCanvas, SharedArrayBuffer, and WebAssembly.

Customizable

As much as possible, Pixel8 doesn't make any assumptions about what you're going for. There are no limitations on color palettes, resolutions, memory/cpu usage, etc. You can make your canvas look like it was created on a ZX Spectrum or a Game Boy. It's entirely up to you. And it's up to the community to develop an ecosystem of tools and libraries that can enforce tasteful constraints for those who wish to opt-in to them.

Installation

yarn add pixel8
# or npm i -s pixel8

Getting Started

Definitely check out the interactive documentation at https://pixel8.vsmode.org/. But if you're looking for a quick start, you probably want to do something like this:

import React from 'react'
import { render } from 'react-dom'
import { Stage } from 'pixel8'

const App = () => (
  <Stage
    width={64}
    height={64}
    scale={8}
    fps={0}
    gridColor="#f4f4f4"
    background="#fff">
    {/*
      * Insert your code here!
      */}
  </Stage>
)

render(<App />, document.getElementById('root'))

Issues? Questions? Contributions?

Feel free to create an issue, jump into the Discord, or shoot me a message on twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].