Crayron's Forum Posts

  • Alright so that http://time.jsontest.com/ worked great, but how do I parse through the AJAX.LastData so I can just get the time and date?

  • Hmmm, I'll try it out. Thanks a bunch.

  • Been trying to figure out the smartest way to do this, essentially what I'm trying to do, is make it so that players can only do something ONCE a day, as in an actual day, 24h. I could easily pull system time, but I mean if someone really wanted, they could easily just change their time and boom, breaks the mechanic.

    Any help would be appreciated, thanks.

  • Wow, I totally didn't even think of that. I was just trying to put it in a function. But yeah wow. Thanks man. Appreciate the help.

  • Where?

    http://gyazo.com/a31f386d1be04d16659b06264ce1286e

    Because I honestly don't see it. If it were that easy, I wouldn't be asking for help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you could show me an example then, that would be fantastic. Because as I said. I can't see it.

  • So, I've been trying a billion things and I just can't figure it out. For some reason, physics objects don't have the condition "On Collision" which you would think they would. So I figured maybe on overlap would work. Nope. Basically all I'm looking for is "When object collides with physical object (families), destroy object."

    So, if anyone can help. That would be great. Thanks.

  • R0J0 you're amazing. Thank you everyone for your help!

  • Hehe, kind of funny, had a buddy come up with that solution for me as well, Still curious if there is a way without doing that though.

  • Well, thanks for the help InvaderX but for me personally, this isn't quite what I'm looking for.

  • Hey there, I've been trying to piece together a way for tiles to check what's around them. But, I can't quite seem to get it. Collision at Offset doesn't work, not properly at least. I was considering Yann's Bitwise plugin, but would anyone know a way without using that? (Mostly curious if it's possible, it must be.)

    Basically what I would like to happen, is There be say, Nine blocks. Every block checks if they have a block Above, Below, Left and Right of them. Then, depending on that they turn into a different block. Like Block 0,0 Sees he has a neighbour below and to the right of him, so he turns into a [ corner block. Where as Block 1,0 sees he has a block to the left, right, and below. Thus he's like a -- flat block. And so on, of course. Any help would be greatly appreciated! :)

  • Great thanks a lot guys. I've got it all figured out now. Got it set up so that if you're within the range it starts, and if you're out of the range it stops. I just hope that it doesn't get too laggy or anything, considering I'll have many objects eventually.

  • Okay so, I have it. But it only works once, I can't get it to work for multiple instances within the MONSTERS family. Any ideas?

    Also, it's a platformer. So basically I want it so that once you're out of that say, 15 pixel range, it goes back to not rotating.

  • Oh maaaaan, Thanks a bunch I didn't realize that function existed. Sheeeesh. I appreciate you. :B

  • Hey there. I haven't posted for a loooong time. BUT, I'm making something (again) and I really need a hand. I went through about 70 of the forum pages looking for the answer I need, but I can't quite seem to find anything I'm looking for, so my question is this.

    How can I make it so that if the player is WITHIN a certain distance of the enemy, the enemy say... For simplicity rotates. Like, WITHIN -10 of it's x and +10 of it's x. The WITHIN part is very important, hence the capitalization. If someone could help me out here, it would be very much appreciated. (I've been stuck on this for about 5 hours now. So it's probably really easy, but I can't get it at all.)

    Thanks in advance.