Just Another by Willowblade
It's actually just the engine I created for the game I had in mind. I'll keep working on it though, I'd just like feedback on how it plays and perhaps some pygame tips.
This download is fully open source, and can only be run by having python 2.7 and pygame installed.
First game ever and actually happy, shame I grinded so much time on geometric math and learning pygame
This download is fully open source, and can only be run by having python 2.7 and pygame installed.
First game ever and actually happy, shame I grinded so much time on geometric math and learning pygame
- Your startup script is a sh script. Windows won't know how to execute it by default (it should have the extension cmd or bat).
- The game requires a valid Python interpreter as well as pyGame installed, so I'd suggest you provide precompiled binaries or link all required components (in case there are more).
Next time, include EVERYTHING out of the box.
I am on Linux, but I will try for Windows later.
Traceback (most recent call last):
File "main.py", line 277, in <module>
main()
File "main.py", line 202, in main
e.angle = ai.angle_2(player1, e)
File "C:\Users\jfroco\Downloads\Just Another\ai.py", line 19, in angle_2
angle_rad = math.atan(x_diff/y_diff) #POS
AttributeError: 'module' object has no attribute 'atan'
I checked ai.py and seems OK.
My python installation seems OK too:
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> math.atan(1)
0.7853981633974483
Strange
from math import atan,degrees,pi
and all the math.atan, math.degrees, math.pi calls and it worked.
Weird.