Commit graph

27 commits

Author SHA1 Message Date
Peter Hatch
c9a42ed115 Create spritesmith CSS in a single pass. 2014-03-27 23:00:54 -07:00
Tyler Renelle
e53ef26d4c feat(flower): add flower customization option 2014-03-21 12:30:36 -06:00
Tyler Renelle
4010bb950c fix(spritesmith): add padding between sprites to avoid stray-pixels
issue, fixes https://github.com/HabitRPG/habitrpg/issues/2938
2014-02-28 10:23:45 -08:00
Tyler Renelle
1223294267 fix(spritesmith): add background-size property to all sprites. Fixes https://github.com/HabitRPG/habitrpg/issues/2510 , see https://github.com/Ensighten/grunt-spritesmith/issues/67 2014-02-28 10:19:04 -08:00
Tyler Renelle
335d063512 chore(grunt): revert f3c5d3f73a and
fb63ae25f0 . Was causing broken
customizer.css, fixes https://github.com/HabitRPG/habitrpg/issues/2934
. cc @paglias
2014-02-22 22:44:33 -08:00
Matteo Pagliazzi
f3c5d3f73a fix(grunt): remove unnecessary check 2014-02-22 16:30:09 +01:00
Matteo Pagliazzi
fb63ae25f0 fix(css spritesheet): prevent duplication of css in customizer.css 2014-02-22 16:26:15 +01:00
Matteo Pagliazzi
cddf513359 refactor(grunt): spritesmith cached on server, do not add timestamp to name, remove unused coins icons 2014-02-12 15:11:45 +01:00
Tyler Renelle
6a5df319ed feat(critical-hammer): add Critical Hammer of Bug-Crushing 2014-02-07 11:48:06 -07:00
Tyler Renelle
0157afb6b3 spritesmith: try using spritesmith-{TIMESTAMP}.png for image
cache-busting (@paglias good idea)
2014-01-06 22:57:35 -07:00
Tyler Renelle
ead5fc78f2 fix layering of beard over chin 2013-12-20 10:11:45 -07:00
Tyler Renelle
adc7b7f6a6 [https://github.com/HabitRPG/habitrpg/pull/1969] move armor_base_0_* to
shirt_*, special handling under user.preferences.shirt. Removed
stray pixels to bottom left.
2013-12-14 00:27:19 -07:00
Tyler Renelle
31fec0c173 fixes: unlock, task.history, customizations 2013-12-13 22:58:48 -07:00
Tyler Renelle
bf52efa2ca classes: add a second grunt-spritesmith pass which creates
.customize-options.SPRITE_NAME to resize buttons as 60x60 & reposition
the sprite. This seems pretty dirty because the images are parsed twice,
@paglias let me know if you think there's a better way
2013-12-13 21:48:23 -07:00
Tyler Renelle
954cdf7f29 [https://github.com/HabitRPG/habitrpg/issues/1977] APIv2 WIP - start of a framework where operations are shared between client & server. If the op is called on the client, it updates the user & then POSTs to the server with op of the same name. If called on server, it updates the user and user.save()s 2013-12-11 21:42:05 -07:00
Tyler Renelle
94603fa0ca [#37]grunt-spritesmith: NPCs (this is a big one!) 2013-12-04 20:01:33 -07:00
Tyler Renelle
417986c6b4 [#37]grunt-spritesmith: shop sprites 2013-12-04 20:01:29 -07:00
Tyler Renelle
53bbb20ba6 [#37] class: misc cleanup (moving / deletions) 2013-12-04 20:01:04 -07:00
Tyler Renelle
6c927414d1 grunt-spritesmith: eggs, food, hatchingPotions, gems #37 2013-12-03 18:43:08 -07:00
Tyler Renelle
dbd7aaf4c4 classes: spritesmith add pets 2013-12-03 17:58:37 -07:00
Tyler Renelle
c46795e7a5 classes: grunt-spritesmith WIP #37 (working for male sprites now) 2013-12-03 16:32:20 -07:00
Tyler Renelle
06e489dfc5 halloween: consolidate customizer button css. was duplicated bw mobile &
web, copy into habitrpg-shared, remove from those projects, remove regex
css selectors (they weren't working), add crazy & monster skins
2013-10-22 16:05:20 -07:00
Matteo Pagliazzi
ae4f3a6481 order css files & rebuild 2013-09-13 21:09:32 +02:00
Matteo Pagliazzi
6a15072348 comment 2013-09-03 17:16:47 +02:00
Matteo Pagliazzi
fd9fee93e1 change some paths, js file size reduced by around 400kb 2013-09-03 17:08:22 +02:00
Tyler Renelle
d29f267425 move browserify step to Grunt instead of Make (for consistency). Build files now in dist/ as dist/habitrpg-shared.js & dist/spritesheets.css 2013-08-26 22:09:02 -04:00
Tyler Renelle
614f734e67 move a bunch of the spritesheets from the website into css/, add a Grunt
step to compile all the spritesheets into a top-level spritesheets.css,
add an archive/ directory for all the old stuff i'm not sure we need?
2013-08-26 21:24:48 -04:00