Monday, March 2, 2009

Target Demo

I'm pretty insane about keeping solid objectives when I program. Whenever I don't I tend to get unfocused and frustrated. In that interest, I'm going to start doing these "Target Demo" posts that will lay out (in more detail then first post) what I'm trying to achieve with a demo.

Focus:
  • Reading/Writing
  • Touch Events
Objectives:
  1. Create a basic window that allows us to create some text dynamically. There should be some sample code that does this. Draw the text at some random location (could be just <0,0>). Use the whole View model to make a drawing space - this should be done automatically by OpenGL template code.
  2. Allow for touch events to move the text. Click and text will appear at that location.
  3. Create or use some data system to fetch text from file. Also save position every time you click. When application closed and restarts, text should appear it last clicked location.
  4. Add a background to text by drawing a colored rectangle. Have rectangles properties come from file io.
Tech: these are possible techs we may use / create
  • SQL Lite - for data writing/reading. Could be useful to query information with vs xml but doesn't seem like it would be friendly to edit outside program.
  • XML Reader - idea to learn how to get an xml file loaded and read in values as well as write out to it. See if we can get this system up too.
  • vec2 - 2d vector for storing rectangle position/dimensions in our own controllable format.

No comments:

Post a Comment