Jump to content


Photo

Questions about vector:


  • Please log in to reply
15 replies to this topic

#1 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 14 July 2012 - 06:12 AM

According to the GM:s roadmap (http://wiki.yoyogame...:Studio_Roadmap), vector graphics will be supported in V. 1.2. Since I have a desire to use this in a project of mine, I have a few questions about vector in general:

1. I use a plugin that allows me to save my word-doc as a .pdf. By replacing the .pdf with another extention (I believe it was .eps) I could then import the file into Adobe InDesign as a vector image. Do you think the same method will work in GM:S? Which are the most common vector file formats?

What I am planning is the following:

* Take a word document and make it a pdf (try to compress it to 10kb or less, I believe Adobe InDesign can do this.)
* Replace the .pdf file extention with a vector image format.
* Import it in GM:S.
* Replace the draw_sprite()-command with a command that draws the vector-files.
* Repeat this procedure x times.

If all done correctly, have an ebook that can be zoomed in without any loss of quality.
  • 0

#2 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 14 July 2012 - 06:19 PM

According to the GM:s roadmap (http://wiki.yoyogame...:Studio_Roadmap), vector graphics will be supported in V. 1.2. Since I have a desire to use this in a project of mine, I have a few questions about vector in general:

1. I use a plugin that allows me to save my word-doc as a .pdf. By replacing the .pdf with another extention (I believe it was .eps) I could then import the file into Adobe InDesign as a vector image. Do you think the same method will work in GM:S? Which are the most common vector file formats?

What I am planning is the following:

* Take a word document and make it a pdf (try to compress it to 10kb or less, I believe Adobe InDesign can do this.)
* Replace the .pdf file extention with a vector image format.
* Import it in GM:S.
* Replace the draw_sprite()-command with a command that draws the vector-files.
* Repeat this procedure x times.

If all done correctly, have an ebook that can be zoomed in without any loss of quality.

I have no idea if that would work. But.. one question: WHY? What could possibly be in a pdf file that you would need?
  • 0

#3 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 14 July 2012 - 08:48 PM


According to the GM:s roadmap (http://wiki.yoyogame...:Studio_Roadmap), vector graphics will be supported in V. 1.2. Since I have a desire to use this in a project of mine, I have a few questions about vector in general:

1. I use a plugin that allows me to save my word-doc as a .pdf. By replacing the .pdf with another extention (I believe it was .eps) I could then import the file into Adobe InDesign as a vector image. Do you think the same method will work in GM:S? Which are the most common vector file formats?

What I am planning is the following:

* Take a word document and make it a pdf (try to compress it to 10kb or less, I believe Adobe InDesign can do this.)
* Replace the .pdf file extention with a vector image format.
* Import it in GM:S.
* Replace the draw_sprite()-command with a command that draws the vector-files.
* Repeat this procedure x times.

If all done correctly, have an ebook that can be zoomed in without any loss of quality.

I have no idea if that would work. But.. one question: WHY? What could possibly be in a pdf file that you would need?


If I save a word doc as pdf, the text will be in vector, which means no loss of quality when zooming in.
  • 0

#4 Kouri

Kouri

    GMC Member

  • GMC Member
  • 157 posts
  • Version:GM:Studio

Posted 15 July 2012 - 12:02 AM

From working in the sign industry, we usually get our vectors as pdf, ai, or eps files. I think IE and some other vector software also use svg files.

As for vector text, I'm curious if the 1.2 update won't just have native vector-text support, since most fonts are in a vector format to begin with.
  • 0

#5 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 15 July 2012 - 02:14 AM

Well. I learned something today.

Out of curiosity, what sort of project do you need text for like that? An in-game help file or something?
  • 0

#6 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 15 July 2012 - 06:56 AM

Well. I learned something today.

Out of curiosity, what sort of project do you need text for like that? An in-game help file or something?


E-book.
  • 0

#7 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 15 July 2012 - 06:59 AM

From working in the sign industry, we usually get our vectors as pdf, ai, or eps files. I think IE and some other vector software also use svg files.

As for vector text, I'm curious if the 1.2 update won't just have native vector-text support, since most fonts are in a vector format to begin with.


Yes, and I know it's easy to just change the file extention from .pdf to another vector format (though I don't remember if it was .eps or .ai that worked).
  • 0

#8 Lune

Lune

    hic quoque transibit

  • GMC Member
  • 508 posts
  • Version:GM:Studio

Posted 15 July 2012 - 07:39 AM

If this ends up being possible, you'll probably want to leave the text as text and not vector artwork. Vectors take up considerably more memory than does text and cannot be searched or re-flowed, or have the font changed. Ideally, draw_text_vector() will be added to replace or exist as an alternative to the bitmap version we currently have, so there would be no need for a major conversion process.Posted Image
  • 0

#9 Erik Leppen

Erik Leppen

    GMC Member

  • GMC Member
  • 2028 posts
  • Version:GM:Studio

Posted 15 July 2012 - 12:28 PM

draw_text_vector()

That would require a new Typeface resource alongside the current (pixel-based) Font resource.

(I'm not saying that's a bad thing, just mentioning).
  • 0

#10 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 15 July 2012 - 03:01 PM


Well. I learned something today.

Out of curiosity, what sort of project do you need text for like that? An in-game help file or something?


E-book.

You're making an E-Book in GM:S? Why? Aren't there already a million apps that do this? And GM:S is a game creation tool, so if anything it would just be a bloated E-Book at best.
  • 0

#11 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 15 July 2012 - 03:28 PM



Well. I learned something today.

Out of curiosity, what sort of project do you need text for like that? An in-game help file or something?


E-book.

You're making an E-Book in GM:S? Why? Aren't there already a million apps that do this? And GM:S is a game creation tool, so if anything it would just be a bloated E-Book at best.


Mine is better. Also I can add interactive content and such, and have full control of my code.
  • 0

#12 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 15 July 2012 - 03:32 PM

If this ends up being possible, you'll probably want to leave the text as text and not vector artwork. Vectors take up considerably more memory than does text and cannot be searched or re-flowed, or have the font changed. Ideally, draw_text_vector() will be added to replace or exist as an alternative to the bitmap version we currently have, so there would be no need for a major conversion process.Posted Image


It'll take 100 years to insert all text directly into GM:S, and make it look as good as if I do it in Adobe Indesign or the like. Trust me, I've tried this before, not a good idea. Plus, it lags like hell.
  • 0

#13 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 15 July 2012 - 10:01 PM




Well. I learned something today.

Out of curiosity, what sort of project do you need text for like that? An in-game help file or something?


E-book.

You're making an E-Book in GM:S? Why? Aren't there already a million apps that do this? And GM:S is a game creation tool, so if anything it would just be a bloated E-Book at best.


Mine is better. Also I can add interactive content and such, and have full control of my code.


What makes it better? Also, "full control of your code?" With GM:S, hardly. You'll have to wait for extensions to be able to even mention that and be taken seriously.
If you want full control and to make an E-Book that isn't bloated; try C++ or Java.

Not trying to be rude, but unless you're just doing it as a spare thing for yourself; its really pointless.
  • 0

#14 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 16 July 2012 - 06:14 AM

So far it works great. Only trouble is when you zoom in, the text is all pixled.
I have tried a few programs to create E-books, but there are no optimal ones, always some trade-off. Also, you can't create and include interactive content in a regular e-book using those programs (Maybe I've overlooked one).
If this vector-thing works out, making my E-book in GM:S will be great.

What I mean with "full control of my code" is that what whatever I code ends up being exactly what I wanted. This has not been the case with other programs.
  • 0

#15 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 851 posts
  • Version:GM:Studio

Posted 18 July 2012 - 03:10 AM

So far it works great. Only trouble is when you zoom in, the text is all pixled.
I have tried a few programs to create E-books, but there are no optimal ones, always some trade-off. Also, you can't create and include interactive content in a regular e-book using those programs (Maybe I've overlooked one).
If this vector-thing works out, making my E-book in GM:S will be great.

What I mean with "full control of my code" is that what whatever I code ends up being exactly what I wanted. This has not been the case with other programs.

Then if you want "full control," don't use other programs. Don't use a program at all. Just use Java or C++ at their bare bones + the Android SDK itself.
  • 0

#16 ObsidianNovels

ObsidianNovels

    GMC Member

  • GMC Member
  • 351 posts
  • Version:GM:HTML5

Posted 18 July 2012 - 05:57 AM


So far it works great. Only trouble is when you zoom in, the text is all pixled.
I have tried a few programs to create E-books, but there are no optimal ones, always some trade-off. Also, you can't create and include interactive content in a regular e-book using those programs (Maybe I've overlooked one).
If this vector-thing works out, making my E-book in GM:S will be great.

What I mean with "full control of my code" is that what whatever I code ends up being exactly what I wanted. This has not been the case with other programs.

Then if you want "full control," don't use other programs. Don't use a program at all. Just use Java or C++ at their bare bones + the Android SDK itself.


Or I can use GM:S, which works great. =)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users