0 Favourites

Vectorial graphics?

  • well, i am questioning this, so C2 is html5 ready, that means it will be a direct Adobe Flash competitor, so, it would be a great idea to implement vectorial graphics compatibility to attract more developers to using C2, no?

  • <canvas> has its own set of drawing functions (line, polygon, circle, fill etc.), would be a good idea to expose these to Construct 2.

    I don't think SVG can be used with canvas, however, as those two are fundamentally different technologies. canvas is meant to be used as a drawing board to which you draw lines, circles and stuff with function calls. Perhaps a plugin which would read SVG file and draw everything, however that'd be terribly inefficient.

    It is like disassembling a car and then re-assembling it on another spot.

  • The format for svg is almost the same as xml, so as far as paths go it shouldn't be a big jump to create a <canvas> exporter.

    It would be fairly efficient to convert the svg data to something canvas can use, and store that in the .js or another .js.

    Then again getting collision detection, and animating those images would be another kettle of fish.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • If C2 had vector graphics capabilities I'd never use them because doing vector graphics (and doing them well) is a pain in the ass.

    And if for some reason I did want to do vector stuff for the web I'd just go back to using Flash, because that's what Flash does. No reason to reinvent the wheel. Especially since Flash has perfected that particular wheel. You can't really expect a small, open-source project run by two guys in their spare time like C2 to compete directly with Adobe in the vector graphics department, especially by implementing it as an afterthought. Making a game editor that exports to HTML5 is already a pretty tall order!

    I've always thought that realtime vector animation for the web was a really dumb idea anyway. It just doesn't make sense. It's too CPU intensive. Compression on raster images has always been miles ahead of vector art. Vector art should be used in static design software, and vector animation should be rendered to video similarly to hi-res 3D. I really have no idea why Macromedia didn't just make Flash a raster-based program to begin with.

    The only benefit to using vectors is that they're scalable, and raster images don't scale well. When you compare that to all of the benefits raster images get you, there really isn't any comparison at all.

    Just my two cents I guess.

    TL;DR: I'd be happy if Flash died a horrible, agonizing death, and took Newgrounds with it.

  • An interesting point to make is that Javascript/SVG combination is an alternative to Canvas.

  • I think excanvas does that to simulate canvas in IE, but it runs at literally 2fps.

  • I think excanvas does that to simulate canvas in IE, but it runs at literally 2fps.

    haaaaa. I would almost like to see this to have a laugh.

  • Not sure if you meant officially supported or what, but I'm working on an editor for raster/vector hybrids that will eventually work in c2. Not sure of what type of license it'll have yet.   but combined with c2 it should be a much more userfriendly alternative to flash in terms of both animating characters and programming games

  • "And if for some reason I did want to do vector stuff for the web I'd just go back to using Flash, because that's what Flash does."

    Some people would welcome this though, seeing that flash is is so expensive it cuts out small or home based developers. I would love to see this expand into a flash alternative. I love animations and the current limits on C2 has prevented me from moving forward on some of my ideas, but I do watch this forum almost daily to see what's new.

    As for the raster/vector debate, why not include both? More tools for more users. Best of everything for all tastes.

  • I think it would be really advantageous having a choice to use Vector graphics as well. If not creation tools but some basic manipulation tools would be useful.

  • And if for some reason I did want to do vector stuff for the web I'd just go back to using Flash, because that's what Flash does. No reason to reinvent the wheel. Especially since Flash has perfected that particular wheel.

    That says it all. Please focus on what C2 does best and features that user can't get from other sdk/engine. Don't get involved in some stupid "html5 vs flash" crap. It's not a competition, it's a matter of variety and specialty.

  • Sadly, with each new version, Adobe appears to be deliberately crippling Flash in its capacity to perform its original purpose � vector-based animation � to try and get people to use it for what they want, which seems to be websites. Hands up, everyone who thinks this sounds perfectly reasonable. Anyone? No one? Good.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)