wowowowowowowo so much stuff
8
TODO
Normal 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
|
|
@ -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
|
|
@ -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
|
After Width: | Height: | Size: 3.1 KiB |
BIN
art/animals/orig/sad_frog.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
art/animals/processed/badger_b.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
art/animals/processed/badger_g.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
art/animals/processed/badger_r.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
art/animals/processed/badger_reduced.png
Normal file
|
After Width: | Height: | Size: 468 B |
BIN
art/animals/processed/sad_frog_b.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
art/animals/processed/sad_frog_g.png
Normal file
|
After Width: | Height: | Size: 390 B |
BIN
art/animals/processed/sad_frog_r.png
Normal file
|
After Width: | Height: | Size: 310 B |
BIN
art/animals/processed/sad_frog_reduced.png
Normal file
|
After Width: | Height: | Size: 458 B |
BIN
art/animals/processed/smile_dog_b.png
Normal file
|
After Width: | Height: | Size: 385 B |
BIN
art/animals/processed/smile_dog_g.png
Normal file
|
After Width: | Height: | Size: 385 B |
BIN
art/animals/processed/smile_dog_r.png
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
art/animals/processed/smile_dog_reduced.png
Normal file
|
After Width: | Height: | Size: 422 B |
BIN
art/animals/sad_frog.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
art/animals/smile_dog.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
art/animals/smile_dog.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
art/ase/image2_b.ase
Normal file
BIN
art/ase/image_r.ase
Normal file
BIN
art/ase/palette.png
Normal file
|
After Width: | Height: | Size: 867 B |
BIN
art/color_changing_floor_tile_b.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
art/color_changing_floor_tile_g.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
art/color_changing_floor_tile_r.png
Normal file
|
After Width: | Height: | Size: 320 B |
11
art/extract.sh
Executable 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
|
After Width: | Height: | Size: 2.2 KiB |
BIN
art/food/orig/bread.jpg
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
art/food/processed/apple_scaled_b.png
Normal file
|
After Width: | Height: | Size: 288 B |
BIN
art/food/processed/apple_scaled_g.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
art/food/processed/apple_scaled_r.png
Normal file
|
After Width: | Height: | Size: 296 B |
BIN
art/food/processed/apple_scaled_reduced.png
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
art/food/processed/banana_b.png
Normal file
|
After Width: | Height: | Size: 275 B |
BIN
art/food/processed/banana_g.png
Normal file
|
After Width: | Height: | Size: 303 B |
BIN
art/food/processed/banana_r.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
art/food/processed/banana_reduced.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
art/food/processed/bread_b.png
Normal file
|
After Width: | Height: | Size: 403 B |
BIN
art/food/processed/bread_g.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
art/food/processed/bread_r.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
art/food/processed/bread_reduced.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
art/food/processed/grapefruit_b.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
art/food/processed/grapefruit_g.png
Normal file
|
After Width: | Height: | Size: 315 B |
BIN
art/food/processed/grapefruit_r.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
art/food/processed/grapefruit_reduced.png
Normal file
|
After Width: | Height: | Size: 362 B |
BIN
art/food/processed/kiwi_b.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
art/food/processed/kiwi_g.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
art/food/processed/kiwi_r.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
art/food/processed/kiwi_reduced.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
art/food/processed/palm_scaled_reduced.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
art/food/processed/wine_b.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
art/food/processed/wine_g.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
art/food/processed/wine_r.png
Normal file
|
After Width: | Height: | Size: 324 B |
BIN
art/food/processed/wine_reduced.png
Normal file
|
After Width: | Height: | Size: 358 B |
BIN
art/house/orig/table.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
art/house/processed/table_b.png
Normal file
|
After Width: | Height: | Size: 293 B |
BIN
art/house/processed/table_g.png
Normal file
|
After Width: | Height: | Size: 302 B |
BIN
art/house/processed/table_r.png
Normal file
|
After Width: | Height: | Size: 300 B |
BIN
art/house/processed/table_reduced.png
Normal file
|
After Width: | Height: | Size: 358 B |
BIN
art/house/table.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
art/image2_b.png
Normal file
|
After Width: | Height: | Size: 908 B |
BIN
art/image2_g.png
Normal file
|
After Width: | Height: | Size: 908 B |
BIN
art/image2_r.png
Normal file
|
After Width: | Height: | Size: 903 B |
BIN
art/image_b.png
Normal file
|
After Width: | Height: | Size: 919 B |
BIN
art/image_g.png
Normal file
|
After Width: | Height: | Size: 913 B |
BIN
art/image_r.png
Normal file
|
After Width: | Height: | Size: 912 B |
BIN
art/museum/adam_b.png
Normal file
|
After Width: | Height: | Size: 485 B |
BIN
art/museum/adam_g.png
Normal file
|
After Width: | Height: | Size: 495 B |
BIN
art/museum/adam_r.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
art/museum/david_b.png
Normal file
|
After Width: | Height: | Size: 672 B |
BIN
art/museum/david_g.png
Normal file
|
After Width: | Height: | Size: 687 B |
BIN
art/museum/david_r.png
Normal file
|
After Width: | Height: | Size: 698 B |
BIN
art/museum/david_small_b.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
art/museum/david_small_g.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
art/museum/david_small_r.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
art/museum/lilypond_b.png
Normal file
|
After Width: | Height: | Size: 794 B |
BIN
art/museum/lilypond_g.png
Normal file
|
After Width: | Height: | Size: 805 B |
BIN
art/museum/lilypond_r.png
Normal file
|
After Width: | Height: | Size: 817 B |
BIN
art/museum/lisa_b.png
Normal file
|
After Width: | Height: | Size: 359 B |
BIN
art/museum/lisa_g.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
art/museum/lisa_r.png
Normal file
|
After Width: | Height: | Size: 369 B |
BIN
art/museum/palette.png
Normal file
|
After Width: | Height: | Size: 867 B |
BIN
art/museum/processed/lisa_b.png
Normal file
|
After Width: | Height: | Size: 359 B |
BIN
art/museum/processed/lisa_g.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
art/museum/processed/lisa_r.png
Normal file
|
After Width: | Height: | Size: 369 B |
BIN
art/museum/processed/the_scream_b.png
Normal file
|
After Width: | Height: | Size: 379 B |
BIN
art/museum/processed/the_scream_big_b.png
Normal file
|
After Width: | Height: | Size: 619 B |
BIN
art/museum/processed/the_scream_big_g.png
Normal file
|
After Width: | Height: | Size: 883 B |
BIN
art/museum/processed/the_scream_big_r.png
Normal file
|
After Width: | Height: | Size: 791 B |
BIN
art/museum/processed/the_scream_big_reduced.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
art/museum/processed/the_scream_g.png
Normal file
|
After Width: | Height: | Size: 487 B |
BIN
art/museum/processed/the_scream_r.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
art/museum/processed/the_scream_reduced.png
Normal file
|
After Width: | Height: | Size: 714 B |
BIN
art/museum/processed/the_scream_reduced_b.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
art/museum/processed/the_scream_reduced_g.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
art/museum/processed/the_scream_reduced_r.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
art/museum/starry_b.png
Normal file
|
After Width: | Height: | Size: 637 B |
BIN
art/museum/starry_g.png
Normal file
|
After Width: | Height: | Size: 611 B |
BIN
art/museum/starry_r.png
Normal file
|
After Width: | Height: | Size: 568 B |
BIN
art/museum/the_scream.jpg
Normal file
|
After Width: | Height: | Size: 846 KiB |