WackyToaster's Recent Forum Activity

  • Easiest would probably be to just use a second variable to track if a food is currently picked. So in the event where you select food with LMB you compare if this variable is false and then to true. When you drop the object again set the variable back to false.

    FYI: There is also a Drag & Drop behavior that might just do all of that out of the box. Not sure if it works for your project.

    construct.net/en/make-games/manuals/construct-3/behavior-reference/drag-drop

  • I´d guess the construct build service adds a setting somewhere like:

    npmjs.com/package/cordova-plugin-keyboard

    stackoverflow.com/questions/21783730/phonegap-resize-webview-on-keyboard-display-in-android

    But I don´t know.

  • MikalYoooooo this is awesome!

    particles don't have rotation, so each would have to be assigned one color from the large image - a photograph image may not work but some pixel art might well be ok.

    You know... technically both are pixel art, one just has more pixels. But I know what you mean. One thing I defenitely would be intrigued by is how many particles I can throw at my computer before it explodes. I guess a HD image won´t work that well, considering the 2 million particles that would be.

  • Nope, since it´s a behavior it will be destroyed along with the object itself. I suppose you could use an offscreen object with the behavior to track the states and do some extra tracking for destroyed objects and whatnot and make it work but at that point you may aswell just do it without the plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Because it can´t connect to google analytics? If you didn´t add that, it was scirra to get some statistics. But that shouldn´t stop you from using Construct at all.

  • WackyToaster Can't you do the same with AsJSON expression and Set from JSON action?

    Sort of. You cannot save/load only the angle for example, unless you start doing some JSON parsing. You always save/set the entire object. And you still have to put the saved JSON somewhere. So if you want to have multiple states you need to save each state somewhere, my plugin does that with IDs. Also it will always save the current state, my plugin also allows you to save different values.

  • Get angle of Sprite(Tween Property)- Can be done by storing the angle of an object in a variable("Angle Variable") by using the Sprite.Angle expression

    2)Set Angle of Sprite- Can be done by passing the "Angle Variable" in the set angle action.

    I actually made a little plugin for this that can save/restore width, height, x, y, angle and opacity of objects... I just never put it out there. Maybe I should :V

  • I´ve encountered this issue before and I could never find a clear answer to it. Worst part is that some phones handle it by zooming out while others don´t. Also I remember I found some settings to add (back when I was still building with cordova CLI) but this only worked for some phones and not for others because... reasons? Further, if you maintain a regular app and a webapp, you might find that the same phone handles webapp and regular app differently (one does the zoomout, one doesn´t). I also wouldn´t be surprised if there is differences between browsers too.

    I find it to be a pretty convoluted problem (and I think it shouldn´t have to be but what can you do...), and the best solution may actually be to implement your own keyboard and suppress the native keyboard if possible, which it may not be in all cases.

    EDIT: I just noticed that you use the preview, try building a debug apk and see how it behaves on the phone. It may work different when build as apk (or not... read above)

  • Sort of, yeah. I wouldn't even need/want individual pixels. I take triangles at ~10px too, probably even bigger.

  • Since we are talking about polygon decomposition... would this allow objects to break/shatter into smaller individual pieces from a big one? That would be cool :)

  • This is causing me to hesitate releasing the plugin. Depending on what you want out of the plugin, this could be a show-stopper...!

    You can always release it as a beta if you are unsure, as soon as more people use it it´s likely that they will find a bunch of bugs you never found anyway. Every software has some quirks or bugs here and there and often there are ways to live with them or work around.

WackyToaster's avatar

WackyToaster

Member since 18 Feb, 2014

Twitter
WackyToaster has 26 followers

Connect with WackyToaster

Blogs