Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Boardgame.io | 9,659 | 32 | 24 | a month ago | 203 | November 10, 2022 | 94 | mit | TypeScript | |
State Management and Multiplayer Networking for Turn-Based Games | ||||||||||
Awesome Developer Streams | 7,432 | 12 days ago | 7 | cc0-1.0 | ||||||
👩🏿💻👨🏾💻👩🏼💻👨🏽💻👩🏻💻 Awesome Developers, Streaming | ||||||||||
Panel | 5,304 | 2 days ago | 92 | November 04, 2021 | 348 | other | PHP | |||
Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users. | ||||||||||
React Game Kit | 4,539 | 49 | 8 | 9 months ago | 9 | December 19, 2017 | 30 | mit | JavaScript | |
Component library for making games with React & React Native | ||||||||||
React Native Game Engine | 2,202 | 2 years ago | 12 | mit | JavaScript | |||||
A lightweight Game Engine for React Native 🕹⚡🎮 | ||||||||||
Webgal | 2,057 | a day ago | 23 | mpl-2.0 | TypeScript | |||||
A brand new web Visual Novel engine | 全新的网页端视觉小说引擎 | ||||||||||
Biomes Game | 1,984 | 23 days ago | 16 | mit | TypeScript | |||||
Biomes is an open source sandbox MMORPG built for the web using web technologies such as Next.js, Typescript, React and WebAssembly. | ||||||||||
Projectlearn Project Based Learning | 1,895 | 2 months ago | 5 | mit | JavaScript | |||||
A curated list of project tutorials for project-based learning. | ||||||||||
Battle City | 1,562 | 2 years ago | 10 | mit | TypeScript | |||||
🎮 Battle city remake built with react. | ||||||||||
Pixel8 | 1,464 | 2 | a year ago | 26 | May 03, 2019 | 21 | JavaScript | |||
A collection of low-res primitives for creating art and games in React |
A collection of low-res primitives for creating art and games with React
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.
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.
Under the hood, Pixel8 avoids Canvas's stateful/mutable API and relies primarily on ArrayBuffer
s 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
.
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.
yarn add pixel8
# or npm i -s pixel8
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'))
Feel free to create an issue, jump into the Discord, or shoot me a message on twitter