gumshoe2029's Forum Posts

  • I didn't find anything for C2 Steam Overlay, so it looks like you are writing a new plugin. Please share it when you are done!

  • You need a separate sprite (or really a separate frame within one sprite) for every orientation you want it in.

  • Lots of math and lots and lots of random numbers.

  • You can do instance variables on individual sprites too.

    I would look at using JSON to layout all of your weapons ahead of time and load it into a rex_hash then just pull values to populate your sprite instance variables. (presuming that the stats don't change dynamically).

  • You are going to have to track the content and UIDs of each sprite using instance variables and do a lot of comparisons on click.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry for neglecting you, I wrecked my car recently, so I have been a bit pre-occupied.

    Sadly, I am not quite as dextrous with families as my client lead. I'll see if I can get him to reply here for you.

  • Can you simply adjust the height of the invisible floor to match the present height of the ground the character is standing over?

  • You are exactly correct in that it doesn't generate random strings, which is why I said you have to seed it with the random number. It just takes the text value of that number and turns it into a more random string.

    Uniform random number generation is not cryptographically secure it you are wondering, so do not use it for things like hashing passwords (and even session ids is probably not a good idea). But this is the 'easy mode' answer.

    Even your example is not cryptographically secure and could probably be guessed by a good cryptanalysis program.

    If you want to put a little work into it, I can give you more options.

    If you want to search yourself, the key phrase is "cryptographically secure" for any library that you are looking at.

  • That should be a setting in the web browser itself. Look under Options and Web Cache Management to ensure that a limit is not set.

    Like: http://ccm.net/faq/40819-firefox-36-how ... cache-size

    in Firefox

  • Yea, I would look into your timer first. Can you get a screenshot of the selected events? (Right click > Screenshot)?

  • This is the classic example of JavaScript asynchronicity.

    All of your "global" events (i.e. anything not subsidiary to another event) is executed once per tick. Your variable 'talk' cannot be 1, 2, and 3 at the same time, but that is how you are telling Construct to interpret it presently.

    You need to put those events together using the "Else" statement, otherwise you will continue to get those crazy logical errors. If "Else" doesn't work then you need to put some other condition in there to make your conditions adequately unique as to trigger independently of one another.

  • Maybe try putting the detectors in a family and check for your objects overlapping the family rather than each independent detector sprite?

  • A for loop will work, like:

    Sprite: Set Animation Speed: 0

    For "loopindex" from 0 to 40:

    Create Sprite: X= 100; Y=50*loopindex + 10

    Sprite: Set frame: loopindex

    Make sure your buttons are all on the same sprite as independent animation frames

  • You have to match the "Width" and "Height" parameters in your "SquareTx" object to the size and shape of your 'tile' Sprite. If you don't you will have gaps like that.

    For instance, if your Height and Width parameters are 60 and 60 (in px), then your tile needs to be 60x60 px.