Sunday, April 12, 2015

Working with Scaled Vector Graphics and App Logo (4/10/15)

On Friday, I worked on the app's logo and scaled vector graphics. I thought it would be a good time to step back a bit from the specific bug and get something done that was a bit more important.

I learned a lot about SVGs! One of the coolest things I found out was that if you opened it in a text editor, it showed all of the properties about the SVG, such as default width, height, colors, etc. I found that really interesting, because you're able to easily change any specific property of the image just by changing a line of text, rather than manually drawing it in.

Another thing that I found interesting was that it was so easy to scale. All I had to do was drop it in the app's icons folder and it instantaneously scaled for all device sizes, which made it a whole lot easier to make, rather than individual png images which we would have had to resize.

On Monday, I plan to code the base for a few new features. I'm not going to make too much, however, because I want to continue condensing the app as much as possible.

I also have to start working on a bug that relates to chapter objects. Apparently, our app was denied from the marketplace until we fix a bug that has to do with chapters being one greater than we should. While I don't ever remember noticing this, it's possible that it was a result of our refactoring. I'll have to look into it a bit more.

1 comment:

  1. Yes, SVGs are great. Did you ever see http://www.openbookproject.net/tutorials/getdown/svg/ ? Dario was a great student who developed this tutorial on his own. It teaches how to make SVG images with a text editor.

    I didn't realize that the icons of an FXOS app could be SVGs. I'll ask you about that this afternoon, since it sure would make things easier.

    ReplyDelete