-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|38|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Showcase Home -> Adventure

Created : 29 July 2012
Edited : 10 August 2012
System : Amstrad CPC
Language : Ruby

Sheep Goes Left (Android)

sheep goes left on android

Sheep Goes Left
This is an alpha of sorts of Sheep Goes Left (Android). Thanks to Jay for his images and sounds.

How to Play:
tap to start moving, tap again to stop.
dont touch the spikes.
reach the end of the screen.

All levels are possible some are just very hard

-20 levels
-3 level sets
-6 types of obstacles
(so far )
Now it is uploaded to Dropbox and will update when ever i compile a new edition. Nightly Builds WOOT!



Sunday, 29 July 2012, 13:04
Do I just drag this into my phone's Android folder?.
Sunday, 29 July 2012, 13:06
Can't download, I just get a blank, white browser.
Sunday, 29 July 2012, 13:30
for some reason the apk didnt bundle correctly. I have no clue why even though the source works fine.
Sunday, 29 July 2012, 13:36
I think i found the problem. I uploaded the wrong apk.

lemme upload the right one
Sunday, 29 July 2012, 16:14
I'm not on about the game not working, what I mean is the game won't download. I don't get any "Save" dialogue.

|edit| In other words, there's something wrong with the download link. |edit|
Monday, 30 July 2012, 10:49
i know the download wont work. I used facek=book upload and posted the link, but the game is screwed up too so thats a good thing.
Monday, 30 July 2012, 10:55
The only error is, once you finish all the levels, it gives an out of bounds error and force closes. easy fix but for the time bieng it works fine.
Monday, 30 July 2012, 15:43
Right!, I managed to download but now I'm going to sound a right arse. I know how to slide something across but how do I get this working on my Samsung Galaxy Ace?. LOL
Tuesday, 31 July 2012, 12:17
Go to Google Play and search for File Expert and tap to install it.
Friday, 03 August 2012, 09:37
It's a .zip file, all it does it explore the zip contents
Friday, 03 August 2012, 14:29
It says .apk on my pc, it uploaded as an apk, and it installed on my Kindle Fire as an app. Odd.
Friday, 03 August 2012, 14:32
OK guys i see the problem here! MediaFire automatically converts any package into a zip.

Go into FileExplorer,
go to where you downloaded it.
click and hold it,
select rename,
change zip -> apk

sheepgoesleft.zip -> sheepgoesleft.apk

***do not unzip it***
Friday, 03 August 2012, 15:03
Just about to try that now, thanks for the info.
Friday, 03 August 2012, 15:09
Just tried it, all I get is an error: "Application not installed".
Saturday, 04 August 2012, 01:49
Go Right
Application not installed

Saturday, 04 August 2012, 10:21
That's exactly what I get here, first it says "Installing" and then says "Application not installed".
Saturday, 04 August 2012, 10:54
Dang it. Ive had so many problems with the IDE that i just uninstalled it and I'm going to rebuild the game in a different one.

The program keeps crashing, giveing me ridiculous errors saying that files are missing that clearly arent and i switched to IntelliJ IDEA. (from Eclipse Juno).

Again sorry about all this, its more hassle than it's worth.
Saturday, 04 August 2012, 11:00
I'm sure you will get there eventually.
Saturday, 04 August 2012, 17:36
Thanks! I sure hope i do!
Sunday, 05 August 2012, 12:35
after actually playing the game on a tablet, you move fast. I mean really fast. wanted to make it universal.

Works on all sizes but there are some graphical bugs and still no sound.
Saturday, 11 August 2012, 06:08
It loads up and plays but the sprite detection is a bit liberal.
Saturday, 11 August 2012, 10:23
Good to know that it runs on someone else's. And by sprite detection you mean collisions right?
Saturday, 11 August 2012, 14:05
Comment Goes Here!Yeah that's what I meant, collisions. I haven't managed to get past the first obstacle yet if my info will help in fine tuning your game.
Saturday, 11 August 2012, 14:06
It seems to collide when the sheep is within half a sprite width of the other sprite.
Saturday, 11 August 2012, 14:16
for mine its a larger area. Maybe it has to do with the screen size. Mine it seems about 1.25 sprites. I should probably make an option to change that.

Just to make sure you mean its colliding too soon or too late?
Saturday, 11 August 2012, 14:17
also what is your screen size?
Saturday, 11 August 2012, 15:12
My phone is a Samsung Galaxy Ace and I think the screen size is 3.5 inch.
Saturday, 11 August 2012, 15:17
According to the link below, my phone's resolution is 320 x 480.

Saturday, 11 August 2012, 17:05
I dont see anything in the code that would make that different per screen size.

int size is the size of the player (the sheep) which is also the same size as the spike.
Saturday, 11 August 2012, 20:24
I would do a screen shot to show how far the gap is between to two sprites but I dont think the phone has that kind of function.
Saturday, 11 August 2012, 20:28
I could say there's maybe at least a 5mm gap where it starts colliding.
Sunday, 12 August 2012, 11:31
Thanks for the bug report steve, I just went ahead and changed the collision type to all the <, > stuff and it works more efficiently even on my Kindle! Its been updated you can go ahead and test that see if anything is better if not i'll tweak it some more!
Sunday, 12 August 2012, 14:21
OK, I will go and test it for you now.
Sunday, 12 August 2012, 14:24
Awesome! tell me how it goes
Sunday, 12 August 2012, 15:12
Collision detection is spot on now.
Sunday, 12 August 2012, 15:13
Actually, scratch that, I have just discovered that the sheep doesn't die. LOL

|edit| I thought it seemed a bit too easy!. LOL |edit|
Sunday, 12 August 2012, 15:52
GAAAAAAAAAAAAAAAAHHHHH. back to the tweeking board.
Sunday, 12 August 2012, 16:26
Whoopsy i made a pretty funny error. I made it use the array index of the plays location (int x) instead of the loop counter (int z). It should work this time.

(PS: i didnt even realize that it wasnt colliding until i went back and tried to die on purpose!)
Sunday, 12 August 2012, 16:52
That's what I did after I originally thought it was spot on, I went back and tried killing the sheep.
Sunday, 12 August 2012, 16:58
Does it work now?
Monday, 13 August 2012, 13:01
Bare with me, I will give it a try.
Monday, 13 August 2012, 15:21
Its not working yet either. Not even on mine. For some reason only the spinning ones wont collide.
Monday, 13 August 2012, 16:20
Not getting any collisions at all either.
Monday, 13 August 2012, 17:17
I dont understand. Here is all then code for collisions it really should work flawlessly but it doesnt: