January 07, 2015

#30daydeveloper - Day 3 - Mouse Flicking

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

I can already feel my motivation waning as each day passes. But to be fair, just because my motivation for this challenge wanes doesn't mean my motivation to develop is waning. In fact, I've been working pretty hard on the other side project that I mentioned in yesterday's post. But I don't think I'm quite ready to reveal what that is just yet.

Anyways, back to my 30 day challenge. Yesterday, I figured out how to get simple collision detection working and learned a bit more about sprites and animations. Today I want to install WampServer so I can test my changes and tweakings much quicker as I don't have to wait for the git push to finish. (Noob alert!)
What the game looks like currently
Then I want to learn how to handle mouse interactions. That way I can mimic finger flicks and be able to move the stars around as I wish--bouncing them off walls or throwing them at the holes. (As was the original game-play) Have you ever seen the Facebook Messenger application? In the Messenger app, you can have little pop-up bubbles for each chat you're active in. These bubbles were the main inspiration for my game. I had so much fun just dragging around the bubbles with my fingers. I wonder if anyone else would as well.

Currently, the most extreme basic form of the game is already in place. Stars spawn from the top of the screen every few seconds and disappear if it comes into contact with the black holes on any of the four corners of the screen. You can also click on each star to drag it to a new position, but it won't alter the existing trajectory and velocity of the clicked star.

Therefore, I want to be able to drag a star and flick it and have it travel in that direction. Initial research has proven this to be a difficult task. Perhaps this will be the first mountain I need to climb?

On a side note, do you know what a GFY is and how it's much better than the prevalent GIF format?

No comments:

Post a Comment