Questions tagged [svg]
The svg tag has no usage guidance.
24
questions
0
votes
0
answers
27
views
How to access SVG layers in Unity?
Is there a way to access SVG layers in Unity, or do I need a separate SVG for each sprite?
ex. I have a layered SVG for a card game. The SVG has each of the 52 cards in a named layer. Can I access ...
0
votes
2
answers
230
views
Why do my svg sprites (vector images) appear to have very low resolution in the game view and how can I fix this issue?
I recently drew a game sprite for my game using Adobe Illustrator 2021. I exported the sprite using the Export for Screens menu to export the entire artboard. The problem I have in Unity 2021+ is that ...
0
votes
1
answer
672
views
SVG Image in UI
I'm using Vector Graphics for my SVG Images,
though when I try to use it as a UI image (for a button)
The image doesn't look as I expect, unless I use a Sprite Renderer.
But unfortunately I can't do ...
2
votes
3
answers
3k
views
My SVG graphics don't look as good in Unity as they do in my web brower
I thought had an easy solution to getting nice smooth edges on all of my images: export them to .svg and then use Unity's new SVG importer package. However, my svg images don't really look better once ...
0
votes
2
answers
4k
views
Cannot import an .svg into a Unity project
I cannot import an .svg into a Unity project.
When I just move the .svg file into the Unity project Unity does not work with it ...
1
vote
0
answers
32
views
Is there a way to set a pallet for colours in an SVG image and change them at runtime for one gameobject?
in the latest beta build for unity they introduced the ability to import svg files. What I'd like to know is if there is a way to identify all svg shapes by colour, and then change those colours, as ...
7
votes
1
answer
12k
views
Using .svg in Unity
Creating resolution independent sprites is tough and memory consuming.
How can .svg assets be used in Unity for any kind of 2D game?
What are alternatives to .svg that can be used in Unity?
Can ...
2
votes
0
answers
595
views
2D Skeletal animations exported to SVG
I would like to create skeletal animations, and Synfig looks quite promising.
This is a video walk through
of its "bones" feature, used to do skeletal animation.
Ticks all the boxes thus far, ...
1
vote
1
answer
88
views
Why can't CSS Sprites handle vectors?
Almost all the documentation available either says that "sprites are bitmaps" or that "css sprites must be bitmaps". Is there a specific reason for this? Is it, in fact possible to create a css sprite ...
2
votes
1
answer
181
views
Real hardware acceleration of vector images?
Basically vector graphics have many advantages, especially that they scale very nicely.
So there are many reasons to use them in 3D and 2D games.
Is there any support for hardware accelerated vector ...
6
votes
1
answer
1k
views
SVG—rendering performance
I have created a jump'n'run browser-game based on SVG. The »World« grew large (~80px * ~20000px, before scaled to viewport height) and rendering went slow. In consequence I included a range searching ...
0
votes
1
answer
1k
views
Parse and iterate over SVG path
I need to parse a SVG path expression like
m8,295c-4,-292 441,-291 446,-26c5,265 440,263 442,-9
and have a way of iterating over it in [0 ... 1]. I looked into ...
1
vote
1
answer
90
views
SVG—Adding fire to the roket
as you might expect, I have got a game in development, including a main character—fortunately…
This character is on the one hand represented by a bunch of Box2D bodies and on the other hand, ...
2
votes
0
answers
294
views
SVG graphic in Android [closed]
My question is about scalable vector graphics focused on Android.
I know that the advantage of using vector images instead of png is that you can draw it in almost every device without modifying it. ...
1
vote
0
answers
183
views
IwGame (Marmalade): Does CIwGameSprite support SVG? How?
I have a small question about Marmalade IwGame engine.
Does the CIwGameSprite support SVG (I've read that yes it does)
If it does support SVG, how does it handle it,
Does it convert that Vector ...
1
vote
3
answers
1k
views
What is a currently a good game stack for simple Javascript 2D multiplatform game? [closed]
I'm looking for advice from someone can help me avoid common pitfalls in developing light weight, quick-to-market games. Yeah, I've heard of Google ;-), but a trip down Google lane does not beat solid ...
0
votes
1
answer
623
views
3d js map rendering
In the past I've done a 2D tile map using HTML, CSS and Javascript. Now I have the task of creating a 3D version using the same technologies - think of it like a space map where all planets have x/y/z ...
1
vote
2
answers
3k
views
Is it possible to convert file from Blender 3d to svg?
I want to build web game in html5 with canvas/svg.
Can I convert/export file from blender to canvas/svg?
Maybe via unity3d?
1
vote
2
answers
763
views
How can I create tiles that scale to multiple resolutions?
I am trying to create a multiplayer version of the popular Flash game N in Java. However, I'm not sure how to create a tileset that will scale up. Are the tiles for N pre-drawn or are they defined ...
2
votes
1
answer
2k
views
Which is better for mobile games, PNG or SVG? [closed]
I want to make several 2D games for mobile platforms, mainly using Qt for iOS, Android, Symbian, MeeGo and whatever supported by Qt.
I've made one game already using PNGs. Now I'm thinking of making ...
2
votes
1
answer
724
views
Shapes and sprites in SVGs
I understand SGV images are used in 2D games to store shape data for the physics engine of the game. I'm unsure though, should the raster sprite also be stored in the SVG or should it be separate?
...
8
votes
4
answers
5k
views
C++ Game Library for SVG Based Game [closed]
I'm looking into building a cross-platform opensource 2D RPG style game engine for ChaiScript.
I want to be able to do all of the graphics with SVG and need joystick input. I also need the libraries ...
12
votes
5
answers
6k
views
High Performance Vector Graphics Solutions [closed]
I'm looking for a high performance vector graphics library I can use in my games.
I'm thinking along the lines of vector graphics such as those that can be made with SVG.
I'll consider any language ...
13
votes
4
answers
6k
views
Is SVG a viable technology choice for web-based game? [closed]
I have started to read up about the web technology available for doing web-based game with only Javascript, but I have no where got feedback about SVG with HTML5. Is is a viable choice ? Does it ...