Shooting Game - Added the ability to change between worlds/scenes

in #utopian-io6 years ago (edited)

New Feature: Different Scenes

What is this game?

This is a game that you can play on iOS devices. You have a player on one side of the screen. On the other side of the screen are enemies running into your direction. With a tap on the screen you can shoot them.

What feature(s) did you add?

It is now possible to change between different worlds to play on.

On the main screen is a button "Change the world". This leads to a new screen (WordViewController). On that screen is a table, which shows all available scenes that are defined (in enum Scenario). If a world is selected, the screen is changing back to the main screen. If a game starts, the world will be the chosen scenario.

Notice: No pictures added on github because of copyright issues. To run the code, new pictures need to be added.

How did you implement it?

  • Pictures added for player/enemies/projectiles and background to have objects while playing instead of colors [3a7b010]
  • Added a new view there it is possible to change the world settings. [b2eb459]
  • Added a service that handles all available scenarios/worlds which should be chooseable while playing [ba829e7]
  • The ScenarioHandler gets updated after the user selects a new world [6059efd]
  • The GameView is using a scenario and shows the game as selected [e88a33c]

Screenshots

The following three screens are showing the changes. View on the left is the view where you can change between all available worlds. Middle and right screen are showing two different worlds but with an x instead of all images because of copyright issues.

gameScreenshots.jpg

Roadmap

  • Add Background music. Logically turns off then you hear music with another app.
  • Change difficulty: Have not just an easy mode. Play with enemies who get harder over time.
  • Adding in app purchases
  • Android Version

How to contribute?

  • You can fork it and create a pull request with new features or bug fixes.
  • If you want to get in touch with me my Username is Sonius94 (Twitter, GitHub, Youtube, Instagram)



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thanks for the contribution. It has been accepted.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Thanks for your moderation! :)

Hey @oups, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Nice contribution!
Sadly I can't play this since my phone is running on Android. :'(

Currently I am not into android programming. Hopefully one day this will be one of my first projects! :) Thanks for your support @flugschwein

You just planted 0.40 tree(s)!


Thanks to @sonius94

We have planted already 6384.99 trees
out of 1,000,000


Let's save and restore Abongphen Highland Forest
in Cameroonian village Kedjom-Keku!
Plant trees with @treeplanter and get paid for it!
My Steem Power = 18705.47
Thanks a lot!
@martin.mikes coordinator of @kedjom-keku
treeplantermessage_ok.png

Hey @sonius94! Thank you for the great work you've done!

We're already looking forward to your next contribution!

Fully Decentralized Rewards

We hope you will take the time to share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.me/utopian-io

Loading...

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 63768.57
ETH 2478.16
USDT 1.00
SBD 2.54