Jump to content

Jiaozi

Newbies
  • Posts

    4
  • Joined

  • Last visited

Jiaozi's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hum good idea Harold ! I didn't think about subclassing my tiles. This will really increase my possibilities Thank you, I will do that way Yes I will increase the number (I consider implementing the different extensions) and provide zooming feature (to see the table in its entirety)
  2. Yeah yeah I know that... but the game I want to code is Carcasonne. I'll need to display hundred of tiles so to decrease the memory, I wanted to use Xaml primitives. Moreover, that is the GPU that draws the primitives so I see clearly two advantages compared to holding hundred of png files.
  3. Here is why it may be useful: I'm a developer but not a designer. Silverlight and WPF use vectorized image, so converting a raster image to svg is the first step before converting to XAML. I don't want to pay a designer for a little game I wrote as freeware and I don't know anybody who may draw for me. So the easiest way for me is to convert png image scanned or found.
  4. I were wondering how to convert a raster image to a SVG file. I play a bit with http://vectormagic.com/ that is the best converter I know and think to this "algorithm" : [*:15cfkgt3]Use Magic Wand to grab some area. Convert the selected boundary to SVG path and fill with a color. [*:15cfkgt3]Iterate through the surface as long as all the pixels of the surface has not been covered by the magic wand. A bit rough, isn't it ? No circle or rectangle tag, this is just a raster-image converter. Is it a too naive algorithm ? While simulating it, I see that my selection with magic wand isn't as smooth as vectormagic. This is what make me feel as a bad algorithm. Am I right ?
×
×
  • Create New...