Skip to main content

#30daydeveloper - Day 18 - Player Colors

Hello! If this is your first time reading about my thirty day developer challenge, click here to go to the first post!

So today I added a limit to the time stop ability. You can now only stop time for 200 milliseconds before it goes on cooldown. However, the game still isn't all too fun to play. It was very cumbersome to stop time and to alter the direction of each and every enemy ball to send them to the correct corner. And given the new time limit, it was pretty difficult.

So I changed it that once an enemy ball touches the player, it disappears. This solved the problem of a million enemy balls cornering the player and a negative score in the tens of thousands. I also changed the spawn pattern to a random location a set distance away from the center of the screen. But yet, it was still relatively boring to play.
The player is now pink, therefore able to collect the pink enemy balls
Here's where I created the player color mechanic. Now you can drag the player ball wherever you click without needing to stop time. In addition, when the player touches any of the four corners, the color of the player ball changes. This way when you collide with any enemy balls of the same color, your score goes up.

In addition, when time is stopped, the player can collect any colored ball for a neutral score. I had to implement this feature because if you cannot keep up with the enemy spawn times, then the number of enemies becomes pretty overwhelming.

I have to admit I am finally at a point where I can see some semblance of fun in this game. I guess I didn't really have a goal or anything when I set out on this journey, but it's really heartwarming to know that my time isn't being completely wasted, haha. At least I'm learning a ton about Phaser. And who knows? This knowledge might go a long way in some future endeavor of mine.


On a side note, game design is really hard. I had always thought that the technical part of actually making the game was the hardest part, but that is slowly proving to be false with this thirty day challenge.

Comments

Popular posts from this blog

Jooble

Yesterday, I received an incredibly friendly email from an anonymous person who claimed to have read my blog and "loved it." Of course, because my blog is public and anybody can comment anonymously, I was a bit skeptical of this email. Yet, seeing as how this was the first ever "fan mail" I've ever received, I read the email. It wasn't fan mail, but it was an email from a person who works for a website called " Jooble ." Interested by his genuineness and heartfelt compliments of my blog, I took a quick glance at the website. Here's what he had to say about Jooble: Jooble operates in 45+ countries, so if you would like to find a job in other locations you may try to search jobs in: Argentina , Australia , Austria , Belgium , Belarus , Brazil , Canada , Chile , China Colombia , Czech Republic , Denmark , Spain , Finland , France , Germany , Greece , Hong Kong , Hungary , Italy , India , Indonesia , Ireland , Japan , Kazakhstan , Mexi...

Connect With Me

This is a story about two best friends. They were the grow up like brothers kind of best friends. The chase girls together kind. The never rat the other out kind. The always true to each other thick and thin kind. You know what I mean. They were inseparable. One was named Adam, the other Bill. Adam was an artist. He loved all forms of art--film, paint, photo, everything. If it was created or captured, chances are, he's seen it. He kept a journal of his thoughts and mostly kept to himself--and, of course, Bill. He was what you might call a shy guy. Following his passions, he went to art school and graduated with an excellent education and a renewed passion for his art. Bill was a business man. He loved money, making deals, and shaking hands. If it was profitable or had even the slimmest chance of making money, chances are, he's done it. He rarely stays still and is constantly out and about. At the local bar, the club, restaurant, wherever the new hot spot was. He was what yo...

Pareto Efficient Crosswalks

Car / Pedestrian and directions of travel Imagine this scenario, I'm sure it's already happened to you many a times. You're walking down the street, when a car is coming at you from your right. What do you do? The car could stop and wait until you cross the street, then continue on its way. On the other hand, you could also stop and wait for the car to pass by and then continue on your way (Assume there are no stop signs, traffic lights, or police officers). Either way, somebody must stop. One person must necessarily wait for the other in order to proceed. If we assume that time saved is a normal good and that waiting is an inferior good , then obviously, a rational individual would want to minimize their waiting time and maximize the amount of time saved. We can show the results in a payoff matrix. Both Go Suppose that both the pedestrian and the car decide to go without waiting. Then assume that there will be a car crash and both individuals will die and the...