[Marble-devel] Review Request 119264: Added " identify the country shape" game.
Abhinav Gangwar
abhgang at gmail.com
Wed Aug 6 09:05:12 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119264/
-----------------------------------------------------------
(Updated Aug. 6, 2014, 3:35 p.m.)
Review request for Marble, Bernhard Beschow, Dennis Nienhüser, Torsten Rahn, and Thibaut Gridel.
Changes
-------
Added new game which asks user to click on a given country on map. For I tried to display a pin on map where user clicks.
For that I used a GeoDataDocument which contains a point placemark whose coordinates are updated dynamically based on where user has clicked on map. The placemark uses a shared style which contains a GeoDataIconStyle to display pin on map. This document is added to treemodel.
This code is in ClickOnThat.cpp. But this doesn't work - I don't know why ? So, I need help here .
ClickOnThat::initiateGame() which constructs this document, style, and placemark. I update the coordinate of this document's placemark in ClickOnThat::updateSelectPin(...) .
And here is a video showing all the games http://youtu.be/bCjeIShqK50 .
Repository: marble
Description
-------
Added "identify the country shape" game.
1. Game randomly highlights a country on political map.
2. It displays random answer options out of which only one is correct. The user needs to check the button
displaying correct option.
Here is a video showing the game http://youtu.be/kr0HsxLWXPs .
Here is a new video showing the new UI ( with qtquick 2.0 ) in left dock widget panel which now shows a QQuickView window. http://youtu.be/o-6ZTkqWxrw
The game needs the patch https://git.reviewboard.kde.org/r/118717/ to work.
Diffs (updated)
-----
src/apps/marble-game/ClickOnThat.cpp PRE-CREATION
src/apps/marble-game/ClickOnThat.qml PRE-CREATION
src/apps/marble-game/CountryByFlag.h PRE-CREATION
src/apps/marble-game/CountryByFlag.cpp PRE-CREATION
src/apps/marble-game/CountryByFlag.qml PRE-CREATION
src/apps/marble-game/CountryByShape.h PRE-CREATION
src/apps/marble-game/CountryByShape.cpp PRE-CREATION
src/apps/marble-game/CountryByShape.qml PRE-CREATION
src/apps/marble-game/CustomButton.qml PRE-CREATION
src/apps/marble-game/CustomRadioButton.qml PRE-CREATION
src/apps/marble-game/GameMainWindow.h PRE-CREATION
src/apps/marble-game/GameMainWindow.cpp PRE-CREATION
src/apps/marble-game/GameOptions.qml PRE-CREATION
src/apps/marble-game/GamesView.qml PRE-CREATION
src/apps/marble-game/game.ui PRE-CREATION
src/apps/marble-game/gamemain.cpp PRE-CREATION
src/apps/marble-game/marble.rc PRE-CREATION
src/apps/marble-game/window.qml PRE-CREATION
src/lib/marble/FileManager.h 33de7cc
data/bitmaps/fixing-pin.svg PRE-CREATION
data/bitmaps/target.svg PRE-CREATION
src/apps/CMakeLists.txt 022cd02
src/apps/marble-game/CMakeLists.txt PRE-CREATION
src/apps/marble-game/ClickOnThat.h PRE-CREATION
Diff: https://git.reviewboard.kde.org/r/119264/diff/
Testing
-------
Works fine here :) .
File Attachments
----------------
game.diff
https://git.reviewboard.kde.org/media/uploaded/files/2014/07/14/d66172dc-0395-45a1-90de-403b411d1a5f__game.diff
Thanks,
Abhinav Gangwar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140806/d055c74b/attachment.html>
More information about the Marble-devel
mailing list