Coder Social home page Coder Social logo

glitchassets's Introduction

GlitchAssets
==============================================================================
This is a straight-forward conversion of the flash assets files from the game Glitch, which were released into the public domain. I performed the conversion at 2x original scale.

See http://www.glitchthegame.com/public-domain-game-art/ for more information.

The repository contains:  
 * Avatars - Vanity  
 * Avatars - Wardrobes  
 * Items  
 * Locations  
 * Overlays  
 * Player Houses  

It does not contain:  
 * Inhabitants - Check here: https://github.com/ThirdPartyNinjas/GlitchAssets-Inhabitants

Conversion process:  
I wrote three scripts that run inside of Flash (I used Adobe Flash Professional CC).

RecursiveExportFile - Recursively searches through folders looking for *.fla files, and calls exportPNG on them. This works well for basic files, but if there's any animation, it will be lost.

RecursiveExportPieces - This one searches through each flash file for individual components, exports those individually. Movie clips are exported as png sequences. This one will dump everything out, sometimes getting way too much data.

RecursiveExportPiecesFlat - Same as "Pieces" but it doesn't export sequences. This means some data will be lost, but it's a better choice for some of the data. I decided experimentally which one was better.

glitchassets's People

Contributors

thirdpartyninjas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glitchassets's Issues

Missing Frames?

Great idea on converting them to 2x bitmaps. I notice that on a lot of assets, especially items, there are multiple frames and your scripts seem to have only exported the a single frame. For example:

https://github.com/ThirdPartyNinjas/GlitchAssets/blob/master/Items/tools/pick/fancy_pick/fancy_pick.png

This is the only image of a pick you have and it is a single image of a broken pick. I think the other frames must have images of the normal pick but your script doesn't see them.

Many items have been cropped off

Such as,

https://github.com/ThirdPartyNinjas/GlitchAssets/blob/master/Items/furniture/bag_furniture_smallcabinet/bag_furniture_smallcabinet_treasure_chest.png

It's a nifty item, but much of it has been cut off.

After cloning the repo and having bash copy all the files into a single directory, it was immediately clear that this is a wide spread issue on the larger images. That said, I haven't seen the original SWF/FLA files for comparison, so it's possible that this cropping is intended.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.