This file contains 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
class TestCollider : Component, IUpdatable | |
{ | |
public override void onAddedToEntity() | |
{ | |
entity.addCollider<BoxCollider>(new BoxCollider(100,100)); | |
} | |
public void update() | |
{ | |
var bottomLeft = new Vector2(entity.colliders.First().bounds.left, entity.colliders.First().bounds.bottom);; |
This file contains 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
class TestCollider : Component, IUpdatable | |
{ | |
public float Distance; | |
public override void onAddedToEntity() | |
{ | |
entity.addCollider<BoxCollider>(new BoxCollider(100,100)); | |
} | |
public void update() |
This file contains 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 Microsoft.Xna.Framework; | |
using Nez; | |
using Nez.Sprites; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Vapor.Code.Utility; |
This file contains 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 Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Content; | |
using Microsoft.Xna.Framework.Graphics; | |
using Nez; | |
using Nez.Sprites; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Nez; | |
using Microsoft.Xna.Framework; | |
using Nez.Sprites; | |
using Microsoft.Xna.Framework.Graphics; | |
using Nez.Tiled; |
This file contains 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 Microsoft.Xna.Framework; | |
using Nez; | |
using Nez.UI; | |
namespace Vapor.Code.Utility.UI | |
{ | |
/// <summary> | |
/// Set up a general purpose canvas and table to draw stuff with | |
/// </summary> | |
class BaseUI : Component |
This file contains 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
<script>alert()</script> |
This file contains 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
// first, we get a list of all posts | |
BasePost[] inbox = Client.GetSubmissionPostsAsync(TUMBLR_BLOG_NAME); | |
// loop through our inbox | |
foreach (var message in inbox) | |
{ | |
// cast our generic BasePost to an AnswerPost to expose relevant information | |
AnswerPost ask = (AnswerPost)message; | |
// edit our post and publish |
This file contains 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
/** @type {Array} */ | |
var _0x4e04 = ["size", "children", "body *", "random", "floor", "undefined", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "translateX", "translateY", "scaleX", "scaleY", "perspective", "length", "%", "deg", "(", ")", "css", "slow", "remove", "fadeOut", "pointer-events", "none", "#glitch", '<div id="transmission">...<br/><span class="content"></span><span class="cursor">\u258c</span></div>', "html", "body", "color", "#FFFFFF", "transition", "all .3s linear", "*", "rgba(0, 0, 0, .6)", "10px auto 0", | |
"left", "61ch", "break-word", "100%", "50px", "monospace", "1.2rem", "#a939ff", "#transmission", "ICAgICAgICAgICAgICAgICAgICAgICAgICA6UEKPQms6CiAgICAgICAgICAgICAgICAgICAgICAsakKIQEJAQkBCQEJCTC4KICAgICAgICAgICAgICAgICAgIDdHlkKTQpVCTU1NTU1CQEJAQkBOcgogICAgICAgICAgICAgICA6a0KSQpCIl01NT01PTU9NT01NTU2MQphCQEIxLAogICAgICAgICAgIDo1kUKNQphCiEJCTU1PTU9NT01PTU9NT01NipJuQm5CQEJCdS4KICAgICAgICA3MG6GlUKIQpJClEJYQkJPTU9NT01PTU9NT01NQk1QQphCiEJAQkBCQE5yCiAgICAgIEeYlpdCSiBpQohCh4ggIE9CTU9NT01PTU9NT01PTZY |
This file contains 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 DontPanic.TumblrSharp; | |
using DontPanic.TumblrSharp.Client; | |
using System; | |
namespace TumblrBotTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
OlderNewer