wowowowowowowo so much stuff

This commit is contained in:
0x81c 2015-03-14 05:36:02 -04:00
parent fe21cb61e3
commit 2f40eaf000
249 changed files with 391 additions and 20 deletions

8
TODO Normal file
View file

@ -0,0 +1,8 @@
-write ruby script to output json table for processed art
-fix collision
-flesh out full mythos, i.e.: where is the player, why is the player here, what is the player trying to get, who is here, what do they thin_ of the player's presence (are they happy? is the player an old face to them?)
-decide on dialog trees
-should puzzles be sort of secondary to exploration? li_e should most of the game be weird fun and interaction, and then the 'off the rails' parts should be puzzles???
all of the npcs should be stuc_ in a cycle of whatever they're doing, focused on it, hav always been focused on it, maybe it has to do w/ the fact that they are always doing 'night activities'

18
_helpers.lua Normal file
View file

@ -0,0 +1,18 @@
function constrain(val, low, high)
if val > high then
return high
elseif val < low then
return low
else
return val
end
end
function map(value, inMin, inMax, outMin, outMax)
local inPercent = value / (inMax - inMin)
return (outMax - outMin) * (inPercent) + outMin
end
function lerp(a, b, amount)
return (1 - amount) * a + (amount * b)
end

23
art.lua Normal file
View file

@ -0,0 +1,23 @@
require "entity"
Art = class("Art", Entity)
function Art:initialize(x, y, color, name)
local spr = love.graphics.newImage("art/museum/to_process/cropped/processed/" .. name .. "_" .. string.lower(string.sub(color, 1, 1)) ..".png")
Entity.initialize(self, {
x = x,
y = y,
color = color,
collision = "moveable", --player can't push other player
sprite = spr
})
end
function Art:draw()
love.graphics.setColor(self.color:set())
local p = self:getDrawBox()
love.graphics.setLineWidth(drawScale) --equivalent of one pixel
love.graphics.rectangle("line", p.x, p.y, p.w, p.h)
love.graphics.draw(self.sprite, p.x, p.y, 0, drawScale, drawScale)
end

BIN
art/animals/badger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

BIN
art/animals/sad_frog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
art/animals/smile_dog.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
art/animals/smile_dog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
art/ase/image2_b.ase Normal file

Binary file not shown.

BIN
art/ase/image_r.ase Normal file

Binary file not shown.

BIN
art/ase/palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

11
art/extract.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
echo "extracting colors from $1..."
NAME=`echo "$1" | cut -d'.' -f1`
convert $1 -channel R -separate "${NAME}_r.png"
convert $1 -channel G -separate "${NAME}_g.png"
convert $1 -channel B -separate "${NAME}_b.png"
echo "done!!!"

BIN
art/food/bread.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
art/food/orig/bread.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

BIN
art/house/orig/table.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

BIN
art/house/table.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

BIN
art/image2_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

BIN
art/image2_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

BIN
art/image2_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

BIN
art/image_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

BIN
art/image_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

BIN
art/image_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

BIN
art/museum/adam_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

BIN
art/museum/adam_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

BIN
art/museum/adam_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

BIN
art/museum/david_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

BIN
art/museum/david_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

BIN
art/museum/david_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

BIN
art/museum/lilypond_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

BIN
art/museum/lilypond_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

BIN
art/museum/lilypond_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

BIN
art/museum/lisa_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

BIN
art/museum/lisa_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
art/museum/lisa_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
art/museum/palette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
art/museum/starry_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

BIN
art/museum/starry_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

BIN
art/museum/starry_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

BIN
art/museum/the_scream.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 KiB

Some files were not shown because too many files have changed in this diff Show more