How do I import a vector object

Get help using Construct 2

Post » Sun Jul 19, 2015 7:09 pm

Hey, I´ve been wondering for some time in search for vectors in c2, i know canvas and svg canvas kind of support them but, would c2 be able in any way to import a vector object and treat it like it treats any sprite object?
I stopped using gm:s because of how wonderful html5 is for me, but it was quite easy to handle these kind of things there. I know vectors aren´t as popular as sprites but if there is any way to make this happen on c2, it´d be great!

I found this lil tool for vector drawing that can export in .xml and .json, any new info would be awesome, the posts regarding vectors I found are kind of old :)
http://funbyjohn.itch.io/metaplot

Image

Again, sorry if this is a dumb question :)
B
9
S
3
Posts: 153
Reputation: 1,272

Post » Sun Jul 19, 2015 7:16 pm

Construct doesn't work with vectors..
All images are exported as png..

using the svg (real vectors) or canvas (pixels) plugins are your only option if using vectors will improve your game..
The only real benefit of vector-graphics is the scaling, but the scaling methods used on bitmaps inside Construct2 have always served me well..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jul 20, 2015 8:41 am

There's always another option to use sprites, and efter export change the png files to svg's, but it's a dodgy workaround and I'm not sure it works very well. I only tried a little. It's doable but i had some strange things showing up.
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
19
Posts: 1,044
Reputation: 13,955

Post » Mon Jul 20, 2015 8:52 am

I see... Thanks!
B
9
S
3
Posts: 153
Reputation: 1,272

Post » Thu Nov 05, 2015 9:22 am

I have my Project or Game is ready to Upload on Web. In this Project i am using .png files for all textures like buildings, background, base, character and obstacles. My Project is ready. But i want to change my Graphics from .Png format to .svg Format.

I had read somewhere that we can the .png Graphics to .Svg Graphics by:-
>>>> you can change your *.PNG with *.SVG, AFTER you publish your work as html5.
>>>> When you export to HTML5, you have to uncheck "minify script" ! Otherwise it will not work.


Suggest Some steps to move forward and be successful.
B
4
Posts: 12
Reputation: 229


Return to How do I....?

Who is online

Users browsing this forum: agg1401, Yahoo [Bot] and 20 guests