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
| -- Bar class | |
| -- LGPL Juan Belón Pérez | |
| -- videojuegos.ser3d.es | |
| -- 2011 | |
| Bar = class() | |
| function Bar:init() | |
| self.bgems = {} | |
| self.time = 0 | |
| for i=1,maxGemsRow do |
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
| Animal = class() | |
| -- by juaxix / 11/2011 / XIX games | |
| -- http://www.xixgames.com | |
| function Animal:init() | |
| -- you can accept and set parameters here | |
| self.position = vec2(0,0) | |
| self.velocity = vec2(0,0) | |
| self.model = "Planet Cute:Enemy Bug" | |
| self.score = 0 | |
| end |
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
| -- Main code | |
| -- Copyright LGPL Juan Belón Pérez | |
| -- 11/2011 | |
| -- http://www.xixgames.com | |
| -- Use this function to perform your initial setup | |
| function setup() | |
| ships = {} | |
| persons = {} | |
| time = 0 | |
| seedSpd = 0.6 -- people generation speed |
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
| Alien = class() | |
| -- Free game by juaxix | |
| -- http://www.xixgames.com | |
| -- Copyright LGPL - 11/2011 | |
| function Alien:init(avoidy) | |
| self.position = vec2(0,math.max(math.abs(math.random(HEIGHT)-avoidy)),66) | |
| self.angle = math.pi | |
| self.points= 500 | |
| end |
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
| Fire = class() | |
| -- Towers versus Zombies by @juaxix | |
| -- LGPL - 11/2011 | |
| -- http://www.xixgames.com | |
| -- it is a pleasure to gift this to the world | |
| -- thanks from heart to all the 2lifesleft team | |
| function Fire:init(attackpower,position,model) | |
| self.attackpower = attackpower | |
| self.position = position | |
| self.parent = model |
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
| Bubble = class() | |
| -- Magic Puzzle Bubble by @juaxix - LGPL | |
| -- 11/11/11 | |
| -- http://xixgames.com | |
| -- video: http://www.youtube.com/watch?v=rD0fQVSj_7w | |
| -- Bubble states | |
| BUBBLE_EMPTY = 0 | |
| BUBBLE_CREATED = 1 | |
| BUBBLE_FLYING = 2 | |
| BUBBLE_ATTACHED = 3 |
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
| Boss = class() | |
| -- Bosses | |
| BOSS_MAIN = 1 | |
| BOSS_ALT = 2 | |
| -- Boss states | |
| BOSS_DEAD = 1 | |
| BOSS_ALIVE = 2 | |
| BOSS_DAMAGED = 3 | |
| function Boss:init(_position,_type,limit_position,_velocity) | |
| self.position = _position |
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
| /** | |
| Video: http://www.youtube.com/watch?v=gk8VQnXiyog | |
| */ | |
| global proc moveEach() | |
| { | |
| int $inc[]= | |
| { | |
| 18, | |
| 44, | |
| 74 |
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
| -- Class EnemyHorde | |
| -- Speed Shooting Earth | |
| -- A freesource game project using Codea and Google Maps | |
| -- More games: xixgames.com | |
| -- by @juaxix | |
| -- 6/6/2012 | |
| ENEMY_SPAWN_EASY = 0 | |
| ENEMY_SPAWN_HARD = 1 |
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
| // | |
| // aGameCenter_Codea.h | |
| // | |
| // Created by Juan Belón on 28/05/12 | |
| // Games -> http://www.xixgames.com | |
| // LGPL - @juaxix - Codea connection! | |
| // | |
| #import <Foundation/Foundation.h> | |
| #import <GameKit/GameKit.h> |
OlderNewer