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


 
melmantheman
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
Screenshots
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!

 

Comments


Sunday, 29 July 2012, 13:04
steve_ancell
Do I just drag this into my phone's Android folder?.
Sunday, 29 July 2012, 13:06
steve_ancell
Can't download, I just get a blank, white browser.
Sunday, 29 July 2012, 13:30
melmantheman
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
melmantheman
I think i found the problem. I uploaded the wrong apk.

lemme upload the right one
Sunday, 29 July 2012, 16:14
steve_ancell
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
melmantheman
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
melmantheman
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
steve_ancell
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
melmantheman
Go to Google Play and search for File Expert and tap to install it.
Friday, 03 August 2012, 09:37
spinal
It's a .zip file, all it does it explore the zip contents
Friday, 03 August 2012, 14:29
melmantheman
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
melmantheman
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

ex:
sheepgoesleft.zip -> sheepgoesleft.apk

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


Saturday, 04 August 2012, 10:21
steve_ancell
That's exactly what I get here, first it says "Installing" and then says "Application not installed".
Saturday, 04 August 2012, 10:54
melmantheman
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
steve_ancell
I'm sure you will get there eventually.
Saturday, 04 August 2012, 17:36
melmantheman
Thanks! I sure hope i do!
Sunday, 05 August 2012, 12:35
melmantheman
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
steve_ancell
It loads up and plays but the sprite detection is a bit liberal.
Saturday, 11 August 2012, 10:23
melmantheman
Good to know that it runs on someone else's. And by sprite detection you mean collisions right?
Saturday, 11 August 2012, 14:05
steve_ancell
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
steve_ancell
It seems to collide when the sheep is within half a sprite width of the other sprite.
Saturday, 11 August 2012, 14:16
melmantheman
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
melmantheman
also what is your screen size?
Saturday, 11 August 2012, 15:12
steve_ancell
My phone is a Samsung Galaxy Ace and I think the screen size is 3.5 inch.
Saturday, 11 August 2012, 15:17
steve_ancell
According to the link below, my phone's resolution is 320 x 480.

www.samsung.com/hk_en/consumer/mobile/mobile-phones/smartphone/GT-S5830OKATGY-spec
Saturday, 11 August 2012, 17:05
melmantheman
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
steve_ancell
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
steve_ancell
I could say there's maybe at least a 5mm gap where it starts colliding.
Sunday, 12 August 2012, 11:31
melmantheman
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
steve_ancell
OK, I will go and test it for you now.
Sunday, 12 August 2012, 14:24
melmantheman
Awesome! tell me how it goes
Sunday, 12 August 2012, 15:12
steve_ancell
Collision detection is spot on now.
Sunday, 12 August 2012, 15:13
steve_ancell
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
melmantheman
GAAAAAAAAAAAAAAAAHHHHH. back to the tweeking board.
Sunday, 12 August 2012, 16:26
melmantheman
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
steve_ancell
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
melmantheman
Does it work now?
Monday, 13 August 2012, 13:01
steve_ancell
Bare with me, I will give it a try.
Monday, 13 August 2012, 15:21
melmantheman
Its not working yet either. Not even on mine. For some reason only the spinning ones wont collide.
Monday, 13 August 2012, 16:20
steve_ancell
Not getting any collisions at all either.
Monday, 13 August 2012, 17:17
melmantheman
I dont understand. Here is all then code for collisions it really should work flawlessly but it doesnt: