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 - AyreGuitar

#1
Thumby / Re: Importing files
December 19, 2025, 04:00:20 AM
Try doing this to set the current directory to your game folder before importing your modules:
from os import chdir
chdir("/Games/BattleGame/")
Then you should be able to import normally, eg:
from moves import moves
#2
Thumby / Re: code bugs (or mistakes)
December 19, 2025, 03:54:44 AM
You need to use double equals in if statements, eg for line 16 use this:
if sect == 1 and prsn.x < thumby.display.width - 2:
SMF spam blocked by CleanTalk