Python Forum
Can Pygame import and export SVG?
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can Pygame import and export SVG?
#1
I am making a Vector Graphics game.
Reply
#2
maybe they can be files with patterns to fill in. read in the file as one big string and apply the .format() method where they need to be dynamically modified.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#3
I heard SVG cannot be imported,exported or rendered in Pygame but is there an extension that can do that?
Reply
#4
what are you trying to accomplish with the SVG?  maybe some other module will meet your needs.  there are several modules intended to work with SVG.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#5
I just want to know,is there an extension that can do this?
Reply
#6
(Feb-07-2017, 01:31 PM)OnisionTheOninonBoy Wrote: I just want to know,is there an extension that can do this?

we call them (extensions) modules.

most of the python coders here do not work with SVG or games and thus are not generally familiar with the modules related to SVG or games.  we do know many exist and can even name some of them.  for example there is one called svgwrite.

what you need to do is research the many modules that exist and determine which can do what you need.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame*import pygame ImportError: No module named pygame CASPERHANISCH 1 9,709 Jun-05-2017, 09:50 PM
Last Post: nilamo
  Cannot import Pygame PySoD 9 9,066 May-02-2017, 09:03 AM
Last Post: PySoD

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020