megatronx's Forum Posts

  • Sprite > Boolean=true.

    Pick sprite nth instance 0.

    You now have the sprite where Boolean=true with the lowest IID. Sprite.IID in actions is now the IID of the picked sprite so it's knowable.

    Ah man, gotch ya. So it is 0 based index of picked sprites and not of all sprites IID's, correct? And thx. Althought. literaly the moment you wrote your post, I've changed from reusing existing sprite in to destroying and creating them. And it worked. After seeing your post I've fixed the reusing sprites events, and they work too. Interestingly, I don't see any difference in performance between both ways ( thought at first glance I'm leaning towards spawn/destroy option having better fps). I thought from some old topics, that creating objects is more taxing o the framerate. I guess I'll have to check for average fpx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • pick Nth imstance will pick the nth instance (1st or 2nd or 3rd or 4th etc...) not multiple instances AFAIK

    Yo, any clue how can I use that nth instance picking without knowing IID? Or get IID of one object from many that have boo set true.

  • Sorry, I don't have plan to make customer plugin this year.

    Hey, no problem.

    RadioMars Exactly. Even solution like this would help.

  • That only supports two motors, and controllers have more now. And if I had to hazard a guess, you're better off on asking 3rd-parties to add support for things that would be useful for game deployment.

    Ah dunno man. It could be implemented temporarily. I have a game based on speed and any rumble feedback would be nice.

  • pick Nth imstance will pick the nth instance (1st or 2nd or 3rd or 4th etc...) not multiple instances AFAIK

    Sweet, thx

  • Ah yes, my bad. But I know there is js for nwjs that apparently works https://github.com/andrew/node-xbox-controller

    And as for this feature being currently in development, I think it's true, but god only know how long it will stay in it. From myt google searches it has been in development for years. But even if the way around it would only support nwjs, it still would be huge step forward for my own and many other users development.

  • When no sprites are picked at all, an else will trigger (it's actually the only time you want to use else with a picking condition).

    As for you first issue, try adding a condition system: pick Nth instance or pick random instance depending on your need after your conditions.

    Hi,

    So you're saying that my event should look like more like this: Sprite.BooIsAvaible = 1, Pick Nth instance of the sprite? Will it only pick one instance and move on, or will it pick all nth instances? I'll check that out.

    conker23 I tried similar approach, but it didn't work. I might look in to it again and try different approach if Aphrodites way won't work.

  • Hi,

    Since it seams that gamepad is still doesn't have vibration option, I'd ask if someone could create an addon to official plugin that would do that. Obviously, it won't work with all exporters, but if it could work at least with nwjs that would be ace. There is https://github.com/andrew/node-xbox-controller . Maybe you rexrainbow could help since you're plugin wizz?

    Cheers

  • Hi,

    So I've been looking into making gamepad vibrate, but I don't think it has been implemented yet? If so, then it's a bummer, but I'd suggest that either it is finally implemented trough other means by the team, or someone makes a plugin, even if it would mean a limited export support, although preferentially it would work in nwjs. I'm not much of a programmer but I found this, and maybe this could help in adding controller feedback https://www.w3.org/TR/vibration/

  • Hmm... No other way of hacking trough? Maybe using some external dll? I'm not a programmer thought, but maybe someone who is, could do a custom plugin for this?

  • Yo,

    I tired testbuild now, and it works. Well done. I'd make a use out of it too. Do you think I could use it when it's done? Also, if you would be able to turn it in to a plugin somehow, that would rock.

  • Hi,

    I'm picking sprite with boo var. boo is set to inform weather sprite is free to pick or not. However sometimes i have more then one sprite free to pick, and picking by comparison picks all of them. I tired fixing this with trigger once, but it doesn't seam to help. Any suggestions welcome. Also, if anyone knows how to do "on picking failed", so I can do another action if there are none sprites to pick that would be ace. Cheers

  • No link

  • Damn haha

    You didn't rename nw.exe to something else by any chance?

    Nope

  • IT's really cool. But it would be so much more cool if you made a plugin that would allow to build a top down view of tracks in construct and automatically turn them in to this.