digibutter.nerr Forum Index
Hey [you]! If you haven't noticed, this is now the old digibutter forums. Go over to the new site!
digibutter.nerr
It's Hi-Technicaaal!

Game Maker Vector Graphics Program.
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    digibutter.nerr Forum Index -> Your Creations
Author Message
Djacwmwfin
Joshamuffin
Vampire


Joined: 12 Jun 2007
Posts: 3539

HP: 100 MP: 5 Lives: 0



PostPosted: Tue Feb 12, 2008 6:41 pm   Reply with quote

I am thinking of making a program in Game Maker for Game Maker vector graphics to be ran in any game made in Game Maker. There are GML functions already built into that deal with vectorish things.

http://www.freewebs.com/joshamuffin/help.txt
I originally made that to post in this topic, but it was HUGE. I'm also too lazy to edit out the quote tags.


Anyways that, was a small excerpt from the help file in Game Maker. I have a few crucial problems.


1. Resizing, this might take some testing and trial and error. I AM NOT ERROR!

2. Files, saving, etc. I know I'll have an "export to bitmap" action in there, that shouldn't be too bad. There's a DnD (drag and drop) function that will do that. However, writing the GML code for it is a bit larger problem. I've never made any program of mine handle strings before. Strings will be VERY important, for that is the whole reason this program will have existed. Also, what happens when a GML file is loaded that has things besides that which it can write? Ignore it? Detect it and combust? Also, I was thinking of making a .gav (Gamemaker Awesome Vectoring) file extension for it to make the GML files less of a problem. With Import/Export GML of course though. I had an idea for a bitmap backdrop to draw the vector images upon. That would not be saved in a GML file, so maybe that's what gav is for? I think I'll kill the gav idea and just go with GML.

3. The GUI (Graphical User Interface) will be a pain, but that is what it will exist for, and what will make it "killer app" material.

4. Measurement of lines, etc. I think this will be relatively easy, just read the file. Also, I was thinking of making a temporary file called RAM.txt for storage of unsaved things while running.

5. I don't want to forget anything that could be done, so help me out here. I'll list them later, I GTG unload my dishwasher.
Back to top
Josh's Useful American Novelties    
Djacwmwfin
Joshamuffin
Vampire


Joined: 12 Jun 2007
Posts: 3539

HP: 100 MP: 5 Lives: 0



PostPosted: Wed Feb 13, 2008 7:16 pm   Reply with quote

The draw elements are categorized into Objects, which is similar to layering in GIMP or Photoshop. Objects are composed of many drawing elements. Alot of the extra data will be embedded into the GML file as comments.





File
    -New
    -New Window
    -Import GML
    -Export GML
    -Export Bitmap
    -Exit

Edit
    -View History
    -Undo
    -Repeat
    -Step Forward
    -Step Backward
    -Cut
    -Copy
    -Paste
    -Clear

Image
    -Canvas Size
    -Backdrop
      -Import Image
      -Image Style
      -Solid Color

    -Origin
      -View
      -Manual
      -Vehicle to Objects

    -Resize All Objects
    -Flip All Objects
    -Rotate All Objects

Objects
    -Build Selected
    -Dissolve Selected
    -Objects List
    -Free Transform
    -Transform
      -Resize
      -Flip
      -Rotate

Tools
    -View Toolbar
    -Line
      -Line Tool
      -Manual
      -Thickness
      -Color

    -Polyagonal Shape
      -Poly Tool
      -Manual
      -Outline
      -Fill
      -Object to Poly

    -Rectangle
      -Rect Tool
      -Manual
      -Outline
      -Fill

    -Rounded Rectangle
      -Round Rect
      -Manual
      -Outline
      -Fill

    -Triangle
      -Triangle
      -Manual
      -Outline
      -Fill

    -Circle
      -Circle
      -Manual
      -Outline
      -Fill

    -Ellipse
      -Ellipse
      -Manual
      -Outline
      -Fill

    -Eyedropper
Back to top
Josh's Useful American Novelties    
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    digibutter.nerr Forum Index -> Your Creations
All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group