valerypopoff's Recent Forum Activity

  • And you're trying to take a screenshot of what exactly?

    valerypopoff

    html2canvas is a way of taking screenshots of form elements like buttons. Normally the paster plugin or the canvas snapshot feature can't paste or grab buttons, lists etc, but apparently this html2canvas does something to mimic these form elements in style and then takes a screenshot of it which we can use.

    I tried to use it, but honestly I haven't got the slightest clue how to get it to work or if it is even possible.

  • I don't know what is it that's below the link.

    But I can tell you that. With my plugin you can dynamically add the script to a webpage and access functions, variables and objects in it. Call functions, set variables and this kinda stuff. If that's what you're supposed to do with whatever that's below the link, then yes, it's possible to get it to work.

    valerypopoff

    Forewarning that I'm a noob. But can you tell me if it is possible to get the below to work in construct2 with your plugin? And if yes, how to do it?

    http://html2canvas.hertzen.com/

    https://github.com/niklasvh/html2canvas/releases

    Thanks

  • IS it ever going to support web workers ?

    I don't know. Not until it stops being an experimental feature in Construct. And why do you need web workers in the first place?

  • I'm working on my Tweening plugin and I was curious if I could store a finished tween's properties in this.FinishedTween, and then trigger OnFinished and let all OnFinished events access this.FinishedTween without having to worry about other Tweenings rewriting this.FinishedTween during the next tick.

    From what I understand, the next tick waits for all triggered events to finish first.

  • We have limited resources and can't do everything quickly (even if I wish we could!)

    If people vote on the suggestion then we are more likely to prioritise it, otherwise there are currently dozens of other things we have in-flight and I can't guarantee when we can look in to anything else in particular.

    I see. Don't you want to at least repromote construct3.ideas.aha.io It's been quite a while since it was introduced and collected lots of suggestions and voices. I, for example, didn't even know it still worked before I created this post. I thought it was just for the time you were in the very beginning of Construct 3 development.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley did you decide anything?

  • Fixed the issue in Javascript Plugin v.0.6.7. Thanks for reporting!

    The problem was that hmmg_layoutTransition plugin used JQuery dependency. And when it's the case, Construct loads a slim build of jquery that has problems with AJAX.

  • does hmmg_layoutTransition use or connect jquery to the webpage?

  • It's defined in c2 as window["c2_callFunction"]. C3 is probably defined the same way.

    So if you're calling it from a plugin and want it to be minify safe use:

    window["c2_callFunction"]("my function",[])

    instead of

    c2_callFunction("my function",[])

    Hmm... is window.c2_callFunction also fine then?

  • Ashley

    I have a plugin that uses c2_callFunction and c3_callFunction in its source code. When I export the project with "minify script" option enabled, it seems to minify c2_callFunction and c3_callFunction to something like "g_zu" which ends up being undefined.

    Am I doing it wrong? Is it a bug? Is it by design?

  • Что, если в проекте мне нужно будет взаимодействовать с невидимыми и одновременно с видимыми объектами? Я так понимаю, если в плагине touch поставить игнор невидимых объектов, то вся система рушится?

    Все, что ты написал, действительно можно расписать в событиях. И смысл тогда? Пусть лучше не забивают себе этим голову, а исправляют баги, да добавляют действительно нужный функционал в С2, который нельзя воссоздать в коде, типа оффсет для tilebackground.

    Your attitude is why people hate russians in internet communities.

    1. The answer to your question "What if I need to interact with both invisible and visible objects" is obvious: do whatever you do now. Create the logic of telling visible objects from invisible ones. The setting "Ignore invisible objects" can't stop you from it. Just don't use it if you obviously don't need it. Your "what if" can't be an argument against what I propose.

    2. The mere fact that you can do anything with checks and events is never sufficient to deduct that we're good here. I never said that you can't recreate it with checks and events. I'm saying that when you do this, it's clumsy. I'm also saying that from my experience it's 1 in 100 case when what you need is a default Touch plugin behavior. You don't have a point here, man.

    3. And please don't do this "Let them do another thing instead". They know what they're doing. If you think that your feature request is more fancy, go create a topic about it and see if people need it.

  • Ashley I messed up a bit.

    "System: Layer Sprite.LayerNumber is visible" works fine if you rearrange or rename layers. It stops working if you have Sprite instances on different layers, which is most certainly the case: imagine a close button that is the same on all popup layers. To deal with that you should also assign an instance variable to the Sprite and make it different for different instances so you can always check the visibility of a layer that contains a certain instance of the Sprite. This is messy.

    And if you try a different approach with "System: Layer 'Layername' is visible", then it gives you all the problems I described in a previous post.

valerypopoff's avatar

valerypopoff

Early Adopter

Member since 7 Aug, 2016

Twitter
valerypopoff has 34 followers

Connect with valerypopoff

Trophy Case

  • 8-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies