Rotatable drawing canvas?

0 favourites
  • 7 posts
From the Asset Store
You need this package if you want to program a Street Fighter or battle game.
  • Why isn’t the drawing canvas rotatable?

    I’d like to be able to make an object by conbining lots of sprites. Rather than pinning or containing lots of objects together I should be able to paste them into one drawing canvas then use that as a sprite.

  • Looks like you can load it into a Sprite.

  • There might a bug on the pasting, though. Check the bug reports section. And I personally tried doing it (spent 10+ hours). I think it's not currently possible to paste correctly into an object after resizing, which defeats the purpose for me (mobile game, that needs both portrait and landscape). And yes, I used all kinds of pixel ratio thingies in my calculations. What I'm doing atm, is I only have the game landscape mode, so all players need to have their devices in landscape mode to play.

    Edit...

    To clarify, think it was sprite action - load image from URL

    but like said, buggy.

  • I tried to edit to add to my previous post...

    Think it was sprite action - load image from url

    but like I said, buggy.

  • It's not rotatable mainly because some features involve a ton of really complicated transforms (e.g. pasting an object with effects), and adding rotation to this makes it even more complicated. It's already been tough to get right, and there are still some outstanding bugs (please file them if not already on the tracker), with pasting without rotation...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I checked out loading a Sprite by the save image of Drawing canvas, and it works, although it looks like the resizing options may be off.

    Be sure to use the asynchronous triggers that Drawing canvas offers. You are grabbing from the gpu after all.

  • Thanks newt i’ll give it a go.

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