You Are Here:

Community: Developer Discussion Boards

#1 Old [Update] Unity v0.5 (game) - 2008-09-28, 23:07

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

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

Unity was originally invented in Japan 1985 as "Chain Shot!" by Kuniaki Moribe. After that it has spread all over the world with names such as SameGame, TumeGame, KomeGame, MameGame, DebaGame, TileFall, Cabeem, MaciGame, GD-BMD etc.

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
6 tiles - (6-2) ** 2 == 16
7 tiles - (7-2) ** 2 == 25
8 tiles - (8-2) ** 2 == 36
9 tiles - (9-2) ** 2 == 49
10 tiles - (10-2) ** 2 == 64
11 tiles - (11-2) ** 2 == 81
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: As you can see 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.

Usage

Use arrow keys (joystick) to move the white selection rectangle around the board.

Press Select (joystick) to make a selection to remove tile and all neighbouring tiles with same color.

Press Backspace (C key, Clear key) to undo one last move.

Press Star (*) to save a screenshot into C:\Data\Images

Version History

Version 0.5, release date 2008-09-28
  • Tiles visually connected
  • Top-10 high score table
  • Cursor wraps around screen edges
  • Fadeout selected tiles before removal
  • Fix: undo one move
  • Tested with N82 (pyS60 1.4.3)

Enjoy,

--jouni
Reply With Quote

#2 Old Re: [Update] Unity v0.5 (game) - 2008-09-28, 23:49

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by JOM View Post
Greetings,

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


Version History

Version 0.5, release date 2008-09-28
  • Tiles visually connected
  • Top-10 high score table
  • Cursor wraps around screen edges
  • Fadeout selected tiles before removal
  • Fix: undo one move
  • Tested with N82 (pyS60 1.4.3)

Enjoy,

--jouni
Hi Jouni

Great work on this updated version
The visual connection help me much !
But the fadeout seems to slow down game
I don't understand what you mean by cursor wraps
And what's the problem with the undo move ?


Happy python 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

#3 Old Re: [Update] Unity v0.5 (game) - 2008-09-29, 00:25

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by cyke64 View Post
Great work on this updated version
The visual connection help me much !
But the fadeout seems to slow down game
I don't understand what you mean by cursor wraps
And what's the problem with the undo move ?
Thanx

It's pretty simple visual style, but at least there's still "tiles" visible. One version looked like tetris and even I got confused about what happened when removing something!

Fadeout is now just 3x 0.05 sec steps (in theory), guess how slow animation would look like... But it's still on the list

Cursor wraps from left screen edge to right edge, when you try to go more left in the most left column. Yep, confusing and occasionally annoyning. Most likely will remove in next version.

Problem with undo, still ??? Already fixed one problem Sure there is something wrong, but I thought it's not visible in this version. Had to drop the requested "pay 1000 points to remove single tile", since it stopped working after undo. Too tired to fix it tonight, so off it went!

Cheers,

--jouni
Reply With Quote

#4 Old Re: [Update] Unity v0.5 (game) - 2008-09-29, 05:02

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

Boom !

Tried the 0.5 version - got an error, in line 54

Quote:
(a,b)=fname.split('.')
ValueError: Unpack list of wrong size
Tried on E90 and N95.

Other suggestions, I feel that previous releases should also be available for download, on the site. It was good that I renamed the file locally before trying, otherwise I would have lost the previous version of the game

Also, should consider naming the files according to versions : Unity_V_05.py, Unity_V_05.sis, etc.

Best Regards,
Croozeus
Reply With Quote

#5 Old Re: [Update] Unity v0.5 (game) - 2008-09-29, 08:39

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by croozeus View Post
Boom !
Tried the 0.5 version - got an error, in line 54
That line of code is expecting filename with "." in middle. Seems like you don't get it... Weird!

Quote:
Originally Posted by croozeus View Post
Tried on E90 and N95.
Please send me a screenshot of E90, when you have version wich works! WOuld like see what it looks like == should be pretty unusable, landscape is still being planned

Quote:
Originally Posted by croozeus View Post
Other suggestions, I feel that previous releases should also be available for download, on the site. It was good that I renamed the file locally before trying, otherwise I would have lost the previous version of the game
Will do!

About the crash, I could not repeat it myself.. But I did try for the first time ever to install on C-drive and it just wouldn't start! I'll debug this evening, but until then: try installing on memory card!

Unity is just 600+ LOC, not too bad. Rol-a-bol is 800+ LOC and there has never been a problem - but Rol-a-Bol doesn't require anything from anyone. Unity is trying to save/load high score file. Dependencies are always bad

Sorry,

--jouni
Reply With Quote

#6 Old Re: [Update] Unity v0.5 (game) - 2008-09-30, 02:54

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

Cannot figure out why, but seems like SIS really has to be installed on same disk drive as the python. In my case that's Memory Card, but some peope might have have to install on Phone Memory. Frustrating

Actually it was so frustrating that I rewrote most of high score related routines and added Easy, Normal and Hard games. Shouldn't have done that, I really don't like feature creep

Good night,

--jouni
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
Question. Free memory in Game Loop(J2ME) videador Mobile Java General 5 2009-08-24 07:05
[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
[Announce] Unity Beta v0.1 (game) JOM Python 2 2008-09-01 09:39
Great game Wappo geonofear News, Announcements and Job Listings 2 2007-01-03 13:00

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