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
To to copy files (.prg / .seq) to a disk on OS-X / Linux. | |
## Write files to existing disk | |
Open the tool c1541 from VICE (located in VICEFOLDER/bin/). | |
Manual: | |
http://www.cs.cmu.edu/~dsladic/vice/doc/html/vice_10.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
class Class1 { | |
Class1() { | |
} | |
void update() { | |
} | |
void show() { | |
} | |
} |
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
10 rem created with petmate. artwork the dream by nodepond for xparty 2018 | |
20 poke 53280,0 | |
30 poke 53281,0 | |
100 for i = 1024 to 1024 + 999 | |
110 read a: poke i,a: next i | |
120 for i = 55296 to 55296 + 999 | |
130 read a: poke i,a: next i | |
140 goto 140 | |
200 data 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160 | |
201 data 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160 |
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
# Usage: | |
# Run this script in the same folder, where you have exported the ’tilemap.json’ from Pyxel | |
# The tilemap is named ‘Layer 0′ | |
# The collisionmap is named ‘Layer Collide’ | |
# It generates lua-code ready to c&p paste. There is an more accurate usage example in the ruby-file itself. | |
# http://www.nodepond.com/blog/779-pyxel-tilemap-to-fuccboigdx-parser-in-ruby | |
require 'json' |
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 'json' | |
tilemap_raw = File.read('tilemap.json') | |
tjson = JSON.parse tilemap_raw | |
@tileshigh = tjson["tileshigh"].to_i | |
@tileswide = tjson["tileswide"].to_i | |
@tilewidth = tjson["tilewidth"].to_i | |
@tileheight = tjson["tileheight"].to_i |