rafaeltrigo's Forum Posts

  • Hi , I would like to know how can I easily link two apks to send messages to each other in the same network , like a chat , or multiplayer , not using a websocket . Thanks

    Tagged:

  • Hi , Mikal when you have a spare time it would be nice to have an example of this plugin working with the new C3 3d camera , thanks

  • Thanks dop2000 I misunderstood the documentation , I thouht when sprite overlapp the tiles it already takes the tile number .

    Now its working with Snap , and the other way you said . Thanks

  • dop2000 Thanks for answer but its not what the documentation says :

    Snap(x)

    Snap(y)

    Snap an X or Y layout co-ordinate to the nearest tile. This also returns a layout co-ordinate, but aligned to the nearest tile in the tilemap.

    and thats not what I need , I need TiletoPosition insted

    TileToPositionX(x)

    TileToPositionY(y)

    Convert a tile position to layout co-ordinates. For example, this can be used to position a Sprite object on top of a given tile.

    I think this is a Bug

  • Hi , Im using the Tile to Position to get the X and Y Layout Coordinates from tiles

    After I get the information I sow a large number so I divided it by the tile size , so far so good

    but it shows me a difference of 0.5 in the layout X and the Layout Y coordinates

    how can I fix it ?

    Link to c3 project

    dropbox.com/s/eue286nkqvo2hf6/tiletopositionBug.c3p

    Tagged:

  • Mikal Thanks for answer , I mean in the project file , in your example there is an image of a White car , when i open the image editor that image looks distorted , but in runtime it looks amazing , even if we dont put the path it still works . Tks

  • You do not have permission to view this post

  • DiegoM

    Sorry to disturbing you !

    Now Im trying to load a simple image like :

    img.src = "https://cdn.pixabay.com/photo/2021/08/20/23/49/plant-6561467_960_720.jpg";

    and "./myimage.jpg"; from files not using any libraries , Into drawing canvas , but without success , any tip ?

    Thanks

  • Hi nyuszi008 ,

    Yes c3 currently does not support it ,

    so Im wondering if there is any way to make this work ,since svg animations work in layers .

    and yes iframe works differently , i just showed that the same svg file contains an animation in it like ( gif ) images.

    Even though C3 convert SVG file to 2D rasterized texture it could keep the animation on it.

    Because the c3 animation editor doesnt have many tools , so we must have to use other tools outside of construct to make graphics and animations , and for me that uses SVG it would be amazing to keep the animation in the file .

  • DiegoM

    Amazing Job ! Thanks a lot !

    I think this example must be in the examples page in scripts , because i think this is a commom question how to display javascript using c3 canvas and manipulate it .

    I have been using iframe for it and its not the same thing.

    Thanks a lot again !

  • Hi , Is there a way to play a svg Animation ?

    I create the animation with inkscape with some layers , save a svg file

    I went to: chr15m.github.io/svg-animation-assistant imported the file

    and play and exported the svg animation

    I imported this file into c3 and played it with iframes

    But when inporting to normal svg object it doesnt play the animation

    it seems very lighter comparing with normal sprite animation as you can see in the imagememoryusage , and when playing with iframe it is almost 0 imagememoryUsage

    file with project

    dropbox.com/s/h56yua5grnxamq5/svgAnimation.c3p

  • Mikal , Wonderful work , congratulations !

    I tested and it works , would be nice if it has an imagepoint ,to interact with construct3 like a spaceship that spawn a laser from an imagepoint or something similar,

    even we rotate the object the imagepoint is still there .

    Where did you find the jeep image ? because it works without the paths from obj ant tml files , thats amazing

  • Thanks DiegoM , I posted the idea there construct3-21h2.ideas.aha.io/ideas/C321H2-I-93

  • Hi , speaking of limitations of Timelines, when will it be possible to use the moveto: Move along a timeline , with cubic bezier ? , because it only works in a straight line Thank you

    dropbox.com/s/vdk7l8o4nj1tbv1/timelinemovetocubicbezier.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi ,

    Edited: Sorry I just see the option playback rate , and we can speed up the time line there .tks anyway

    Thats amazing because we can set diferent speeds for the same timeline using diferent objects like a race .

    Im already speed up the time line using timescale , but it only works for the entaire project , I would like to know if there is other way to speed up only the especific object in the especific timeline that is playing . tks

    Tagged: