Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Games Stop the Pop! - My First Game [iOS] [Android][2D Platformer]

Discussion in 'Works In Progress - Archive' started by andrewmcglynn86, May 6, 2016.

  1. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    Hi everyone!

    My name is Andrew McGlynn and I've been working on this game and learning Unity over the last 1-2 years in my spare time. It's been a long time but now I think I'm at a stage where I would like to show some people my progress.

    I have a working title of Don't Pop (which I'm not too happy with, but it's OK for the time being).

    The idea of the game is that you play as a happy go lucky popcorn kernel who has to keep cool and avoid obstacles that would heat you up, like boiling oil, butter, flames and grills. If you get too hot, you pop into popcorn.

    Don't Pop is a 2D platformer where you do the usual things, like jump over obstacles, defeat enemies, collect coins, purchase extra characters. You have to watch your temperature and make sure it doesn't get too hot. You collect snowflakes to cool down. There is also a timer which constantly increases your temperature, which makes you need to find the snowflakes quickly and keep moving.

    I am not an artist but I tried my best designing and implementing the artwork.

    Screen Shot 2016-05-30 at 22.34.08.png

    Screen Shot 2016-05-30 at 22.36.48.png

    Screen Shot 2016-05-30 at 22.30.27.png


    Screen Shot 2016-05-30 at 22.40.02.png

    Screen Shot 2016-05-30 at 22.39.14.png

    Here's a video of it in action:



    I'm still in the process of getting music and sound effects sorted.

    I have a lot of plans for it, including extra levels, which I hope to keep adding, which will be pushed out as updates.

    Hopefully I'll get this up on the App store in a couple of months.

    If you have any positive or negative feedback, please let me know. I'd love to know what you think of it!

    Thanks,
    Andrew
     
    Last edited: Feb 2, 2017
    theANMATOR2b and RavenOfCode like this.
  2. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    Hi everyone,

    I made some more progress on this game. I am pretty happy with how things are going so I think I will release it in a few weeks. I'd like to get some of your feedback though.

    Since the last update, I renamed the game to Stop the Pop! I worked on creating new buttons and other UI elements.
    Here's the new title screen.
    titleScreen.png I got a logo designed from Trilma Rose, who I found on the forums. I was really happy with how it turned out.
    https://forum.unity3d.com/threads/get-your-company-logo-designed-by-a-professional-hire-me.273944/

    I added sound effects, some homemade and some from the asset store.

    Some of the levels were re-skinned to add more variation.

    I also added the option to buy costumes from all the coins that you collect throughout the game.
    Here's a few costumes that you can buy:
    Screen Shot 2017-01-03 at 20.25.45.png Screen Shot 2017-01-03 at 20.26.43.png Screen Shot 2017-01-03 at 20.26.04.png

    I also added some more enemies too and a lot of bug fixes!

    Here's an updated trailer of the game:



    I'd love to hear what you think.

    Thanks,
    Andrew
     
    Last edited: Feb 2, 2017
  3. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
  4. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
  5. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    I am happy to say that Stop the Pop is now available on Google Play!

    You can download it here
     
  6. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    I am currently working on an update of Stop the Pop which will be released on Google Play and the App Store in April 2017!

    The update will include two new levels and I am also adding new enemies and costumes!

    Here's a video of what to expect:

     
    LNMRae likes this.
  7. LNMRae

    LNMRae

    Joined:
    Dec 28, 2012
    Posts:
    48
    Congrats on completing and publishing your first game! I think the concept is a really fun idea.
     
  8. devon_d

    devon_d

    Joined:
    Mar 25, 2017
    Posts:
    12
    Awesome Job!
     
  9. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    Thanks for the kind words! :)
     
  10. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    I have released a new version of Stop the Pop on Google Play and on the App Store.

    There are a number of new features in it. Here are a few features which I thought were interesting during the last couple of weeks of development.

    Skip Level Button
    I added a new Skip level button. The player can watch an ad to skip the current level. The button only appears if you have not skipped a level in the last 24 hours.
    Screen Shot 2017-05-19 at 22.31.19.png

    I took a simple approach to this by just checking a if the current time minus the last time a level was skipped, if this was greater or equal than 24 hours, enable the button. When the user presses the skip level button, an Ad is shown. When the ad completes, the current time is saved.
    Here's a snippet of code:
    Code (CSharp):
    1.  
    2. bool Has24HoursElapsedSinceLastLevelSkip() {
    3.         DateTime lastSkipTime = DateTime.Parse(Settings.lastSkipLevelTime);
    4.  
    5.         DateTime currentTime = DateTime.Now;
    6.         TimeSpan ts = currentTime - lastSkipTime;
    7.  
    8.         return ts.TotalHours >= 24;
    9. }
    10.  
    There is a downside to this approach and it might not be suitable for every use case. It is vulnerable to people to changing the date on the phone and it would show up again. It isn't something I'm too worried about, if someone likes the game that much to go to that much hassle, I say, knock yourselves out! :) Of course a suitable solution to this would be to query an NTP server but that seems like it would be too much overhead for what it is doing.

    Rate Us Pop Up Box
    I also used something similar to the above code to add a new "Like Us" and "Rate Us" pop up. If you click that you like the game, it prompts to rate the game.

    Animated Coin Count
    I also added the coin count to the main HUD.
    I wanted to give it more juice than just a static counter so when the player collects a coin, it changes the scale of the counter.


    In the update loop I check the scale of the text, if it is above a certain threshold, I then lerp the scale of the text down.

    Code (CSharp):
    1.  
    2. if (coinCountText.gameObject.transform.localScale.x > 1.1f) {
    3.             //don't want to run the lerp on every frame for performance reasons, so adding this if statement for performance protection
    4.             coinCountText.gameObject.transform.localScale = Vector3.Lerp (coinCountText.gameObject.transform.localScale, Vector3.one, Time.deltaTime * 5f);    //animate the coin collected text
    5.         }
    6.         coinCountText.text = player.GetCollectedCoins().Count.ToString();
    7.  
    Whenever the player picks up a coin I set the scale of the text to the max.
    Code (CSharp):
    1. coinCountText.gameObject.transform.localScale = Vector3.one * coinCountTextScaleMax;
    So essentially the code is always trying to shrink the scale to some threshold and then we just set the scale to a max value whenever it is picked up. It might not be the most elegant solution but it works!

    Here's what the animation turned out like
    http://gph.is/2q5cwPL

    Try it out

    If you would like to test out Stop the Pop, you can download it here.
    Google Play
    https://play.google.com/store/apps/details?id=com.stopthepopgame.stopthepop
    The App Store
    https://itunes.apple.com/us/app/stop-the-pop/id1166315634?ls=1&mt=8

    As always, any feedback is greatly appreciated!
     
  11. andrewmcglynn86

    andrewmcglynn86

    Joined:
    Dec 20, 2015
    Posts:
    47
    I started a new game dev blog describing how I implemented different parts of Stop the Pop.

    This post describes how I implemented the thermometer health bar system and I also give away the script I was using. Check it out!
    http://andrewmcglynn.blogspot.ie/2017/06/how-i-implemented-stop-pop-thermometer.html

    The other blog post shows how the prototype looked like and how the artwork has changed during development.
    http://andrewmcglynn.blogspot.ie/2017/06/stop-pop-popcorn-game-now-released-on.html

    If anyone is interested in how I implemented any feature in the game, just give me a shout and I'll write something up!

    Cheers,
    Andrew