ORE MINER is not your ordinary clicking game. Although the basic idea is simple - mining ores, it goes beyond that by including RPG elements and that keeps you involved longer than you originally thought. The game also has a unique crafting system, which compels you to constantly create new and better equipment for your miner. You can also upgrade your miner by investing earned talent points (1 point per level) into specialization.

Screenshot 2016 07 19 11 25 52 Screenshot 2016 07 20 10 06 52 Screenshot 2016 07 19 11 27 31



Your miner has 4 aspects available for specialization:

  • POWER (brute force - boosting up your gear for tapping; better XP gain leads to quicker leveling)
  • INTELLIGENCE (boosting the idle variables like ores/sec for better ore gain; Ore generator with upgrades does the mining when you're away)
  • LUCK (increasing your chance of item drops, so that you don't have to craft so much)
  • BARTER (lower requirements when crafting items; get more ores in return when selling items)
Screenshot 2016 07 19 11 27 51Screenshot 2016 07 19 11 30 09Screenshot 2016 07 19 11 29 39



While you progress through levels, extra stones become available for mining. Achievements are also included, completing them gets you rewards, which you can then use in the shop for buying new gear. Latest update includes social elements (adding friends, sending items, leaderboard). For further updates we plan on introducing a competition mode, ranks and daily battles.

Created by Studio Techtrics
Find us at:

Facebook RoundTwitter roundInstagram roundTumblr round



  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Reducing mobile app download size (part 4)

Other Tutorial

Merging icons into tilemaps

This one didn’t actually work out and took quite some time to do. Because of our use of shaders, the 11 stone types, 10 stone destruction states and 9 on-hit particles (209 icons) turned into 38. (20 for ore destruction states and 18 for particles – half of each for the fill and the other half for outlines.) I wondered how much extra space we could save by making the files a large tilemap instead. Turns out that not a lot – only about 200kB (from 1.6MB to 1.4MB). I got stones and particles to work this way, it however took much more time for very little reduction in APK size. I did another experiment and merged all the remaining smaller icons into a single sprite-sheet. This reduced the file size by another 200kB, I however did not pursue to make it all work with these generated sprite-sheets, as it would have been way too time-consuming to do for just 200kB size difference. If I had way more time to invest, I’d have done this, however it really wasn’t worth it for the amount of time it would have taken.

Splitting APKs: ARM and x86

This part is only relevant to Android devices, however it matters a lot. By default Unity creates APK files which can be run on both ARM and x86 based Android handhelds. This can be changed in Player settings, and it makes a huge difference. Making APKs only able to run on ARM based devices reduces the APK size by 8MB, same by making them only able to run on x86 devices. According to Unity’s numbers, ARM based devices make up 98.2% of all Android devices (May 2016). Plus you can provide separate APKs on Google Play for different processor architectures. All in all, this was an awesome way to decrease the APK size.

Automatic removal of unused code

Using Mono2x as the stripping backend allows us to specify the stripping level. This removes unused code and engine components. Of course it can be a challenge for the scripting backend to determine what is and isn’t used. Assuming you don’t use reflections in your code or libraries, the scipting backend should be able make that decision correctly and only remove unused stuff. If you however do use reflections (namely interact with an object’s members by providing their name as a string), then you will likely run into trouble. Fortunately we didn’t use reflections anywhere, so this worked out great and reduced the APK size by another 3 MB.

Conclusion

The most effective ways to reduce the size of our app turned out to be the things Unity provides: For audio: Automatic bitrate optimisation and forcing it to mono; for images: setting maximum image sizes and disabling mipmaps; for code: splitting support for CPU architectures (ARM and x86) and automatic removal of unused code. The things which required way more work were quite a bit less effective in saving space. However, you can only save space by dropping x86 support once. The rest needs to be done by optimising your icons, merging them into sprite-sheets, etc. The turn-key things should be done every time, the more time consuming and tedious ones should be done when reducing the file size becomes important – which will likely be when your game ships.



That’s it from me regarding app size reduction. I hope my contribution will help you solve some of the difficulties you may encounter.

Matevž Baloh, programmer

Reducing mobile app download size (part 3)

Reducing mobile app download size (part 3)

Other Tutorial

Working with mipmaps, image sizes and shaders to reduce file size.

Reducing mobile app download size (part 2)

Reducing mobile app download size (part 2)

Other Tutorial

It can be quite hard to determine what is and what isn’t good enough when it comes to audio. Humans are very sensitive to audio imperfections, but at...

Reducing mobile app download size (part 1)

Reducing mobile app download size (part 1)

Other Tutorial

What you can do to make your game’s download size smaller in Unity3D.

Porting from Android Studio to Unity3d (part3)

Porting from Android Studio to Unity3d (part3)

Design/Concepts Tutorial

Implemetation of a new User Interface along with the addition of a requested feature - stone destruction.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Ore Miner - Clicking Game
Platforms
iOS, Android
Developer
Studio Techtrics
Engine
Unity
Contact
Send Message
Homepage
Facebook.com
Release date
Game watch
Follow
Share
Purchase
Community Rating

Average

-

0 votes submitted.

You Say

-

Ratings closed.

Style
Genre
Role Playing
Theme
Abstract
Players
Single Player
Project
Indie
Embed Buttons
Link to Ore Miner - Clicking Game by selecting a button and using the embed code provided more...
Ore Miner - Clicking Game
Statistics
Visits
423 (1 today)
Last Update
Articles
7
You may also like
Klalha
Klalha Role Playing
Songbringer
Songbringer Role Playing
Small Chronicles
Small Chronicles Role Playing
The Mirror
The Mirror Role Playing
NOWHERE
NOWHERE Role Playing
Khonka
Khonka Role Playing