Days 3 and 4 - More Objects, Graphics, More Levels and Stuff

I forgot to post yesterday. I'm going to combine yesterday's and todays posts into one.


I added some more objects into the game, including finish lines (as an objective for the level), rocks, lily pads, sewer pipes (which will act as portal-like mechanisms) and coins. I'm planning on having the purpose of the coin to be spending on customizations, like boat colors.

In addition to the actual code for the objects, I started working on the graphics for all of them. I decided to experiment with low-poly graphics, as I thought it would add a more relaxing feel to the game, which is exactly what I'm aiming for. I didn't fully complete the graphics, but I got quite a few of them. I also got a font as well, trying to fit it in with a modern theme around the low-poly graphics.

I also started to create more levels, trying to experiment with different obstacles and patterns to make the game more interesting and fun.




(log in to comment)

Comments

I'm running into an issue. As soon as the first ripple reaches the boat, the game crashes:

$ pipenv run python main.py 
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
  ...
libpng warning: iCCP: known incorrect sRGB profile
Fatal Python error: PyEval_SaveThread: NULL tstate

Current thread 0x00007f6cddd3d740 (most recent call first):
  File "/home/christopher/.local/share/virtualenvs/calmwaters-BgaWtNm3/lib/python3.6/site-packages/pygame/sprite.py", line 476 in draw
  File "main.py", line 287 in 
Aborted (core dumped)

Has anyone seen something similar? I'm on Ubuntu.

I had to edit requirements.txt from "pygame=1.9" to "pygame>=1.9" to get pipenv to work in the first place. I don't see why that would be a problem, though. Thanks!