Game about gravity flipping
Spikes are incoming! Flip the direction of gravity to escape them :D
So I gave it a shot, but after installing pygame(pip grabbed pygame-2.6.1
) and running python3 main.py
in your project folder I got this output:
$ python3 main.py
pygame 2.6.1 (SDL 2.28.4, Python 3.10.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "my_drive/Downloads/GraviFlip Source/GraviDefense/main.py", line 14, in <module>
player = Player(all_sprites)
File "my_drive/Downloads/GraviFlip Source/GraviDefense/player.py", line 13, in __init__
self.rect = self.image.get_frect()
AttributeError: 'pygame.surface.Surface' object has no attribute 'get_frect'. Did you mean: 'get_rect'?
Congrats on finishing your first Alakajam! The game was nice for your first entry. It would've been cool if you included a score based on how far you went. You could just calculate it using the time the current run has gone for or by measuring distance.
I'd recommend making a Windows build since most people are using Windows to play games. Web builds are even better, but they can be difficult to make. Setting up the dependencies to run the source code can be a challenge for most users. I have an old video on making executables for Python/Pygame games. Based on the files, I'm guessing you're on a Mac, so ideally you'd find a Windows machine to build on since PyInstaller makes a build for whatever operating system you build on.
I only got a file called 'main'
Not a zip, not an executable. Not sure wht it is