Change .png files to .svg files in the Game using Construct

Get help using Construct 2

Post » Thu Nov 05, 2015 9:53 am

Hello all,

I am working on one of the endless platform runner game. My game is about to complete and i am stucked with one problem. My game is for web and mobile browser, both having different resolutions and graphics pixelate in high resolution. My client wants to use the .svg graphics in the game and .svg graphics is ready. I had developed the complete game using .png graphics. Is there any way or step by step tutorial with explanation or any video tutorial or any plugin with its documentation to change the .png graphics to .svg graphics. I don't have much time. My deadline is very near. Please suggest some solution to come out from this problem as soon as possible.

Thanks in advance.

Thanks,
Ankush
B
4
Posts: 12
Reputation: 229

Post » Thu Nov 05, 2015 11:35 am

You are aware Construct2 doesn't work with svg?
There is a third party plugin for importing svg, but I've never used it, so I wouldn't know if it's suitable for your needs..
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 » Thu Nov 05, 2015 1:04 pm

Unfortunately SVG is not currently supported in C2. PNGs are the only way to go.
Scirra Founder
B
397
S
236
G
88
Posts: 24,395
Reputation: 194,460

Post » Fri Nov 06, 2015 6:07 am

Thanks Little Stain

Can you please give me the link for that Plugin and if possible some documentation to implement that plugin so that i can test that in my game.
B
4
Posts: 12
Reputation: 229

Post » Fri Nov 06, 2015 7:53 am

Why don't you convert the svg files in an external editor and then have 2 different versions of the game hosted? One version with the graphics you already have and the other with the higher res. Then have mobile browsers request the first version and desktop browsers the other.
B
13
S
5
G
1
Posts: 116
Reputation: 1,805

Post » Fri Nov 06, 2015 6:31 pm

AnkushArora wrote:Thanks Little Stain

Can you please give me the link for that Plugin and if possible some documentation to implement that plugin so that i can test that in my game.

The quickest way to find it is to use the forum search and search for "svg"
search.php

Just scroll down till you see a topic with "[PLUGIN]". To use it, presumably that topic will have some documentation, although I doubt it's just a simple matter of replacing sprites with svg.

Also I second immortalx's idea, it's much simpler.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Sat Nov 07, 2015 3:07 am

Try this for your conversion:
http://www.imagemagick.org/script/index.php

Then make a batch file with the command:
convert -background none %1 %1.png

You can drag and drop entire folders of SVG images onto that batch file for the PNG conversion.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985


Return to How do I....?

Who is online

Users browsing this forum: dop2000, vutankhoa2015 and 35 guests