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
// Based on the work of @alannakelly_ie, @MonstersGo and myself | |
// Kernal CLS Routine | |
.label INIT_SCREEN = $e544 | |
// Variables | |
.label player_x = $d000 | |
.label player_y = $d001 | |
.label player_c = $d027 |
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
// Kernal CLS Routine | |
.label INIT_SCREEN = $e544 | |
// Variables | |
.label player_x = $d000 | |
.label player_y = $d001 | |
.label player_c = $d027 |
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
// Player 79 | |
// | |
// Commodore 64 Moveable Sprite in 84b | |
// | |
// Joystick in Port 2 to move sprite. | |
// Purely for fun to see how few bytes it | |
// can be done in. Public Domain, do what | |
// you want with the code but credit is | |
// always appreciated. | |
// |
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
BasicUpstart2(start) | |
.macro waste_cycles(n) { | |
.var nops = floor(n/2) | |
.var rem = n&1 | |
.var c = n | |
.if (rem == 0) { | |
.for (var i = 0; i < nops; i++) { | |
nop |
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
html { | |
box-sizing: border-box; | |
} | |
*, | |
*:before, | |
*:after { | |
margin: 0; | |
padding: 0; | |
box-sizing: inherit; | |
} |
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
<LigatureSet glyph="D"> | |
<Ligature components="R,M" glyph="uniE602"/> | |
<Ligature components="N,A" glyph="uniE602"/> | |
</LigatureSet> | |
<LigatureSet glyph="M"> | |
<Ligature components="V,P" glyph="uniE602"/> |
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
#!/usr/bin/python | |
words = ['SEM', | |
'MVP', | |
'pop', | |
'DRM', | |
'ROI', | |
'DNA', | |
'SEO', | |
'flat', |
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
<!doctype html> | |
<html> | |
<head> | |
<style> | |
.bear { | |
width: 100px; | |
height: 62.905px; | |
/* X should be width * number of color variations */ | |
background-size: 500px 62.905px; | |
background-repeat: no-repeat; |