summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/samegame.js
Commit message (Collapse)AuthorAgeFilesLines
* Refactor demosAlan Alpert2010-03-021-250/+0
| | | | Samegame and Twitter are now trying the new naming convention.
* Fix SameGame high scoresAlan Alpert2010-02-151-2/+3
| | | | | When it's deployed across multiple devices, there is no 'standard' grid size. This allows non-desktop versions to display high scores.
* Enhance samegame high score dialogAlan Alpert2010-02-151-0/+4
| | | | | 'Better' layout mechanics, included animated resize for those people with long names.
* Set score text color (so that it will be visible)Alan Alpert2009-12-161-1/+1
|
* Fix use of XmlHttpRequest in examplesAlan Alpert2009-11-271-0/+1
|
* Update examples for new SQL API.Warwick Allison2009-11-181-22/+10
|
* Add local highscores to SameGameAlan Alpert2009-10-291-4/+39
|
* make remotableWarwick Allison2009-10-261-4/+1
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-071-13/+13
|\ | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into test Conflicts: demos/declarative/samegame/content/samegame.js tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp
| * Refactor tileSize to the gameCanvas itemAlan Alpert2009-10-071-13/+12
| |
| * Consistent Commenting in SamegameAlan Alpert2009-10-051-0/+1
| |
* | Reenable types/enums and move scripts into an isolated scopeAaron Kennedy2009-10-051-0/+5
| |
* | Prevent writes to the global objectAaron Kennedy2009-10-051-14/+14
| | | | | | | | Also add toString() method to qobjects
* | Improve script lookup cachingAaron Kennedy2009-10-051-0/+3
|/
* Clean up Same Game JSAlan Alpert2009-09-221-37/+12
| | | | Delayed loading is never used and is poorly implemented, so remove it.
* Close dialogs if they press new gameAlan Alpert2009-09-031-2/+7
| | | | Also only has one dialog shown when you win.
* Don't need to tweet high scores tooAlan Alpert2009-09-021-17/+0
|
* SameGame now asks for a name and saves your score.Alan Alpert2009-09-021-7/+5
| | | | | | | Included a rewriting of the Dialog item to be half-decent. Watch http://qtfx-nokia.trolltech.com.au/samegame/scores.php on the internal network for highscores!
* SameGame high score server support.Alan Alpert2009-09-021-1/+45
| | | | | | This commit contains all the functionality for sending high scores to a server, and the server. The server files have been installed at http://qtfx-nokia.trolltech.com.au/samegame for internal testing.
* Make SameGame ScalableAlan Alpert2009-07-291-0/+4
| | | | | Resize your window and hit new game This may invalidate high scores.
* Repurpose SameGame to be slimmerAlan Alpert2009-07-271-92/+19
| | | | No theming and no selected, plus some cleanup.
* Some SameGame cleanupAlan Alpert2009-07-231-20/+46
| | | | Mostly commenting the JS code.
* Move the mouse control of the game from the main file to the blocksAlan Alpert2009-07-231-6/+2
| | | | | This allows for spin on hover - note that the code to spin back is in there but not working at the moment.
* SameGame should now correctly determine game overAlan Alpert2009-07-231-5/+7
|
* Move the Script interface of QmlComponent to QmlBindableComponentAlan Alpert2009-07-211-2/+2
|
* Update AnimatedImage item to be more similar to AnimationsAlan Alpert2009-07-201-1/+1
| | | | Now has playing and paused properties that should behave the same.
* Update Gnome theme to only spin on mouse over, like same-gnomeAlan Alpert2009-07-201-24/+51
| | | | | Note that currently we can only get mouse move signals if a button is pressed.
* Bug fixes for SameGame demoAlan Alpert2009-07-201-3/+0
| | | | pngs are now 40x40, swapping between themes works again.
* Use the images from Same Gnome as our second theme.Alan Alpert2009-07-201-7/+2
| | | | | | Also stopped switching background as part of the theme, partly because SameGnome doesn't have a background image and partly because it wasn't working right anyway.
* SameGame notifies player of game overAlan Alpert2009-07-161-2/+24
| | | | As requested by Aaron.
* Updates to the SameGame demoAlan Alpert2009-07-161-1/+2
| | | | | Tiles now fall down from the top, instead of the corner, and a bit of clean up.
* Restyle SameGame demo based on feedbackAlan Alpert2009-07-151-20/+71
| | | | | | | | -Uses a more familar rule set -Default theme swapped -Sizing altered. Now the tiles are 40x40 so as to be able to be pretty and have shiny animations, board size is set by what can fit in the game canvas.
* Initial commit of the Same Game demo. Compare to KSame if on KDE.Alan Alpert2009-07-151-0/+163
This demo primarily demonstrates use of JS and dynamic creation with QML, by creating a functional and animated game entirely with QML & JS