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.

Topics - bkumanchik

Pages: 1
Thumby / Importing a sprite in the web IDE
« on: March 07, 2022, 11:00:22 AM »
With the new way of storing sprites in an bytearray           inv_1a = bytearray([13,26,14,26,13,0,0,0])          when importing them back into the editor - the left column of my sprite is blank, for any that I try to import from a bytearray.


Tiny Arcade & Pocket Arcade / Audio on Pocket Arcade
« on: November 19, 2021, 03:07:56 PM »
I'm looking for information/tutorial on how to setup and play simple sounds on the Pocket Arcade.


Tiny Arcade & Pocket Arcade / Text/font
« on: November 09, 2021, 03:37:16 PM »
How do I write text to the screen while using the  drawBuffer()   function to draw my sprites?

I've created this function (see below) and tried calling it from several different places in the main loop and from within the  drawBuffer()  function, but it doesn't work

Do I have to draw less of the screen with sprites and reserve the top of my screen for text or can I mix text with sprites?



void writeText() {

Thumby / IDE on Raspberry Pi in Chrome
« on: November 02, 2021, 07:24:08 PM »
I decided to try the IDE on Raspberry Pi in Chrome, it works but the emulated Thumby's scale is just slightly larger than 1:1 this on a 24" 1920x1080 monitor.

Just thought you might like to know.


Thumby / Iterating through a dictionary on Micro Python question
« on: October 30, 2021, 03:08:11 PM »
I have created a table in Lua for Pico-8 in order to draw a row of invaders every frame (see attached images - code/result)

I'm trying to do the same thing with a dictionary (as it seems to be the closest data type to a table in Lua) in Micro Python and I'm having trouble understanding/figuring out the syntax to do this, I think I've created the dictionary properly but need to create the for loop to iterate through it and display my sprites.

Here's my code so far:

inv = {}
# sprite number, x, y
inv = {'s':'invader_a', 'x':40, 'y':28}
inv = {'s':1, 'x':50, 'y':28}
inv = {'s':1, 'x':60, 'y':28}
inv = {'s':1, 'x':70, 'y':28}
inv = {'s':1, 'x':80, 'y':28}

   for ?: 
      thumby.display.blit(sprite number?, x?, y?, 8, 8, 0)

As you can see, I need help to fill in the for loop and the sprite number?, x?, y?   I have a pretty good python book and have read many samples online of how this should work but I haven't been able to come up with a solution that works, any help would be appreciated.



Thumby / Invader Test
« on: October 16, 2021, 12:56:05 PM »
Not a game but a test to learn my way around the IDE and library:

I'm a new programmer, Loving this, can't wait for the real device!

B button to start, D-Pad Left/Right to move Left/Right, A to fire, B while in game to pause and show score and remaining lives, B to restart at Game Over screen.

Need to add:
- Info screen when you lose a life (like the pause screen)
- More columns and rows of different types of aliens
- Increasing difficulty
- Sound

Thumby / Font size
« on: October 15, 2021, 05:56:28 PM »
Will there eventually be a smaller font? maybe a 4 x 5 (4 = 3 plus space)

Thumby / A quick question
« on: October 14, 2021, 04:22:10 PM »
A quick question:

Do the sprites have transparency, it seems like they don't but wanted to check, I am using an inverted sprite (white on black)



Pages: 1
SMF spam blocked by CleanTalk