colors
This commit is contained in:
parent
b2f541edf4
commit
e281a041bb
20
config.js
20
config.js
|
@ -3,6 +3,24 @@ gameobject.clone("ball", {
|
|||
img: sprite.clone(),
|
||||
});
|
||||
|
||||
var Gameboy = {
|
||||
darkest: [15,56,15],
|
||||
dark: [48,98,48],
|
||||
light: [139,172,15],
|
||||
lightest: [155,188,15]
|
||||
};
|
||||
|
||||
var Rainbow = {
|
||||
red: [204,0,1],
|
||||
orange: [255,102,0],
|
||||
darkorange: [205,102,1],
|
||||
yellow: [205,204,0],
|
||||
green: [0,153,1],
|
||||
blue: [53,51,255]
|
||||
};
|
||||
|
||||
var Resources = [];
|
||||
|
||||
Resources["brick.png"] = {
|
||||
frames:6,
|
||||
fps:24,
|
||||
|
@ -12,7 +30,7 @@ Resources["brick.png"] = {
|
|||
gameobject.clone("brick", {
|
||||
collider: polygon2d.clone(),
|
||||
char: char2d.clone({
|
||||
flash:"brick.png"}
|
||||
flash:"brick.png"
|
||||
}),
|
||||
|
||||
start() {
|
||||
|
|
Loading…
Reference in a new issue