require "Cocos2d" require "Cocos2dConstants" local GameScene = class("GameScene",function() return cc.Scene:createWithPhysics() end) function GameScene:ctor() end function GameScene.create() local scene = GameScene.new() return scene end -- レイヤーの作成 function GameScene:createLayer() end -- パドルの作成 function GameScene:createPaddle() end -- ボールの作成 function GameScene:createBall() end -- ラベルの作成 function G
![Cocos Code IDEとLua言語でブロック崩しを作ってみる - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/64faf27b9b394f8d4f94c66376119fe628a7819c/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9Q29jb3MlMjBDb2RlJTIwSURFJUUzJTgxJUE4THVhJUU4JUE4JTgwJUU4JUFBJTlFJUUzJTgxJUE3JUUzJTgzJTk2JUUzJTgzJUFEJUUzJTgzJTgzJUUzJTgyJUFGJUU1JUI0JUE5JUUzJTgxJTk3JUUzJTgyJTkyJUU0JUJEJTlDJUUzJTgxJUEzJUUzJTgxJUE2JUUzJTgxJUJGJUUzJTgyJThCJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz0yYzkzYzgyODdkM2MyYzliY2Y2YmQ5ZjIxODY5YjhjYg%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBzZW5jaGFuMDUmdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPWQxNTIwMTkwZjI1ODA1ODM2ZTlmNGZkNWNmZWMzZjQx%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D9631b5814d11abb46870d6587be80292)