Recent posts

#41
Thumby / Re: Importing files
Last post by muchpile6768s - March 06, 2026, 02:39:22 AM
Quote from: allisonsinger on September 10, 2025, 05:49:52 AMHello,
I've been working on developing a game for about a week, but I'm encountering some problems with importing separate files. I would greatly appreciate any help!
Directory Structure:
Code Select Expand
/
    Games
        BattleGame
            BattleGame.py
            characters.py
            moves.py
Should I keep everything in a single file? I've noticed that most other games are structured this way. I'd prefer to separate data from the game logic, but I don't want to compromise on resources. How can I import a file from the same game directory? I keep encountering a "module not found" error no matter what I try.
I've tried the following:
Code Select Expand top games
from moves import moves
from Games.BattleGame.moves import moves
It looks like your structure should work, but the issue is probably related to how you're running the script. If you run **BattleGame.py** directly, Python may not treat the parent folders as packages. One common fix is to add an empty `__init__.py` file inside the **Games** and **BattleGame** folders so Python recognizes them as modules. Then you can usually import with something like `from moves import moves` if the files are in the same directory. Another option is running the script from the project root and using `from Games.BattleGame.moves import moves`. In general, keeping files separated like you're doing is actually good practice, especially as the project grows, so I wouldn't recommend putting everything into one file.
#42
General Discussion / Re: Suggestions for improving ...
Last post by osedron - March 04, 2026, 02:14:34 AM
I tested it for a bit, and the controls feel responsive overall. Maybe add a very short visual or sound cue right before difficult jumps so it feels more fair.
#43
Thumby / Re: Using VSCode instead of Th...
Last post by electricbrass - March 03, 2026, 06:22:39 PM
The bigger issue now is that I get constant warnings over unresolved modules. Are there pyi files available for the engine anywhere?
#44
Thumby / Re: Using VSCode instead of Th...
Last post by electricbrass - March 03, 2026, 04:11:42 PM
I got the Serial Monitor working!
#45
Thumby / Using VSCode instead of Thonny...
Last post by electricbrass - March 03, 2026, 03:48:56 PM
My little brother really wants me to teach him Python so that he can make games for the Thumby Color. I've been trying to get things set up so that I can get started and figure out some of the basics first, but I was wondering if anyone has had any luck using VSCode instead of Thonny or the web editor. I've tried using the Serial Monitor extension but haven't had any luck connecting. Does anyone know what settings are needed to connect to the serial console? And does anyone know of any extensions that provide easy access to the Thumby Color's filesystem like in Thonny?
#46
TinyDuino Processors & TinyShields / Interfacing Extensions
Last post by chrvik36 - February 27, 2026, 01:37:51 PM
Can other boards be interfaced with these tinycircuit devices?  I'd try to connect RaspberryPi boards to them, or others.  Does anyone know any of these?
#47
TinyTV & Tiny Video Player / Extreme Newbie
Last post by Kathi - February 24, 2026, 04:33:34 PM
I am not tech savvy, so please be gentle :) . I have only been successful uploading one video, which was a video from a text message. I have spent all day trying to get videos to be converted and then put on my Tiny TV 2. I even tried searching public domain free videos. Anybody out there have and suggestions for this dinosaur
#48
TinyTV & Tiny Video Player / Re: TV2 can storage be expande...
Last post by MikiasFikre6 - February 17, 2026, 07:55:51 PM
I Purchased a 256 GB and tried it out with the Tiny TV 2 But No Luck. So, I decided To Go With 32 GB. is it really possible that the Tiny TV 2 Works With 512GB Or 1 Or 2TB? 
#49
TinyDuino Processors & TinyShields / GPS Board
Last post by wayne1br@gmail.com - February 15, 2026, 08:06:40 PM
Feb 15, 2026

Does the Tinycircuits board with the GPS system have a replacement?  I see that it has been discontinued.  Is this board / functionality too nefarious?  I don't know if there will be a revision to this board, or if that type of functionality will be dropped entirely??  I was hoping that a new revision would be available soon, possibly?
#50
Thumby / Want to play Doom on the Thumb...
Last post by tdl20rounds - February 11, 2026, 01:39:32 PM
https://github.com/Monstayoung/RP2350_Thumby_Color_DOOM
Try it here. Let me know if it works. :)