Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - htmlgames

Pages: 1
Thumby / Re: Doom
« on: February 04, 2024, 03:38:28 PM »
Cool and thanks for update henryg.

Also, would it be possible to have a v1.1 for the uf2 single install please?

Thumby / Re: Doom
« on: February 04, 2024, 02:22:31 PM »
Hi  AncientJames,
  Thanks for supplying the updates, I think your close to solving this now. BTW I'm currently working on a project so cannot test the above latest files just yet....

I've noticed on the newer thumby grayscale py needs a fix in general - even those from thumby arcade.

 I'm not sure your project uses the grayscale py files that the thumby arcade uses, but I will mention the fix to that file with the changes for more recent thumby (and what I believe the person above may have as both having similar issues).

 It looks like during screen init you need to have a small delay for it to work. I did this 'hack' by using playBlocking cmd for this.
Grayscale arcade games now run 100% from the arcade once I modify that file.
(Search for pf in the attached file if you're interested)

edit'; here's the tumbyGS.cfg file contents from mine.

Code: [Select]
import thumby

thumby.display.setFPS(2) # frames per second
brightness = 127
colour = 0 # black
torch = 1 # white 'ON'
blink = 0

while(not(thumby.buttonA.pressed() and thumby.buttonB.pressed())):
    if thumby.buttonA.justPressed():
        torch = 1
    if thumby.buttonB.justPressed():
        torch = 0
    if thumby.buttonL.pressed():
        blink = 0
        torch = 1
    if thumby.buttonR.pressed():
        blink = 1
        torch = torch
    if blink == 1:
        torch = not(torch)
    thumby.display.fill(torch) # fill screen with pixels
    if torch > 0:
        if thumby.buttonU.pressed():
            #colour = 1
            if brightness <= 120:
                brightness += 7

                thumby.display.drawText("increasing", 6, 4, colour)
                thumby.display.drawText("%d" % brightness, 6, 20, colour)
       * 7,42)
        if thumby.buttonD.pressed():
            #colour = 0
            if brightness > 8:
                brightness -= 7

                thumby.display.drawText("decreasing", 6, 4, colour)
                thumby.display.drawText("%d" % brightness, 6, 20, colour)
       * 7,42)

Hi just wondered if ok as created my first (small) program for thumby today?

Edit: seen codei in other threads so guess ok.

below is a fun torch project.

Thumby / Re: Doom
« on: January 29, 2024, 03:50:52 PM »
Possibly the uf2 file download from git is the wrong size 4029 v 4096 not sure if uf2 file format needs to be byte aligned?

Edit: using win11


UF2 Bootloader v3.0
Model: Raspberry Pi RP2
Board-ID: RPI-RP2

Edit2: tried also in Linux bash term - same as win11.

I'm allowing a minute or two for the boot loader to flash, for the stock firmware that's working fine.

final mention that the thumby web ui shows 1.4mb as total memory available, thought we got 2mb ?

Thumby / Re: Doom
« on: January 29, 2024, 09:41:34 AM »
This project is amazing fitting this into such a small memory for what doom wads need (I read the breakdown too).
So basically, I remove all files in the folder and replace with your single file and 'reboot' to run ?

Edit: fyi I get the black screen of doom too.

fireplace demo works ok ,will have to try 'old' way

...Excited to see what it can do.

Edit: Got it today, this thing is great.... cannot wait to make some games for it too.

Pages: 1
SMF spam blocked by CleanTalk