andykenobi's Forum Posts

  • I'm making a "Behaviour plugin" and i want to execute "some script" when trigger OnMoved from "Platform Behaviour plugin" without use "Event Sheet". I want use only scripts.

    Can i?

  • Ashley, do you know anything about it?

  • Hello there!

    I have bought the Construct 2 and i'm making a game and using some plugins. I see the licenses, and they are made by another plugin with MIT licenses.

    I want to know, can i make a game with that plugins?

    Can na sell the games?

    If i use MIT plugins, do i need to post the source code?

    If i make a game or software, can i make my own license?

    Anyway, thanks for the help!

  • Yes, i made this work, just add images, but use the inputs doest work, for example: move object, rotate or resize with the touch or mouse. I don't know why...

  • I implement a plugin fabric.js and that doest work, i cant move, rotate... etc... why?

  • That context is private to the Text object, you shouldn't mess with it. IIRC it creates its own 2D context, even in WebGL mode, for text rendering.

    Hum i got it. Thanks

  • I have this situation:

    Layer 1 - Scale 2

    Sprite 1

    Layer 2 - Scale 1

    Sprite 2

    I want to put the sprite 1 in the relative same position to sprite 2. But i don't know how becouse the two have diferents layer scale.

    Can i get the sprite position relative another layer? Like the mouse function: "Mouse.X("layer_name")

  • I'm making a behavior for the text plugin and i have a function call: Stroke Text.

    I want to add:

    ctx.strokeText[/code:3afufiqh].
    
    But i don't have the ctx.
    
    1. How do i get the ctx from text plugin to use?
    2. Another thing, can i make a draw function in a behaviour? How do i draw in the instance from a behaviour?
  • I got it!

    I miss:

    inst.set_bbox_changed()

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Where are the newX and newY values coming from?

    don't worry, the code is correct, it is a function... when i debug in chrome i have the x and y, when i debug in construct, the x and y change, but don't redraw.

  • I got the instance, i change the x and y, but in the game, the sprite dont change... why?

    inst.x = newX;
    inst.y = newY;[/code:1kqb7xb6]
    
    If i see in debug, the sprite x and y change, but i cant see at the canvas... why?
  • andykenobi

    Hi!

    Why it's not working on android or iOS?

    Project exported to Cordova, added to intelXDK, besides that- added local-notification-plugin.

    But it's not work on mobile platform, only in browser

    I need to atualize this plugin to the new version... i need some time to make it, but i know that will happen sooner.

  • Hey, can you inplement clearRect function?

  • Thanks so much for the update.

    Fixed the biggest issue I had with this plugin.

    Works perfectly for me now, thanks again!

    EDIT: Maybe a suggestion/request for any new version that might be upcoming:

    (Don't know whether that's possible at all)

    Would be awesome if you could add the possibility to change the form type for the multiple input alert, like the textbox. (password for example)

    Thanks again!

    Hum... thats a good idea... i will get some "Work vacation" in this month and i will make this... i like it! Thanks!

  • Can i resize canvas without blur? Like "Sample: Point" from the C2.

    Becouse i'm made a pixel art in 32x32... when i paste in canvas, i resize to 128x128, then when i invoke download frim the canvas, the image has same "blur".