Log In  
Follow
freds72

Old enough to have known the golden age of Amstrad and Amiga ;)
Still own a few Tilt and Joystick magazine (yeah, I am french).
Professional software architect, hobbyist gamedev.

Game & experiments repo: https://github.com/freds72

Twitter account: https://twitter.com/FSouchu


any unfinished ? command outputs garbage errors:

?5+
?5>>
?5>>>>>>
4
0 comments



tline3d misses sub-pixel precision and generate incorrect samples at borders.

note: tline3d adheres to the (correct) rule of filling [x0//1;x1//1[

how to reproduce:

  • run attached cart
  • left: per pixel
  • right: tline3d
  • notice border artifacts & texture wobbling

Cart #satanebika-2 | 2024-04-11 | Embed ▽ | License: CC4-BY-NC-SA
7

7
4 comments



version: 0.1e
Os: Windows 10

How to reproduce:

  • run following code
a=vec(1,2,3)
b=vec(1,2,3)
print(0.5*(a+b))
  • picotron crashes to deskop with:

Exception thrown at 0x004A231E in picotron.exe: 0xC0000005: Access violation reading location 0x00000000.

Workaround #1:

a=vec(1,2,3)
b=vec(1,2,3)
print((a+b):mul(0.5))

Workaround #2:

a=vec(1,2,3)
b=vec(1,2,3)
print((a+b) * 0.5)
1
0 comments



Version: 0.1e
Host: Windows 10

How to reproduce:

  • in the terminal type:
memmap(0x8000)
  • Picotron crashes

related: how to un-memmap???

2
4 comments



How to reproduce:

  • use tline3d with "w" parameters
  • draw a tline where the starting point crosses the screen border
  • notice that result gets skewed

demo cart:

  • arrows to move square
  • see what happens when moving left :)

unrelated: tline3d doc needs some carriage returns!

Cart #wowogomewe-0 | 2024-03-24 | Embed ▽ | No License
3

3
1 comment



how to reproduce:

  • create a lua file in a long path
    say:
    /apps/mygame/program.p64/library/maths/matrix/code.lua
  • see how syntax errors message get truncated:
0 comments



how to reproduce:

  • select "dizzy.p64" as screensaver
  • let it run for some minutes
  • rotation/effect speed increases over time
0 comments



Rationale:

  • sfx buttons would make more sense with a hidden mouse
  • a couple of projects of mine :)
11
6 comments



Symptoms:

  • platform: Windows / Mac?
  • printh from a program yields nothing in the program output window

How to reproduce:

  • copy following code in main.lua
printh("bob")

precision: confirmed to work on Linux, text is directed to the console that launched picotron

6 comments



Symptom:

  • a program that loops (intentionnaly or not!) will not produce any print before _update or program exits.

How to reproduce:

  • paste following code in main.lua
for i=1,10 do
 print(string.format("hi world %ith",i))
end

while true do
end
1 comment



Cart #freds72_daggers_title-9 | 2024-06-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
53

Note: game must be played from splore - this page doesn't support mouse lock
Note: global leaderboard not yet available

Take the cursed dagger, use its power to dispatch the horrors from this hellish place, score the best time!

Note: this is not an official Devils Daggers port for PICO8 but a fan game using Sorath's game universe.

How to play

  • Default controls: ESDF + mouse
  • Fire: left mouse button
  • Jump: space

Local stats icons:

  • number of jewels collected
  • number of daggers fired
  • hit ratio

[ Continue Reading.. ]

53
15 comments



How to reproduce:

  • save a zero length pico8 file
cstore(0,0,0,"blah.p8")
  • reload() file from another cart
reload(0x0,0x0,0x4300,"blah.p8")

surprise! 0x0 -- 0x42ff was been wiped out clean even if "blah.p8" doesn't contain any data :/

2 comments



Symptoms: the mouse drifts right on Firefox (only)

How to reproduce:

  • export demo cart as an html page
  • publish page on itch.io (or equivalent)
  • run game on Firefox (MacOS or Windows - Linux is fine)
  • notice mouse x-drifting

Note: does not occur when game is run locally
Note: does not occur when game is run fullscreen using the Pico8 button
Wild guess: suspect a Firefox bug regarding mouse coordinates and iframes?

Test cart:

Code:

function _init()
 poke(0x5f2d,0x5)
end

_x,_y=0,0
function _update()
 _x=mid(_x+stat(38),0,127)
 _y=mid(_y+stat(39),0,127)
end

function _draw()
 cls()
 print(_x.."/".._y,2,2,7)

 circfill(_x,_y,4,8)
end
2
7 comments



How to reproduce

  • execute code:
print("a")
(nil or print)("b")
  • outputs:
A
runtime error line 1 tab 0
print("a")
attempt to call a number value
at line 1 (tab 0)

note that print("a") is correctly executed regardless of the error being reported on that line!

Workaround

print("a")
local fn=nil or print
fn("b")
3
5 comments



Expected:

-- save to p8.rom format
cstore(0,0,0x4300,"test.p8.rom")

Outcome (bug): test.p8.rom is actually a png file!!

0 comments



The _env (lower case) keyword is no longer supported:

example cart: https://www.lexaloffle.com/bbs/?tid=48907

likely a general bugs on upper/lower case remapping.

2
1 comment



Marking as resolved - this is a "feature" of printh to stop at \0.
Solution to export p8scii to clipboard is given here: https://www.lexaloffle.com/bbs/?tid=38692

Repro cart:

Cart #haguramako-0 | 2022-08-20 | Code ▽ | Embed ▽ | No License
1

Outcome:

  • p8scii correctly copies bytes on screen
  • bug: clipboard gets only a truncated command (should be 612 chars)

Note: works as expected if background is not 0

1
0 comments



The new poke to set map start cannot be applied to 0x20.
eg:

— does nothing :[
poke(0x5f56, 0x24)

for small maps, the 0x2000 ‘hardware’ map area cannot be reached in full:

— hw map
poke(0x5f56, 0x20)
— say tiles are starting after a large 32x32 map
— set width
poke(0x5f57, 2)
— yikes, cannot set y offset (>256)
poke(0x5f3b, 32*32\2)
3
0 comments



Holiday season, stuck at home waiting to open presents?
Despair snow more, a play of totally accurate bowling will enjoy the day!

Cart #freds72_bowling-5 | 2021-12-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
41

Devlog

Codebase expands from Ghost Rally, no longer limited to a single dynamic/static response.
Collision hulls are limited to solid rectangles to benefit from simplified overlapping tests and clipping maths.
The whole engine could be plugged into any 3d engine if you don't mind the staggering token cost :/

Sources are available at: https://github.com/freds72/chamboultout

The game went through multiple iterations (initial idea was a "chamboultout"), including odd things like:

[ Continue Reading.. ]

41
3 comments



Cart #poom_0-9 | 2022-01-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
419

BBS Edition to celebrate year 1 of POOM release!
(limited to 1 level - sorry!)

Enjoy full game at: https://freds72.itch.io/poom

Controls

Alternate scheme (select from controls menu):

Devlog

Game is "multi-cart", using 0x8000 region filled with raw data from 2 carts (poom_0+poom_1).

Engine details: https://freds72.itch.io/poom/devlog/241700/journey-to-poom

Credits

Art+Design+Music: @paranoidcactus
Code: @freds72

Changes

  • added: Jelpi Spotter credit :)
419
45 comments





Top    Load More Posts ->