Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: XVicarious on May 23, 2013, 03:47:35 pm

Title: Currently Unnamed Game -- Android!
Post by: XVicarious on May 23, 2013, 03:47:35 pm
So I have been porting an old game of mine to Android.  The original name was "[Danger in Shapes]", but now honestly after five years sounds really silly.  So as of now the game is unnamed. 

The original one is here: http://sandbox.yoyogames.com/games/68880-danger-in-shapes
If you want to play and help me think of a new name.

This game is written in Python and Pygame using Pygame Subset for Android to build for Android.  All you need to play is to install the APK, no extra things.

I need a new name for the game.  The first two levels are playable.  You'll initially come to a splash screen with my logo, just tap the screen and you go to the game.  Use the 8-directional DPad to move around.  The levels are quite difficult, but possible.  I'm currently working on the other levels.  There will eventually be 30 total levels and about $1.29 on the Google Play store.

http://xvicario.us/DiSAndroid-0.6-release.apk

The required version of Android is 4.0 I think (or 2.2, I really don't know lol). If need be I will see if I can build it for Android 2.2+
I know the screen resolution of the D-Pad works perfectly on my Galaxy Nexus, and my Nexus 7.  If it doesn't for you if you could kindly post your screen dimensions or DPI and I can see if I can fix it.

Remember this isn't a game yet.  Its pretty boring, but exciting since it is my first Android app.  It will be $1.29 in the Play Store I think, but I will release a special Omnimaga edition for free.

Spoiler For screenshots:
(http://xvicario.us/images/disdroid/disdroid2.png)
(http://xvicario.us/images/disdroid/disdroid4.png)
(http://xvicario.us/images/disdroid/disdroid5.png)
(http://xvicario.us/images/disdroid/disdroid6.png)

EDIT:  I was thinking about the levels making a list encoded in Base64, loaded from text files and read out each character representing a tile, and writing a tilemapper to draw it out.  Dunno, what do you guys think?

EDIT 2:
01:
Code: [Select]
11111111111111111111
12000000131111111111
11111110000011110001
19001111101011110101
11101111101000000101
10101000101111111101
13101010101100011101
10100010100400000001
11111110101011111111
10040010101011111111
11111110101011111111
10000000040000011111
11111111111111111111
Title: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 07, 2013, 02:39:04 pm
Post updated.  Please I need some help naming this game. 
Title: Re: Currently Unnamed Game -- Android!
Post by: Hayleia on June 07, 2013, 02:55:50 pm
I have absolutely no idea for the name of your game. However, I tried the last update and found some things that could be improved:
- The keys are a bit weird, it seems like they only detect one of them, and when pressing one, then pressing another one without releasing the first one, then releasing the first one, it still understands the first key.
- When I am in the bottom left corner, I don't see myself (because of the keys).

A way (maybe hard) to fix both of those problems would be to use a floating joystick to control the player. This way, you only have one "key" to detect (so the first problem disappears) and the fact it is floating makes the user able to put it where it doesn't disturb the field of vue.

Otherwise, it is still a fun game, even though quite hard.
Title: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 07, 2013, 06:47:20 pm
Well its all "elif" for the controls.  You might be accientally pressing one of the inter-cardinal directions instead.  Good idea for the floating joystick.  I'll likely get that done when I finish the rest of the engine (I only have a little more to go, the menu screen, saving the levels you completed, and level selection).
Possibly for the floating dpad I can have you hold the middle button on the dpad to move it.  It it quite hard.  But all the levels are possible amazingly.  There is a level (or two) that uses a dirty trick in the original you have to use and a new element from the 2nd game (which will be incorporated in this one) in a few levels.  At least the levels that use dirty tricks will be slightly revised, I haven't decided yet on the "bombs" from the second yet.

I'm starting to think to just use the original name "Danger in Shapes". 

EDIT:  I did the floating DPad.  It works, but might be a tad of a pain to use.
Title: Re: Currently Unnamed Game -- Android!
Post by: Juju on June 07, 2013, 10:13:04 pm
I tested it today, it doesnt even work on my device... 320x480 resolution with Android 4.0, for info. It just does nothing (black screen), then quits (on a press on the screen I think).
Title: Re: Currently Unnamed Game -- Android!
Post by: DJ Omnimaga on June 07, 2013, 10:37:44 pm
Are there any screenshots before I try it? (Assuming it even works on Android 2.x)
Title: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 08, 2013, 12:27:54 am
Oh boy Juju, I didn't plan for such small screens.  That will be something I'll have to fix.  The black screen and crash might have something to do with that, so again I'll have to fix that.
DJ: I think so.  I'm pretty sure that the minimum API level is 8 which is Android 2.3.  My screen resolution is at least 1280x720 so if it is less than that I'll have to make sure to fix that.

Also new version is up with the splash screen (dunno if that was in there before), and a menu with "Play" and "Quit" working, "Levels" does not work yet.
Title: Re: Currently Unnamed Game -- Android!
Post by: DJ Omnimaga on June 08, 2013, 12:32:28 am
That's my phone by the way: http://www.gsmarena.com/samsung_galaxy_551-3515.php
Title: Re: Currently Unnamed Game -- Android!
Post by: Juju on June 08, 2013, 12:39:45 am
DJ's is even smaller than mine and it has Android 2.2 IIRC, so I guess that game should be pretty lightweight to run it.
Title: Re: Currently Unnamed Game -- Android!
Post by: Streetwalrus on June 08, 2013, 03:24:05 am
I have a Nexus 4 so I can sure handle it. :P
/me runs
Edit : Looks pretty good, also I wonder how such a simple game can't run on your GNex.
Title: Re: Currently Unnamed Game -- Android!
Post by: aeTIos on June 08, 2013, 06:01:19 am
Found bug. balls can move through triangle without killing you.
idea for movement: have the user swipe the screen at any place and while he holds the screen, move in the direction of the swipe. I can explain itwith a drawing if you want.
Title: Re: Currently Unnamed Game -- Android!
Post by: Streetwalrus on June 08, 2013, 06:41:37 am
How do you do that bug ?
Title: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 08, 2013, 11:54:45 am
DJ: It should run on your phone, as API8 is Android 2.2.  But the problem lies within the screen size right now.  I'm not entirely sure what is wrong.  I'll have to fire up an emulator with a small screen size to test this out.

Streetwalker: Its a bit optimized and Python, being an interpreted language running on a phone.  But it can run about 200fps on my desktop (although pretty powerful), so I think there is some optimization that can be done.  Although I haven't really tried it on my phone since some of the optimization so I don't know exactly.

aeTIos:  I know this, and I honestly have no clue at why this is.  I haven't tried to fix it yet, since it only happens every once and a while and I wanted to concentrate on the rest of the engine first.
Title: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 08, 2013, 11:43:48 pm
First post updated with screenshots!
1: The menu screen
2: The first level
3: The first level with the dpad moved!
4: The second level
Title: Re: Currently Unnamed Game -- Android!
Post by: DJ Omnimaga on June 09, 2013, 01:38:46 am
I love how the graphics are. :D Only one issue, though, is how the logo in the background of the title screen has junk compressing it like with heavy JPEG compression.
Title: Re: Re: Currently Unnamed Game -- Android!
Post by: XVicarious on June 09, 2013, 10:52:18 am
It is a jpeg right now.  There is a file called android-presplash.jpg and I just recycled that so I'll have to fix that.  The walls are supposed to be purple and the level image green squares is actually a screenshot from the original game.  Those will be fixed soon as well.