screenshot of final game

Journey of the Monarch

Father and son team. Looking forward to another great week of hacking on a game.


And here's our result ...


Overview

You are a Monarch butterfly migrating to Mexico. This is the final leg of your 3000 mile journey from Canada and it will be the most perilous. You are weak and getting tangled in a bush is a real possibility. If that wasn't enough, you'll also have to contend with predatory birds swooping in for a butterfly flavored snack.

Thankfully there are Milkweed flowers here and there on your route. You can glide onto them to replenish some of your energy which decreases with every flap of your wings. The faster you fly, the more energy you use.

Installation

It's suggested that you run the game within its own virtualenv to avoid any dependency conflicts.

  1. Unzip the source archive
  2. Open the directory that was extracted from the archive
  3. Run pip install pgzero==1.2
  4. Run python butterfly.py

Controls

  • Up Arrow: speed up
  • Down Arrow: slow down
  • Left/Right Arrows: go left and right
  • Spacebar (hold): glide (uses glide power, conserves energy)

Quick Tips

  • Glide onto flowers for energy
  • Avoid or glide over bushes
  • Speed up or slow down to dodge birds

Strategy

Glide power is used up faster than it is gained. Choose when to glide wisely. You'll need to glide to land on flowers to replenish energy. You can also glide over bushes if you can't dodge them. Once you've depleted your glide power, it has to build up to a certain point before you can glide again.

Going faster isn't necessarily better. It's harder to dodge bushes and plot your course to the next milkweed. On the other hand it can be useful for avoiding birds. Speaking of that, sometimes you might need to leave a flower before you've gathered all of its nectar.

Take deep breaths and relax. Try and balance energy, glide power, staying alive and completing your journey.

Credits

Built with Python, PyGame Zero, Mu and PyCharm. All graphics created in MS Paint 3D by Christian and Eli Wyglendowski.

Animated butterfly (graphics and code) by Eli Wyglendowski. Bushes and bird graphics also by Eli.

Original musical score by Christian Wyglendowski.

Uses the PixelLetters font by GeelynEdits.

Awards


Muncher Award for Educational Story
Presented by encukou

飞来横祸
Presented by xmzhang1

Give this entry an award

Scores

Ratings (show detail)

Overall: 3.3
Fun: 3.2
Production: 3.5
Innovation: 3.4

8% respondents marked the game as not working.
Respondents: 11

Files

File Uploader Date
Journey_Of_The_Monarch.zipfinal
Our game, Journey of the Monarch
dowski 2020/03/29 19:13
Pygame_Zero_Game_3_29_2020_3_09_15_PM.png
screenshot of final game
dowski 2020/03/29 19:12
Pygame_Zero_Game_3_28_2020_1_08_53_AM.png
End of day 2 coding
dowski 2020/03/28 05:09

Diary Entries

End of "day 2" coding with < 24 hours remaining!

We haven't put as much time in this week as I hoped we would. We put in some dedicated time today though and moved from basically nothing at all like a game (just an animated butterfly on a green background) to something that resembles a game.


Tomorrow we'll put on some finishing touches (instructions, menu, win/lose screens) and then look forward to trying out everyone's games next week!

Add a comment

Final Entry Uploaded!

That's a wrap for us! Our game was basically made in two days and it shows. We (me and my 14 year-old) had so much fun doing it it doesn't matter though!


My son did more of the coding this time than in PyWeek 28, and it was cool to see him getting more comfortable with Python. The source code for our game is a big hack job though (we're both complicit in that), but it gets the job done.

Add a comment