add picotron cartridge

This commit is contained in:
Fabien Freling 2024-09-20 13:59:02 +02:00
parent 8569d9f55a
commit 4a2a2c17e7
2 changed files with 73 additions and 0 deletions

2
justfile Normal file
View file

@ -0,0 +1,2 @@
picotron:
picotron&

71
picotron/wolfenstein.p64 Normal file
View file

@ -0,0 +1,71 @@
picotron cartridge // www.picotron.net
version 2
:: gfx/
:: gfx/0.gfx
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQyIixtb2RpZmllZD0iMjAyNC0w
OC0xMiAxMjowNDoxMCIscmV2aXNpb249NDhdXWx6NACnAAAALDEAAPMUe1swXT17Ym1wPXB4dQBD
IBAQBPDwLGZsYWdzPTAscGFuX3gIAMp5PTAsem9vbT04fSwxAB-2MQAdH-cxAB0v-xkyAB4fEDIA
HdbwFGiAeHAYMChgGEAYBACRMBhwaIBYkBjQAgAv8ApWAB0f8DEA------------------------
---------------------------------------hUG09OH19
:: gfx/.info.pod
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIixtb2RpZmllZD0iMjAyNC0w
OS0yMCAxMTo1ODozMiIsc3RvcmVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIl1d
:: map/
:: map/0.map
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQyIixtb2RpZmllZD0iMjAyNC0w
OC0xMiAxMjowNDoxMCIscmV2aXNpb249NTFdXWx6NAC2AAAAXBAAAPAIe3tibXA9dXNlcmRhdGEo
ImkxNiIsMzIDAJ8iMDAwMTAwMDIIAA4PAQBHD1wAES8xMAEARw9cAA4PAAFULzMwAAF3EzQEAA8A
AVkOgAAPAAFnDAEADwABXQwBAA8AAVEvNTAAAecfMggADg8BAP-------------O8QkiKSxoaWRk
ZW49ZmFsc2UscGFuX3g9MjAJAOJ5PS04LHRpbGVfaD0xNgoAEHcKAKB6b29tPTAuNX19
:: map/.info.pod
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIixtb2RpZmllZD0iMjAyNC0w
OS0yMCAxMTo1ODozMiIsc3RvcmVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIl1d
:: sfx/
:: sfx/0.sfx
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQyIixtb2RpZmllZD0iMjAyNC0w
OC0xMiAxMjowNDoxMCIscmV2aXNpb249MzZdXWx6NAARAQAAUggAAPAncHh1AAMoAAAEAAQPQBAC
DgABoAEgAqAOAA8QAA3wygECAwQFBgcAD-_QCAkKCw8MDw0PDg8PEADwAA0PEQ8SDxMPFA8VDxYP
FxMA8QEPGA8ZDxoPGw8cDx0PHg8fFADxACAPIQ8iDyMPJA8lDyYPJxQA8QAoDykPKg8rDywPLQ8u
Dy8UAPEAMA8xDzIPMw80DzUPNg83FAD-BTgPOQ86DzsPPA89Dz4PPwAP--D-AQDr-ydaARAGDyAQ
ASABIAHwAAIQAgwQASAPISABMA9A8MMPKA--8MYP_AoP-w_AD-cPDQHwCQEQBgwwAP85H-8BANy-
_A9AAA1A--_w8HAKAP--ZB--AQD-mVD-----IA==
:: sfx/.info.pod
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIixtb2RpZmllZD0iMjAyNC0w
OS0yMCAxMTo1ODozMiIsc3RvcmVkPSIyMDI0LTAzLTIwIDExOjU3OjQxIl1d
:: main.lua
--[[pod_format="raw",created="2024-03-20 11:57:42",modified="2024-08-12 12:04:10",revision=56]]
player = {
x = nil,
y = nil
}
col_bg = 1
col_ground = 6
function _init()
for i=0,31 do
for j=0,31 do
if mget(i,j) == 5 then -- player id
player.x = i
player.y = j
break
end
end
if (player.x) break
end
end
function _draw()
cls(col_bg)
rectfill(0, 135, 480, 270, col_ground)
-- map()
end
:: .info.pod
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTA4LTEyIDExOjQ2OjM4Iixtb2RpZmllZD0iMjAyNC0w
OS0yMCAxMTo1ODozMiIscnVudGltZT04LHN0b3JlZD0iMjAyNC0wMy0yNSAxMjo1Nzo0MCIsd29y
a3NwYWNlcz17e2xvY2F0aW9uPSJtYWluLmx1YSMyNSIsd29ya3NwYWNlX2luZGV4PTF9LHtsb2Nh
dGlvbj0iZ2Z4LzAuZ2Z4Iix3b3Jrc3BhY2VfaW5kZXg9Mn0se2xvY2F0aW9uPSJtYXAvMC5tYXAi
LHdvcmtzcGFjZV9pbmRleD0zfSx7bG9jYXRpb249InNmeC8wLnNmeCIsd29ya3NwYWNlX2luZGV4
PTR9fV1d
:: [eoc]