home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
'Oh go on, one more go...', introducing My Tetris
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Smirnuff" data-source="post: 9105" data-attributes="member: 10545"><p>The quickest way for you to get this feature would be to modify the background graphic of the tetris control:</p><p></p><p>\skin\mce\media\tetris\background.png</p><p>\skin\mce\media\tetris\background_focus.png</p><p></p><p>The blocks are 23 x 22 IIRC so drawing a grid with the same spacing centered on the above images would give you the desired effect, a small row of ticks or whatever. Looking at the images, they seem rather large (114Kb and 113kb) so they should be redone, perhaps I'll play around with some extra guides and so on and make them optional.</p><p></p><p>As to high scores, I'll try and write a php page over the weekend to handle a community scoreboard. I'm thinking that a very simple thing like:</p><p></p><p></p><p><a href="http://www.somewhere.com/scoreboard.php?action=submit&game=tetris&name=Someone&score=8912&level=10&lines=127" target="_blank">http://www.somewhere.com/scoreboard.php?action=submit&game=tetris&name=Someone&score=8912&level=10&lines=127</a></p><p></p><p>and</p><p></p><p><a href="http://www.somewhere.com/scoreboard.php?action=get&game=tetris" target="_blank">http://www.somewhere.com/scoreboard.php?action=get&game=tetris</a></p><p></p><p>Will store the top 10 scores in a flat file per game. Highscores will only be submitted if they exceed 7000 points (in the 7000s means that you're at level 10 and only an incredibly friendly sequence of blocks will see people going far beyond this score IMO) and if the score is higher than the previous highscore. Users will be prompted and have the option to completely disable checking the community highscore and or submitting it (e.g. Never, Ask, Always etc).</p><p></p><p>Suggestions welcome.</p></blockquote><p></p>
[QUOTE="Smirnuff, post: 9105, member: 10545"] The quickest way for you to get this feature would be to modify the background graphic of the tetris control: \skin\mce\media\tetris\background.png \skin\mce\media\tetris\background_focus.png The blocks are 23 x 22 IIRC so drawing a grid with the same spacing centered on the above images would give you the desired effect, a small row of ticks or whatever. Looking at the images, they seem rather large (114Kb and 113kb) so they should be redone, perhaps I'll play around with some extra guides and so on and make them optional. As to high scores, I'll try and write a php page over the weekend to handle a community scoreboard. I'm thinking that a very simple thing like: [url]http://www.somewhere.com/scoreboard.php?action=submit&game=tetris&name=Someone&score=8912&level=10&lines=127[/url] and [url]http://www.somewhere.com/scoreboard.php?action=get&game=tetris[/url] Will store the top 10 scores in a flat file per game. Highscores will only be submitted if they exceed 7000 points (in the 7000s means that you're at level 10 and only an incredibly friendly sequence of blocks will see people going far beyond this score IMO) and if the score is higher than the previous highscore. Users will be prompted and have the option to completely disable checking the community highscore and or submitting it (e.g. Never, Ask, Always etc). Suggestions welcome. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
'Oh go on, one more go...', introducing My Tetris
Contact us
RSS
Top
Bottom