This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| public class MChain { | |
| public class Node { | |
| public string content; | |
| public List<Node> followers; // just duplicate for each follower, make the random pick easier | |
| public Node(string c){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class GenerateVoxelLevel : MonoBehaviour { | |
| // not going to do octtrees, just totally straight forward arrays so I can get this done in 25 mins | |
| bool[,,] worldMap; | |
| bool[,,] filled; | |
| int[] digPosition; | |
| int worldSize = 40; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Libgdiplus < Formula | |
| homepage 'http://www.mono-project.com/Libgdiplus' | |
| url 'https://github.com/mono/libgdiplus/archive/2.10.tar.gz' | |
| md5 'bc601912ce8154baf5aa85de51e08b77' | |
| depends_on 'gettext' | |
| depends_on 'libtiff' | |
| depends_on 'libexif' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local edges = collectEdgePositions(self.rooms.members, self.fingerBlock) | |
| -- for each edge | |
| for i,v in ipairs(edges) do | |
| self.ghostBlock:setPosition(v.p.x, v.p.y) | |
| -- check for overlaps | |
| self.commitParent = v.r | |
| local fudged = false | |
| -- search through each room | |
| self.rooms:updateSpatialHash() | |
| if not self.rooms:overlap(self.ghostBlock, function(a, b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "bhPlacement.h" | |
| float BHPlacement::cx; | |
| float BHPlacement::cy; | |
| // lua accessible functions | |
| BHPlacement::BHPlacement(lua_State *l) | |
| { | |
| } | |
| int BHPlacement::AddPiece(lua_State *l) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.IO; | |
| using System.Globalization; | |
| using ClipperLib; | |
| using TriangleNet.Geometry; | |
| using Polygon = System.Collections.Generic.List<ClipperLib.IntPoint>; | |
| using Polygons = System.Collections.Generic.List<System.Collections.Generic.List<ClipperLib.IntPoint>>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BananaData = { | |
| ['location'] = Vec2(0,0); | |
| ['id'] = 'banana'; | |
| ['art'] = { | |
| {'banana.png'} | |
| }; | |
| ['actions'] = { | |
| { | |
| ['triggers']={ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ActorData = { | |
| ['location'] = Vec2(0,0); | |
| ['id'] = 'hand'; | |
| ['art'] = { | |
| {'hand.png'} | |
| }; | |
| ['actions'] = { | |
| { | |
| ['triggers']={ | |
| {t="time", d="exactly", td=1}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x tutorial doesn't work | |
| x hide the standalone highscores on mobile | |
| x entering the game while in landscape mode doesn't select the correct screen orientation | |
| x game over screen doesn't work | |
| x highscores might not be saving (can I connect the debug console to the device on android) | |
| x might be related to above | |
| x it seems like the steam stuff is what is causing it to break. | |
| x rotating the screen clockwise into landscape mode doesn't display things correctly | |
| x everything is super fucked on device :/ | |
| x it seems like the events on screen change aren't being dispatched |