You are browsing as a guest. Sign up (or log in) to start making projects!

physics-minigame

  • 2 Devlogs
  • 5 Total hours

Chaos Theory- a physics sandbox that follows the dynamics of bouncing balls with unpredictable twists. Just let your balls (Heavy, Normal or Light) drop and watch them collide, bounce and get loaded by real gravity and collision physics. Predict whether the next ball will reach the ground faster or slower than the previous balls to score points and beware of two random challenges: the Falling Golden Ball and the Paddle Challlenge. You will have to accomplish everything in 49 seconds - as a tribute to the famous collapse in cricket history - till the round is over. Watch out for some special sports-themed surprises throughout the game. Controls: - Left Click: Enter a ball -T / D: Make your guess/faster / slower -Arrow keys: Move your paddle during Dodge Challenge -R: Restart the game

Ship #1 Pending review

I had initially thought of creating the game using Godot software, and when the project didn’t work out, I grew frustrated after it actually crashed and I lost some of the resources I had hoped to use. After feeling somewhat bored, I found the motivation I needed to start writing some lines of code in order to develop a new physics minigame using Pygame.

After I had completed my first 42 lines of code, I was pleasantly surprised to see my game move on. While pursuing this project, I also discovered just how crucial it is to follow the right indentation rules in Python programming, especially during debugging.

Since then, I have successfully finished the game and added several different features to it, such as gravity, bouncing, many different kinds of balls, collision physics, a guessing game and two more minigames called Catch and Dodge.The accomplishment I am most proud of is the sports joke and milestone system. Real-life sports events provide meaning to the various levels of the score. I have tied the scores to various sports milestones such as RCB winning the 49-0 match, Barcelona losing to Bayern Munich, and Germany beating Brazil 7-1. Players will receive a message when a particular score is achieved, thus making the scoring system more interesting and unique.

Another challenge was packing the entire game into an executable. I found out that I had two versions of Python installed on my PC. As a result, sometimes, pip and Python would be working with different installations. Even though Pygame was installed successfully, it kept disappearing when I was trying to compile the project. The issue was resolved by specifying the complete path of my command.

What started as a failed attempt to make a Godot game turned into a finished Pygame project. While working on it, I have learned a lot about Python, debugging, physics, game making, and even solving the issues of packing the project into an executable.

  • 2 devlogs
  • 5h
Try project → See source code →
Open comments for this post

4h 19m 36s logged

In my second devlog, I have completed the entire game since my previous update. Various features have been implemented such as gravity, bouncing, different kinds of balls and collision physics, as well as determining the time needed for the guessing game, and two mini-games called Catch and Dodge. The most remarkable feature, in my opinion, is the sports joke/milestones system. In this system, I connected my scoring levels to real-life events, such as visiting RCB’s matches (49-10), Barcelona’s loss to Bayern Munich, and Germany’s win over Brazil (7-1). As a result, once a score has been reached, the game shows a related message.

Packaging the whole game into an executable file was challenging, as I found out that I had two different Python installations on my computer. As a result, pip and Python send different signals according to the command, and pygame has installed successfully but has disappeared when I tried to build the project. I needed to use the full path to direct my commands to one Python installation.

0
0
15
Open comments for this post

1h 6m 18s logged

First devlog Was going to make a game on gadot,but was unsuccessful,got fed up and steak was broken and stickers now lost which were upcoming.Gathered the courage to make a write few lines of codes for a new physics minigames i am working on since i was feeling pretty bored.wrote my first 42 lines of code and got this on pygame and learnt a lot of significance of the indentation during debugging

1
1
85

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…