Defence Android Game
-
[font=‘PT Sans’]Hi guys I’ve been racking my brains on what I can do to help out and do something useful.[/font]
[font=‘PT Sans’]So I’ve just started designing a game its really early days but the tools I use allows me to write one game and run it on android, desktop and optionally embedded in a HTML page and iOS (although I would need a Mac)[/font]
[font=‘PT Sans’]The general idea is for a defence game where you defend your base by building defensive buildings / structures. But what I need is a way of tying this to Feathercoin. I’ll keep thinking but I would appreciate any ideas. [/font]
Version 3 Released (use same link below)
Done So Far…
- Bouncing Attackers / Sheep with 6 lives
- Blocks Which fall from the sky (cost some coins to place)
- Blocks are invincible and kill attackers while falling
- Blocks loose some health as do attackers when they collide
- Castle Has 100 health which decreases when attackers hit
- A resource/currency display (FTC I think) which you get for killing attacker/sheep
- Reduce resource/currency amount when a block is bought/deployed
- Add Background Image
- Make something happen when castle has zero health. Added Game Over Graphic
- Added rounds with a limited number of FTC per round vs an Increasing number of attackers
- Added score which gets added to any leftover FTC and Castle health at the end of the round
- Added Stronger Block type which is more expensive (from round 3)
- Added Spearman type which walks along the bottom (from round 6)
- Added pause button with pause text
- Added round completed text between rounds
- Changed amount of coins you get in higher rounds
Added Angry Sheep graphics provided by Mica :)
*
Added red cross which appears when you cannot place a block or cannot afford a block
*
Added blood splatter (too much?) when one of the angry sheep is killed
*
Added Swarm support so we can share top scores and maybe run competitions :) (Android only - Guest mode available)
*
Made it so you cannot place a block on top of another block
*
[font=‘PT Sans’]Auto Saves state if the game is exited[/font]- Auto loads state if it was an auto save scenario
- Option to manually Save Game
- Option to manually load saved game
- Spearman has been removed and new Block (Hay Bale) has been added as the cheapest block
Still to do…
- Add other objects to buy? spikes? guns? etc.
- Add additional attacker types
- Add health bar to blocks and attackers instead of/aswell as numbers
- Get on android market :-)
- Brand with Powered By Feathercoin Logo
- etc etc etc…
[font=‘PT Sans’]
If your in android then you will need to open the link on your phone. [/font][font=‘PT Sans’]
But previous to that you will have to enable install from Unknown sources. (Settings --> Security – Unknown Sources)[/font]
[font=‘PT Sans’]
The game will come up as “Attack of the Sheeps” as the title and has a little android guy as the icon.[/font][font=‘PT Sans’]
Ive installed this on my phone its not malicious (obviously I wrote it) but it passed the AVG virus scan.[/font]
Here is the link on my dropbox.
https://www.dropbox.com/s/u2zwznlw3wg5wa5/AngrySheep-android%20%282%29.apk
For those without and android device here is a Java desktop version. Simply double click (java must be installed)
https://www.dropbox…/AngrySheep.jar
Any feedback you have would be great.
Please take into account this is early stages and I’m pretty new to all this. :-)
-
Ah man this is freekin awesome!
We have feather roller and now it looks like were getting feather defender!
I’ll check out what you’ve done so far when I have a decent chance.
-
Well ,Try it.
-
Version 2 of the game has now been released.
This one has the following changes.
- Blocks must now be paid for (in game Feathercoins)
- There is a mountain background image
- There is a Game Over screen when you castle runs out of health.
- There are rounds each round has an additional number of attackers
- There is a score which at the end of each round gets added to all leftover FTC and Castle Health
please have a play its starting to feel like a game.
https://www.dropbox.com/s/4mbuc3m9pxq0t1i/HomeDefender-android.apk
I will update the TODO check list in the original post…
-
Here is some screenshots :-)
[attachment=51:homeDefenderV2.JPG]
[attachment=52:HomeDefenderV2-2.JPG]
-
Hey it’s getting there! Very nice!
-
Thanks :)
-
If we have even just a couple of games, we could start a page on the main site which showcases community made ftc games.
-
yeah thats a good idea. Do you have any ideas how I can make the game more relevant to FTC? Maybe the castle could have feathercoin logo on the flags and maybe the blocks could have a FTC logo as a sticker on?
Obviously the name but the feather-roller game is obvious that its FTC related.
-
I’d advise you don’t shoehorn FTC branding in at the expense of the game. A “powered by feathercoin” would be less detrimental to the game. IMO.
-
Yeah that’s a good idea makes more sense.
-
Want I would love to see mainly is just ftc been an in game currency. And not actual ftc either.
BUT
How cool would it be to have a game though, that uses real ftc as in-game currency. Personally, I don’t really like where some of the gaming industry is going, but micro transactions in online games are become common place it seems. Would it not make sense to use a real virtual currency in game. Not to mention the fact that it should be simpler to implement as opposed to something like Linden in SL or PED in Entropia etc.
There’s a game that I was alpha testing and doing a little promoting for last year called StarForge. I’ve thought about heading back over to their forum and pitch the idea of them using ftc possibly. Not sure how much attention they would give me but I can only try I suppose.
Is there any consideration for in-game currency?
I think it would mad, if StarForge was to use an in-game currency, it used a real-world virtual currency.
Just putting the idea out there. I’m on the staff/team for Feathercoin. We’re one of the top alt-coins which have taken Bitcoin and improved upon it.
Magnet links can be embedded in our blockchain as well as any small amount of meta-data. We have a very activly involved commmunity and projects are always been worked on. We have a few very skilled coder’s, so if the SF devs are interested, we can be a lot of assistance.
-
Yeah I like the idea I was thinking it could be used for purchasing additional things in game such as items or upgrades that would normally need to be played to gain. I was also thinking there could be a weekly/monthly prize in ftc to get the highest score or something? May promote the game as well.
-
If the game could mine but also accept ftc for in game purchases, you could create a truly viral game. If done right it could be incredibly addictive and also support the network with both mining and also creating transactions.
-
I see gaming currency as the next big thing. Being able to move your money between games would be an interesting concept.
-
Yeah I agree I think we need some kind of offline service to deal with the in game currency.
In my head in game purchases would work something like this…
Offline lots of addresses are created with public/private key (lots and lots maybe 100,000 or more who know) these would be in cold storage.
The public keys would be loaded into a database ready for use.
When a user wishes to make a purchase the next unused key is extracted from the DB and a record is produced in the DB with the public key and the amount needed to fulfil the request/purchase.
The service then monitors the address and waits for funds to be received and would update the row to be completed (after a number of confirms I would go with 1 for small values).
once completed the address would not need to be monitored any more and the user would be grated access / given the purchased item.
It may make sense for the DB record containing the public key , the amount of FTC to also include the actual thing the person has paid for.
I think this could be useful as a service which could be run by any business / company wishing to accept FTC.
Its safe as there are no private keys to steal if the server is compromised.
I think I could write the code to set one of these up as we have feathercoinj which will handle the monitoring and confirmation stuff that is needed.
Although this may be a project in its self.
On the In game winnings side…
I was thinking we could do a simple money making game where players buy in each week/month to see who can get this highest score.
the winner takes to pot so a little like gambling but with an element of skill.
to do this the player should be able to specify an FTC address which payouts could be made to and initial buy ins could be made as above.
Edit: Im not sure im ready to tackle this yet though but would be awsome to achieve.
-
For all those not on android here is the Desktop version
On windows simply double click and it should run with java (which needs to be installed) or right click and run as / open as Java Runtime. Its just java so linux should not be an issue either.
https://www.dropbox.com/s/jmrg48vhcpvqglq/HomeDefender.jar
Here is the link again to the android apk.
https://www.dropbox.com/s/4mbuc3m9pxq0t1i/HomeDefender-android.apk
I have added some more features today mostly around playability and speeds of attackers etc.
I have changed where the blocks can be placed and added a mesh screen to show its out of bounds.
enjoy
-
Hey man, this is actually really addictive!!
-
Lol yeah its starting to feel like an actual game isn’t it :)
-
Could we get 2 more block types. One cheaper and one more expensive?