Skip to content

Instantly share code, notes, and snippets.

View sysl-dev's full-sized avatar
🏠
Working from home

C.Hall sysl-dev

🏠
Working from home
View GitHub Profile
local m = {
debug = false,
_NAME = 'SYSL Slice Nine',
_VERSION = '0.2',
_DESCRIPTION = 'A frame slicer and drawer',
_URL = 'https://github.com/SystemLogoff/SLog-Library',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2019 Chris / Systemlogoff
local eb_move_adj = 1.1
local playerFilter = function(item, other)
if other.isCoin then return 'cross'
elseif other.isWall then return 'slide'
elseif other.isExit then return 'touch'
elseif other.iswater then return 'cross'
else return 'slide'
end -- else return nil
end
local m = {
debug = false,
_NAME = 'GUI Frame',
_VERSION = '0.2',
_DESCRIPTION = 'A frame slicer and drawer, works well with slog.gui.',
_URL = 'https://github.com/SystemLogoff/SLog-Library',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2019 Chris / Systemlogoff
# Octo.h
#---------------------------------------------------------------------
:alias nul v1
:alias null v2
:alias nulll v3
:alias room v4
:alias lastroom v5
:alias items v6
:alias flags v7
:alias checkkey v8
#W (4) - Advance Text
#Q (5) - (In Cross Exam) Press
#E (6) - (In Cross Exam) Show Evidence
#A (7) - Move Left in Evidence
#D (9) - Move Right in Evidence
# 8CE Attourny
# An Octo Game
# You have 16 bytes ##################################################
#------------------------------------------------------------------------------#
# · Let's poke fun of newgrounds with chip8.
#------------------------------------------------------------------------------#
:alias game_screen vd
:alias sprx vc
:alias spry vb
:alias title_count va
:alias keypressed v9
:alias game_count v8
#------------------------------------------------------------------------------#
# · Very Simple Rock Paper Scissors Game
# · System Logoff
# · Note, sissors was a typo that stuck with me this game. :v
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# · Alias/Const Data
# · Note ve/vf are used for lazy ><= += -= stuff.
#------------------------------------------------------------------------------#
# Octo Game - I Ran Out of time edition
# Let's Jam
# Pet The Dog
# It's a cute idea stolen from undertale to
# make me feel better about not finishing
# my RPG idea.
# This code is bad and I am sorry.
@sysl-dev
sysl-dev / Chip8Story.octo
Created January 22, 2017 23:44
Octo Source Code for Chip 8
#------------------------------------------------------------------------------#
# · This is Chip8 Shovelware. I'm so sorry.
#------------------------------------------------------------------------------#
:alias game_screen vd
:alias sprx vc
:alias spry vb
:alias title_count va
:alias keypressed v9
:alias ending1 v8
--[[----------------------------------------------------------------------------
Consider using lovePixel instead of this.
Pixel Perfect is a module that does something very simple. You draw at the
base scale then use pixelperfect.screenSize to resize so the player Can
see the lovely pixels with no weird stuff.
So even if you use a shader or rotate something it stays on that pixel
grid.
This does not support full screen mode in monitors that are taller