Skip to content

Instantly share code, notes, and snippets.

View AKiniyalocts's full-sized avatar
🔭

Anthony Kiniyalocts AKiniyalocts

🔭
View GitHub Profile
@AKiniyalocts
AKiniyalocts / DeclareTextureRegions.sh
Last active August 29, 2015 14:03
Declares all png files as a Texture Region
#!/bin/bash
#
# 1. Place this in the /android/assets/images directory
# 2. chmod 755 DeclareTextureRegions.sh to make it executable
# 3. ./DeclareTextureRegions
# 4. Enter the directory you wish to generate statements for e.g. (pg03)
# 5. A file will be created in that images folder that contains statements for those png files.
echo "enter the path containg the images: "
read path
@AKiniyalocts
AKiniyalocts / MeteoIconParser.java
Created June 19, 2014 06:18
Converter for forecast io icons to meteoicons
/**
* Created by anthony on 6/19/14.
*
* Instansiate this class with a string (The icon name you want to convert) then call getIconTextCode()
* on that instantiation to return the appropriate character for that forecast IO icon, utilized in the ttf font file.
*
* Icons: http://www.alessioatzeni.com/meteocons/
* Forecast IO lib: https://github.com/dvdme/forecastio-lib-java
*
* This was made assumming you are using the meteo .ttf and not the actual icons.