This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AppDelegate.mm | |
// <#MyProjectName#> | |
// | |
// Created by <#AuthorName#> on <#CurrentDate#> | |
// Copyright (c) <#AuthorName#>. All rights reserved. | |
// | |
#import "AppDelegate.h" | |
#import "CodeaViewController.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Ball | |
---------------- | |
-- Ball Class -- | |
---------------- | |
Ball = class() | |
function Ball:init() | |
self.pos = vec2(WIDTH / 2, 41) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Use this function to perform your initial setup | |
function setup() | |
fontinfo={} | |
fontinfo["#"] = { points=11, width=21, ascii=35, | |
data={ 11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6 } } | |
end | |
-- This function gets called once every frame | |
function draw() | |
NewerOlder