TIC-80
middleclass
TIC-80 | middleclass | |
---|---|---|
134 | 9 | |
4,759 | 1,685 | |
- | - | |
9.2 | 0.0 | |
5 days ago | about 1 year ago | |
C | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TIC-80
- Picotron Is a Fantasy Workstation
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
Or the more free TIC-80. I have paid for both, but never used either enough to be able to say one or the other has any significant advantages.
https://tic80.com/
- Not only Unity...
-
PicoCalc
I wish the community moved to an open source option like TIC-80[0].
0. https://tic80.com/
- Publishing my first game using pico-8
-
LÖVE: a framework to make 2D games in Lua
Main differences are: 16:9 aspect ratio, no cpu limits and many languages to tinker with: lua, js, squirrel, wren, janet, wasm, ... and just recently - a Python support was added.
https://tic80.com
-
Procedural Tree Generator - Free Pixel Art Tool
Included native builds for windows, mac, linux, html, and also TIC-80's .PNG, .TIC and .LUA formats. Try out the web version here - https://tic80.com/play?cart=3424 See the TIC-80 wiki for instructions on exporting https://github.com/nesbox/TIC-80/wiki
-
Procedural Tree Generator
https://github.com/nesbox/TIC-80/ - TIC-80 website (for running .lua .png or .tic files) as well as TIC-80 documentation.
-
Hey, I need advice!😶
Try https://tic80.com/ instead of PICO-8, it's a free open-source alternative and still fun.
-
Anybody working on games here?
Tho personally I've come to prefer making my games in https://love2d.org and https://tic80.com
middleclass
-
Is there a way to create namespaces/hierarchy in the documentation with LDoc?
I am trying to document my code and I am using LDoc for that and for OOP I am using the library middleclass. All of my classes are in a main framework folder and inside that I have each namespace as a folder and then classes that are specific to that namespace in those folders.
-
Lua: The Little Language That Could
The ConTeXt typesetting system tightly integrates Lua. One aspect of Lua that I dislike is its inability to easily write OOP-ish code. What's impressive about the language is that it can be extended to do so in astonishingly little code:
* https://github.com/kikito/middleclass
With OOP in place, I was able to typeset a hexagonal grid and a symbolic representation of a neural network on top, using a more OOP-like approach. The classes are straightforward.
A vertex defines a point in 2D space:
* https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...
An edge connects two vertices:
* https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...
A graph connects edges:
* https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...
A priority queue serves for ordering graph edges by weight of adjoining vertices:
* https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...
With these concepts in hand, we can typeset a grid and a "neural network" on top:
* https://github.com/DaveJarvis/keenwrite-themes/blob/main/bos...
Here's an example of the output for chapter 1:
* https://i.ibb.co/19DCDZy/ch-1.png
And chapter 14, where the "network" has grown in complexity:
* https://i.ibb.co/ncf16vg/ch-2.png
This is for my near future hard sci-fi book on AGI. I'm looking for alpha readers to give me feedback. See profile for contact details.
- Doing what you love when the money won’t follow
-
To all plugin authors: standard class realization
To reduce the amount of boilerplate code, I created the fork of middleclass repo suitable for Neovim plugin managers: it just adds a symlink to middleclass.lua file in lua/ directory. middleclass is well known and tested, so I suggest using it as a standard class realization. I also open a pull request to merge it upstream.
-
Is doing OOP in lua considered bad practice?
Not exactly what op asked, but if you want classes in Lua definitely check out https://github.com/kikito/middleclass
- Alternative to Love2d
-
OOP in Love2d
Like /u/TheMightyHUG pointed out below, there are patterns you can use to do OOP without any extra help. In the past I have used some libraries to improve the ease of doing so, specifically middleclass: https://github.com/kikito/middleclass
-
A complete implementation of the Set data structure in Lua
Same, but when I do I like when authors include everything in one file so it's easy to manage. Here we have the library, some small 10 line file with helper functions that's required and we also need to remember about the licence. Take middleclass as an example, one file, license included, ready to plug and develop.
What are some alternatives?
awesome-PICO-8 - A curated list of awesome PICO-8 resources, carts, tools and more
awesome-lua - A curated list of quality Lua packages and resources.
love - LÖVE is an awesome 2D game framework for Lua.
pyxel - A retro game engine for Python
classic - Tiny class module for Lua
PixelVision8 - Pixel Vision 8's core philosophy is to teach retro game development with streamlined workflows. PV8 is also a platform that standardizes 8-bit fantasy console limitations built on top of the open-source C# game engine based on MonoGame.
moonscript - :crescent_moon: A language that compiles to Lua
LIKO-12 - LIKO-12 is an open source fantasy computer made using LÖVE.
CC-Tweaked - Just another ComputerCraft fork
ruffle - A Flash Player emulator written in Rust
set-lua - `set-lua` is a complete implementation of the Set data structure in Lua