You Are Here:

Community: Developer Discussion Boards

#1 Old [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 06:47

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Online
Forum Nokia Champion
Greetings,

http://jouni.miettunen.googlepages.com/unity

Version 2.20, release date 2008-10-31
  • Disable screensaver when at foreground
  • Disable sensor when at background
  • Startup board size Small (5x6)
  • Cursor stays at selected non-empty tile when rotating
  • Simple end detection (1 tile remaining)
  • 3 - Jump level, for testing purposes
  • Fix: all top10 scores numbered 1-10
  • Tested on N82 (sensors)

HOX: Unity works in both accelerometer enabled devices and also in normal ones! If you have e.g. N82, turn the device sideways. Otherwise use keypad shortcuts (2 up, 6 right, 8 down, 4 left).

The idea is to clear the whole playing area by removing tiles in groups. The more tiles you remove at the same time, the more points you get. The trick is that the scoring system is exponential:

1 tile - cannot be removed
2 tiles - (2-2) ** 2 == 0 points
3 tiles - (3-2) ** 2 == 1
4 tiles - (4-2) ** 2 == 4
5 tiles - (5-2) ** 2 == 9
...
12 tiles - (12-2) ** 2 == 100
13 tiles - (13-2) ** 2 == 121
14 tiles - (14-2) ** 2 == 144
15 tiles - (15-2) ** 2 == 169
...
n tiles - (n-2) ** 2 == Lots of points

Tip: You should remove small groups in order to create larger groups. When the group is big enough even just one more tile will make a big difference!

When you remove tiles, the space will be filled by tiles above falling down. Empty columns will be filled by sliding remaining columns to left. If you manage to clear the whole field, you will get 1000 points as a bonus and go to next level.

Accelerometer Sensor usage

Turn device (up / down / left / right) to change which way tiles collapse. This allows you to get further on the game, by kind of "reshuffling" remaining tiles. Just keep rotating the device until you can remove the last ones

Keyboard usage

Use arrow keys (joystick) to move the white selection rectangle around the board. Press Select (joystick) to remove tile and all neighbouring tiles with same color. Press Backspace (C key, Clear key) to undo one last move.
  • 2 (Two) - Drop tiles upwards, shift columns right
  • 3 (Three) - Jump 3 levels forwards (for testing purposes)
  • 4 (Four) - Drop tiles leftwards, shift columns up
  • 5 (five) - New game
  • 6 (six)- Drop tiles rightwards, shift columns down
  • 7 (seven) - Take screenshot
  • 8 (eight) - Drop tiles downwards, shift columns left
  • * (star ) - Small board
  • 0 (zero) - Normal board
  • # (hash) - Large board
  • C (clear) - Undo last move (only one move)

Screenshots are saved into C:\Data\Images.

Enjoy,

--jouni
Reply With Quote

#2 Old Re: [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 07:14

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Hi Jouni,

Fantastic, was waiting for this.

Great work!

I tried it on my N95! Now this seems a very polished version

Btw, as I had mentioned before, do try to keep previous versions downloadable somewhere on the site

Best Regards,
Croozeus
Reply With Quote

#3 Old Re: [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 08:51

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Online
Forum Nokia Champion
Quote:
Originally Posted by croozeus View Post
I tried it on my N95! Now this seems a very polished version
Well, I'm not happy with the rotation and will change it some day! It works as I planned, but now that I see it in action it just isn't natural enough. Tiles should drop and shift based on gravity. That would be the right way

Quote:
Btw, as I had mentioned before, do try to keep previous versions downloadable somewhere on the site
I know what you mean, when I "lost" sources for 2.10 and overwrote the SIS with 2.20 content by mistake. Guess I'll have to install subversion and give up on manual version control. There's a saying "suutarin lapsilla ei ole kenkiä", but I have no idea what's that in English

As for keeping older versions online, I already have 54 files on googlepages.com. It's getting out of control, so adding all older versions for all apps would increase that with maybe 50+ files and that definitely would be too much...

I write too much, I guess The bigger problem is that there's dozens more I would like to write, some already started (hopefully next sw will be an address book related helper tool, unless I write a game by accident).

Cheers,

--jouni
Reply With Quote

#4 Old Re: [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 09:52

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Hello JOM ,

Congrat for the new version

But don't forget to update file names on your website (2.2 instead of 2.1

Happy gaming
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#5 Old Re: [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 11:53

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Online
Forum Nokia Champion
Quote:
Originally Posted by cyke64 View Post
But don't forget to update file names on your website (2.2 instead of 2.1
Well,

Minor side-effects from getting up at 0600.. Now version numbers should be ok and links should point to updated files

Hungry,

--jouni
Reply With Quote

#6 Old Re: [Update] Unity 2.20 (game with Sensor support) - 2008-10-31, 16:25

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Hi Jouni,

Thanks for this update

I really felt the absence of detecting automatically when the game was over on the former versions. Thanks for implementing this!

Congratulations and continue great work


BR,

Rafael.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
[Update] Unity 1.10 (game) JOM Python 14 2008-10-20 03:39
[Update] Unity 1.00 (game) JOM Python 8 2008-10-14 04:48
[Update] Unity v0.5 (game) JOM Python 5 2008-09-30 02:54
[Update] Unity v0.3 (game) JOM Python 9 2008-09-23 20:17
[Update] Unity v0.2 (game) JOM Python 7 2008-09-10 08:50

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ