Skip to content

Instantly share code, notes, and snippets.

View danprince's full-sized avatar

Dan Prince danprince

View GitHub Profile
@danprince
danprince / helpscout-custom.css
Last active January 3, 2018 18:34 — forked from jeffmohr/helpscout-custom.css
Compass Help CSS
body, input, button {
color: #0a0a29;
font-family: 'Avenir Next','Lato','Helvetica Neue',Helvetica,Arial,sans-serif;
}
.navbar .navbar-inner {
background: white;
color: #0a0a29;
font-weight: 500;
padding: 8px;
//spr_EnemyDead is a speparate sprite that contains the image of the enemy rotated slightly.
//Trying to get enemy once hit, to switch to spr_EnemyDead and then fall off screen, at the moment, as soon
//as player bounces off head he switches back to alive sprite.
//Enemy Movement
hsp = dir * movespeed;
vsp += grav;
sprite_index = spr_enemy
//Horizontal Collision