Find the answer to your Linux question:
Results 1 to 2 of 2
a friend and i are thinking about making a 2D game over the summer(or longer if interest stays). we wanted it to be done in c++ and cross platform, so ...
  1. #1
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317

    svg library

    a friend and i are thinking about making a 2D game over the summer(or longer if interest stays). we wanted it to be done in c++ and cross platform, so we chose sdl and opengl, opengl because i have a book on it and 2D operations dont seem terribly impossible and it offers higher speeds and capabilities. we wanted to have some free zoom in and out as well, so i thought that we could use svg files for the pictures so we could keep the sprite resolution very high, and make it always look sharp. the problem is that i cant find an svg library that seems good to use. there is a svg_sdl library, but it is only for linux, and seems like it might not be able to do all of the svg operations. then there is Cairo, but i dont know if that would be the right library or not. another thing is that if the library renders to a rasterized image to then be loaded to an opengl shape, would i have to reload the image every time that the height and width change?
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  2. #2
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    it seems that everything that has svg support is using cairo. is this the way to do it?
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •