Skip to content

Instantly share code, notes, and snippets.

View Xibanya's full-sized avatar

Manuela Malasaña Xibanya

View GitHub Profile
@Xibanya
Xibanya / ColorFade.cs
Created August 8, 2016 16:48
passes info into a pixel shader
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace Everest
@Xibanya
Xibanya / OverworldManager.cs
Created August 8, 2016 16:44
extremely terrible code from halfway through the 2016 big awful jam
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using System.Collections.Generic;
using Main;
namespace Overworld
{
public class OverworldManager : MonoBehaviour
{
@Xibanya
Xibanya / characters.html
Created August 29, 2015 01:27
Simple uncluttered javascript example with mouseover, mouseout, and keyup events, eventlistener, and swapping css classes.
<html>
<head>
<title>Select a Character</title>
<script type="text/javascript" src="hover.js"></script>
<style>
*, *:before, *:after{
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
@Xibanya
Xibanya / index.html
Last active August 29, 2015 14:27
html for Space Merchant game
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<title>testing</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
@Xibanya
Xibanya / style.css
Created August 13, 2015 16:30
styling for Space Merchant game
/*!
* Bootstrap v3.3.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
window.addEventListener('load', function(e) {
document.querySelector('#test').innerHTML = 'Return to Space Merchant';
}, false);
var startButton = document.getElementById('clickyButton');
startButton.addEventListener('click', setup, false);
var resultWindow = document.getElementById('theWell');
var mainWindow = document.getElementById('main');