Loading Canvas or Sprite from TileMap

0 favourites
  • 6 posts
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • would it be possible to load a "canvas" (drawing canvas) or load a "sprite" with an image of a certain position of the "TileMap" (Tilemap.TileAt(x, y))?

  • It's not clear what you are asking about. Do you need to spawn a canvas/sprite at a certain tile on tilemap? Or do you need to load an image from canvas/sprite into a tilemap? Or paste a specific tile from tilemap onto a canvas?

  • It's not clear what you are asking about. Do you need to spawn a canvas/sprite at a certain tile on tilemap? Or do you need to load an image from canvas/sprite into a tilemap? Or paste a specific tile from tilemap onto a canvas?

    [dop2000] my doubt is "paste a specific tile from tilemap onto a canvas or a sprite"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can place the DrawingCanvas in the tile position, set its size the same as the tile size, and then use "DrawingCanvas Paste Tilemap" action.

    If you explain why do you need this, I may be able to suggest a better solution.

  • dop2000 thank you. I am working on a simple puzzle for chidren and I was looking for an easier way to dismember the image into pieces. (images 1 and 2)

    the first thought was on tilemap but this action of "drawingcanvas" copies only the overlapping part of the "sprite", this worked perfectly. (images 3 and 4)

    img - 1

    img - 2

    img - 3

    img - 4

    ....

  • Yes, Drawing canvas is perfect for this task.

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