Permalink
Browse files

Made Frogatto and Cube Trains compile for the PlayBook.

  • Loading branch information...
DDR0 committed Sep 2, 2012
1 parent ffdde1b commit 55f3988a76b2b30e28ba4621f4c1fa3f118b6e9d
@@ -1,23 +0,0 @@
-{
-"@derive": "@include data/level/header-info.cfg",
-id: "downstairs-reversed.cfg",
-character: [
- {
- _addr: "0",
- is_human: true,
- type: "ct-cursor-edit",
- vars: {
- levels: ["tutorial-2.cfg","pentagonal-court.cfg","good-cubes.cfg","downstairs-reversed.cfg","yenna-key.cfg","t-shaft.cfg"],
- },
- on_first_cycle: "[load_from_controller]",
- on_won_level: "if(levels, [swallow_event(), teleport(levels[0], 'fade'), set(levels, levels[1:size(levels)])], end_game())",
- },
- {
- _addr: "0",
- type: "level_controller",
- vars: {
- toLoad: {'limits': {'max': [1,2,0],'min': [-1,-2,-2]},'map': [['ct-block-5',[1,-2,0],0,'normal'],['ct-block-5',[1,2,0],0,'normal'],['ct-block-5',[1,2,-1],0,'normal'],['ct-block-5',[1,1,-1],0,'normal'],['ct-block-5',[1,0,-1],0,'normal'],['ct-block-5',[1,-1,-1],0,'normal'],['ct-block-5',[1,-2,-1],0,'normal'],['ct-block-5',[1,-2,-2],0,'normal'],['ct-block-5',[1,2,-2],0,'normal'],['ct-block-5',[1,2,-3],0,'normal'],['ct-block-5',[1,1,-3],0,'normal'],['ct-block-5',[1,0,-3],0,'normal'],['ct-block-5',[1,-1,-3],0,'normal'],['ct-block-5',[1,-2,-3],0,'normal'],['ct-block-5',[0,-2,-3],0,'normal'],['ct-block-5',[0,-1,-3],0,'normal'],['ct-block-5',[0,0,-3],0,'normal'],['ct-block-5',[0,1,-3],0,'normal'],['ct-block-5',[0,2,-3],0,'normal'],['ct-block-5',[-1,2,-3],0,'normal'],['ct-block-5',[-1,1,-3],0,'normal'],['ct-block-5',[-1,0,-3],0,'normal'],['ct-block-5',[-1,-1,-3],0,'normal'],['ct-block-5',[-1,-2,-3],0,'normal'],['ct-block-5',[2,2,-3],0,'normal'],['ct-block-5',[2,1,-3],0,'normal'],['ct-block-5',[2,0,-3],0,'normal'],['ct-block-5',[2,-1,-3],0,'normal'],['ct-block-5',[2,-2,-3],0,'normal'],['ct-block-5',[2,-2,-2],0,'normal'],['ct-block-5',[2,0,-2],0,'normal'],['ct-block-5',[2,2,-2],0,'normal'],['ct-block-5',[2,2,-1],0,'normal'],['ct-block-5',[2,1,-1],0,'normal'],['ct-block-5',[2,0,-1],0,'normal'],['ct-block-5',[2,-1,-1],0,'normal'],['ct-block-5',[2,-2,-1],0,'normal'],['ct-block-5',[2,-2,0],0,'normal'],['ct-block-5',[2,0,0],0,'normal'],['ct-block-5',[2,2,0],0,'normal'],['ct-edge-hedge-7',[1,-1,0],0,'normal'],['ct-edge-hedge-7',[1,1,0],0,'normal'],['ct-edge-hedge-7',[1,-1,-2],0,'normal'],['ct-edge-hedge-7',[1,1,-2],0,'normal'],['ct-edge-hedge-3',[1,-1,0],0,'normal'],['ct-edge-hedge-3',[1,1,0],0,'normal'],['ct-edge-hedge-3',[1,1,-2],0,'normal'],['ct-edge-hedge-3',[1,-1,-2],0,'normal'],['ct-edge-hedge-9',[0,-2,-2],0,'normal'],['ct-edge-hedge-9',[0,2,-2],0,'normal'],['ct-edge-hedge-9',[1,0,-2],0,'normal'],['ct-edge-hedge-1',[-1,2,-2],0,'normal'],['ct-edge-hedge-1',[-1,1,-2],0,'normal'],['ct-edge-hedge-1',[-1,0,-2],0,'normal'],['ct-edge-hedge-1',[-1,-1,-2],0,'normal'],['ct-edge-hedge-1',[-1,-2,-2],0,'normal'],['ct-tree1-center-3',[-1,-1,-2],0,'normal'],['ct-tree1-center-3.tip',[-1,-1,-1],0,'normal'],['ct-tree1-center-7',[-1,1,-2],0,'normal'],['ct-tree1-center-7.tip',[-1,1,-1],0,'normal'],['ct-square-shadow-5',[1,-2,-2],0,'normal'],['ct-square-shadow-5',[1,-2,-1],0,'normal'],['ct-square-shadow-5',[1,-2,0],0,'normal'],['ct-square-shadow-5',[1,2,-2],0,'normal'],['ct-square-shadow-5',[1,2,-1],0,'normal'],['ct-square-shadow-5',[1,2,0],0,'normal'],['ct-square-shadow-5',[2,-2,-2],0,'normal'],['ct-square-shadow-5',[2,-2,-1],0,'normal'],['ct-square-shadow-5',[2,-2,0],0,'normal'],['ct-square-shadow-5',[2,0,-2],0,'normal'],['ct-square-shadow-5',[2,0,-1],0,'normal'],['ct-square-shadow-5',[2,0,0],0,'normal'],['ct-square-shadow-5',[2,2,-2],0,'normal'],['ct-square-shadow-5',[2,2,-1],0,'normal'],['ct-square-shadow-5',[2,2,0],0,'normal'],['ct-tunnel-1',[2,1,0],[5,0,4,[0,0]],'green'],['ct-tunnel-1.track',[2,1,0],0,'normal'],['ct-tunnel-1',[2,-1,-2],[5,0,4,[0,0]],'green'],['ct-tunnel-1.track',[2,-1,-2],0,'normal'],['ct-tunnel-1',[2,1,-2],[5,0,4,[0,0]],'red'],['ct-tunnel-1.track',[2,1,-2],0,'normal'],['ct-tunnel-1',[2,-1,0],[5,0,4,[0,0]],'red'],['ct-tunnel-1.track',[2,-1,0],0,'normal']],'name': 'Basement Blues'},
- },
- },
-],
-}
@@ -2,6 +2,5 @@
id: "cube_trains",
name: "Cube Trains",
min_engine_version: 1.2,
-arguments: ["--width", "1000", "--height", "775", "--bigscreen", "--proportional-resize", "--no-iphone-controls", "--no-autopause"]
-//arguments: []
+arguments: [/*"--width", "1000", "--height", "775",*/ "--bigscreen", "--proportional-resize", "--no-iphone-controls", "--no-autopause"]
}
@@ -234,6 +234,7 @@ Set up frogatto. Follow this chat log:
Configuration for to release Cube Trains:
Testing:
+ -- Make sure the compiled mode flag in prefrences.cpp is toggled appropriately. --
① Move the (slightly renamed) bar-descriptor file, and the master-config.cfg file, from the modules/cube_trains directory. (Replace the existing bar-descriptor.)
② Run "make assets", which will now compile Cube Trains data and images.
③ Checksum the .cfgs for release, so stats are reported.
@@ -246,3 +247,4 @@ Testing:
⑩ Repeat step two, but set the configuration to Device-Release.
⑪ Change the build target of your projects to Device-Release from Device-Debug from the right-click menu.
⑫ Recompile everything in order, and upload the project to the PlayBook.
+ -- Make sure you've put back the bar-descriptor AND the master-config files. --
@@ -62,20 +62,15 @@
<!-- The category where the application appears. Either core.games or core.media. -->
<category>core.games</category>
- <asset path="locale">locale</asset>
<asset path="data">data</asset>
<asset path="images">images</asset>
- <asset path="music">music</asset>
- <asset path="sounds">sounds</asset>
<asset path="DejaVuSans.ttf">DejaVuSans.ttf</asset>
<asset path="FreeMono.ttf">FreeMono.ttf</asset>
- <asset path="images/os/blackberry/bbsplash.jpg">bbsplash.jpg</asset>
- <asset path="images/os/blackberry/bbicon.png">bbicon.png</asset>
- <asset path="master-config.cfg">master-config.cfg</asset>
<asset path="modules/cube_trains/data">modules/cube_trains/data</asset>
<asset path="modules/cube_trains/images">modules/cube_trains/images</asset>
<asset path="modules/cube_trains/module.cfg">modules/cube_trains/module.cfg</asset>
<asset path="modules/cube_trains/images/window-icon.png">window-icon.png</asset>
+ <asset path="modules/cube_trains/master-config.cfg">master-config.cfg</asset>
<configuration id="com.qnx.qcc.configuration.exe.debug.925317493" name="Device-Debug">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="Device-Debug/frogatto" entry="true" type="Qnx/Elf">frogatto</asset>
View
@@ -239,7 +239,7 @@ namespace preferences {
int virtual_screen_height_ = 600;
int actual_screen_width_ = 1024;
int actual_screen_height_ = 600;
- bool load_compiled_ = true;
+ bool load_compiled_ = false;
bool use_fbo_ = true;
bool use_bequ_ = true;
bool use_16bpp_textures_ = false;

0 comments on commit 55f3988

Please sign in to comment.