warville's Recent Forum Activity

  • Hey guys , thank you for the replies , this was a long time ago , and i had to create a virtual keyboard in construct .

  • rexrainbow i will upload the source files of the plugin in the same folder , i do not intend to make it as a separate behavior , i actually included the fabric-brush.js in the same plugin.

    here are the files , also note i have another problem with converting to SVG , it works when the canvas is empty but when i insert a rectangle it gives me an error , t.Match is not a function.

    https://drive.google.com/drive/folders/ ... sp=sharing

    i also added an example capx which include most of the features i added . it wasn't for share purpose so it must be confusing , it is for me to test on the go my plugin functions.

  • I have been working on porting Fabric.Js to Construct 2 i have been stuck in linking the canvas to Fabric canvas. but i got it solved by using rexrainbow Fabric.js plugin as a reference , i was happy when i found he made that plugin because i have been looking for a solution for some days.

    i have done some nice progress. ( i know he already done a fabricJS plugin but it was very basic and lack most of the features. and basic canvas features , so i had to make my own that serve my needs.

    but i was stuck again with a problem and i wish rexrainbow can help me. i used another fabricJs extension called Fabric-brush.js

    which is a small library or custom brushes the problem is , after i draw with this library in free Drawing mode i try to export my image using toDataUrl or toSVG ... all i get is the basic shapes that i drawn like rectangle but not the Brush drawing and also it gets erased from the canvas.

    please see the images on my drive to see how i implemented the function for free drawing , and screenshot of the problem.

    https://drive.google.com/open?id=0B3inO ... ExFSldXUGs

  • i was trying to implent FabricJs in C2 to build a drawing app. but i get stuck in linking fabric js to This.canvas . can you help me ? can you send me your plugin please ?

  • Yes it is possible , it may not be exactly the same as your example, and it can be like your example with some more work , use containers , use pin to object(behavior), use custom movement ( behavior) this is what i though of , but it can be done in many ways.

  • there is no fix for this because it's not a problem,

    first most of this is visual in your eyes

    second your object is moving very fast and very big in size or very small

  • Your text will be a variable, from preexisting values like a dictionary or array, when the proper trigger happens you set the text to that specefic value , then your journal will be in a layer that become visible when you press J

  • as long as i experimented with C2 i don't think there is a way to do this automatically. You need to delete the unneeded layouts and files, because it will still be there in the build and this will increase the download size , but i don't think it affects the RAM or CPU as long as it is not loaded.

  • you are welcome

  • Doesn't look blurry to me too, maybe it is related to FPS , you are running it on a low spec computer maybe?

  • Here i came up with a simple solution, you can tweak it by changing values in the events and in the platformer object to make it the way you need it.

    https://drive.google.com/open?id=0B3inO ... Tl0R1FnWkk

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • make it like a scenario , using some collision checks and simulate control

warville's avatar

warville

Member since 28 Feb, 2014

None one is following warville yet!

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies