megatronx's Recent Forum Activity

  • Why is it not good enough? You can check for every possible animation name your colleague is using, and sticking to the same naming standards is generally the best practice overall.

    Not that simple unfortunately ^^''

  • Maybe you can make the conditions for animation check a sub-event and then right-click it and say "make OR block". That way the code above and below wouldn't need to change.

    Tanks, but that's not good enough.

  • Hi,

    I would like to suggest adding tags, that can be used to check animations and all other things that conditions are based of checking a string, and that do not have tags yet ( with exception of variables ).

    As it stands, I'm working with one other person, and since he is using different naming conventions then I do, I'll have to change loads of events now to accommodate his naming conventions. Having tags would let me call or check particular animation ( and whatever else there is that require to manually edit the name inside condition) by tag, letting him or me change the names freely without affecting the actual events.

    Thanks!

  • All i see for the coming years is the move away from desktop to phones and tablets. Node-Webkit is a pretty poor excuse for a proper executable on the PC. Its a real shame but i dont see anyone having much inclination to provide other, better options.

    As for a 40mb file on a PC. So what. Doesnt affect the PC at all.

    40mb not a big deal, but was surprised, and also it was going to be sent to someone.

  • You should already be able to get the last pressed vs. last released simply by updating two global variables to the LastButton expression in 'On any button pressed' and 'On any button released'.

    I'm not sure what the problem with the analog sticks is: they are axes, not buttons, so they don't have keycodes. You have to handle keys and axes separately.

    Hi, Ok, i get it now how the sticks are working, and why I can see 2 keycodes instead of 4. Released buttons works like a charm. Was so fixated on keycodes that I've missed that. Thanks!

  • Hi,

    I would like to ask to improve the gamepad plugin.

    First of all, add separate expressions for "last button pressed" and "last button released". Atm when two buttons are being hold simultaneously, but then one released, the released button is not registered when "On gamepad button Gamepad.LastButton()". (Maybe there is another way if anyone knows? )

    Secondly please fix the issue where there are no keycodes for for left and right analog stick UP and LEFT directions.

    Thanks!

    M

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ^^ Now that's a good idea! Thanks megatronx - and just before I started to put sounds in (phew)!

    You're welcome

  • Ok, megatronx . Now I'm curious. What is the nature of this special something? I've been using C2 for over 2 years now and I keep discovering new things it can do. I imagine the shortcomings are either 3d related or inability to use some sort of io device maybe?

    I can't tell you yet, sorry, but it's something no one thought about yet, if not bit abstract. To get what I want, I'd probably have to program things myself, you have to take my word for it, which I can't do due to lack of skill unfortunately.

  • I'm doing something special, but it seams c2 is not capable of all I need to do. So will build a prototype and then try getting a programmer.

  • For what it's worth, I heard some very good advice on this subject a while ago. Use a Dictionary object and set a key to the audio file name you want to play. Then, to play sounds, select "Play (by name)" and get the file name from the key value that you set earlier. Then, if you need to update an audio file, all you need to do is import the new audio file and change the name in the appropriate Dictionary key. The old file(s) can be deleted and you won't need to find every audio command in your game events to change the reference. For example:

    [attachment=0:17qrc95n][/attachment:17qrc95n]

    That's one way. You can also just make a function, so there is only one play event per sound.

  • Yeah, that's node webkit. thanks for info!

  • WTF!? Controler Key Codes is a whole project. There is almost nothing in there. You can see in the image. Yet after exporting it is 40mb!! Why?!

megatronx's avatar

megatronx

Member since 25 Sep, 2008

Twitter
megatronx has 1 followers

Connect with megatronx

Trophy Case

  • 16-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

23/44
How to earn trophies