ya2 · news · projects · code · about

fixed level domino-box-basketball
authorFlavio Calva <f.calva@gmail.com>
Tue, 7 Jun 2022 18:57:53 +0000 (19:57 +0100)
committerFlavio Calva <f.calva@gmail.com>
Tue, 7 Jun 2022 18:57:53 +0000 (19:57 +0100)
logics/scenes/scene_domino_box_basketball.py
prj.org

index e24c548b6f046fefb8840797c0b349ad834ce85f..618147813523c2a01ffbeac3ee18acf21827b9c2 100644 (file)
@@ -20,6 +20,9 @@ class SceneDominoBoxBasketball(Scene):
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(-.56, 0, -1.45))]
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(1.67, 0, -1.45))]
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(3.78, 0, -1.45))]
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(-.56, 0, -1.45))]
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(1.67, 0, -1.45))]
         self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(3.78, 0, -1.45))]
+        self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(1.48, 0, .38), r=-90)]
+        self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(2.62, 0, .05))]
+        self.items += [Shelf(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, mass=0, pos=(4.88, 0, .05))]
         #self.items += [Domino(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=9)]
         self.items += [Domino(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, pos=(1.68, 0, -.89))]
         self.items[-1].set_strategy(DownStrategy(self.items[-1]._np, 35))
         #self.items += [Domino(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, count=9)]
         self.items += [Domino(self._world, self._mouse_plane_node, self.cb_inst, self.current_bottom, self.repos, pos=(1.68, 0, -.89))]
         self.items[-1].set_strategy(DownStrategy(self.items[-1]._np, 35))
diff --git a/prj.org b/prj.org
index a5d1842c391089e96d321241cf5617cf9a5b791c..d9d92377fae488419f7e0f1f3357fc8333f2454c 100644 (file)
--- a/prj.org
+++ b/prj.org
@@ -3,16 +3,9 @@
 #+CATEGORY: pmachines
 #+TAGS: bug(b) calendar(c) waiting(w)
 
 #+CATEGORY: pmachines
 #+TAGS: bug(b) calendar(c) waiting(w)
 
-* RED refactoring
-* BACKLOG improve level domino box basketball: it can be solved trivially
-* BACKLOG do intro video with moviepy
-* BACKLOG optimize slow tests
+* RED do intro video with moviepy
+* READY optimize slow tests
 * BACKLOG implement functional tests with xmlrpc; retrieve the coordinates with rpc
 * BACKLOG implement functional tests with xmlrpc; retrieve the coordinates with rpc
-* BACKLOG intro animation (from target item to start position)
-* BACKLOG buttons of the scenes enabled sequentially
-- [ ] each scene has a version
-- [ ] when you win save the id + version
-- [ ] put an "update" if id is saved and versions are different
 * BACKLOG functional tests for performance (frame rate)
 * BACKLOG functional tests for "cleaning" i.e. at the end of the states verify:
 - [ ] active threads
 * BACKLOG functional tests for performance (frame rate)
 * BACKLOG functional tests for "cleaning" i.e. at the end of the states verify:
 - [ ] active threads
 - [ ] current nodepaths (render3d)
 - [ ] current accepting events
 - [ ] current buffers
 - [ ] current nodepaths (render3d)
 - [ ] current accepting events
 - [ ] current buffers
+* BACKLOG intro animation (from target item to start position)
+* BACKLOG buttons of the scenes enabled sequentially
+- [ ] each scene has a version
+- [ ] when you win save the id + version
+- [ ] put an "update" if id is saved and versions are different
 * BACKLOG actions: rewind, prev, next
 * BACKLOG teeter-tooter with constraints (real teeter tooter), magnet, road cone, bucket
 * BACKLOG (when panda3d provides it) android build (test with the emulator of android studio)
 * BACKLOG actions: rewind, prev, next
 * BACKLOG teeter-tooter with constraints (real teeter tooter), magnet, road cone, bucket
 * BACKLOG (when panda3d provides it) android build (test with the emulator of android studio)