Pillarist's Forum Posts

  • Hey all,

    I haven't had this problem with the pistol proberly because it does not fire fast enough, but since I added an assault rifle, I bumped into this issue and cannot seem to solve it.

    Anyone has an idea?

    Thank you in advance.

  • For platform movements like running/jumping you need to replace "Keyboard On <key> pressed" events with "Keyboard Key Is down".

    "On" events are triggered only once. "Is" events are triggered multiple times while the key is down.

    (Same goes for Mouse and Touch events)

    Use "On" events for actions where you don't need repetitions - for example to open a chest, press a button etc.

    For the same reason you should not have actions like "Set animation (play from beginning)" in "Is" events, because animation will be stuck on frame 0 while the key is pressed. (see event 11 on your screenshot)

    You can use "On" event to start animation, then "Is" event to simulate platform movement.

    Thank you! It works perfect now!

  • Ah great, thanks a lot im going to try it now!!

  • Try making an event for the bulit itself in which whenever it collides with "blah-object" it (one time only just in case) creates "sparks/shrapnel" (which sould be a simple particle generator which small ammount of particles) I usually do such things for jumping characters so the puff of smoke is created and destroys itself too. - I hope my ramble was clear-ish enough to follow.

    Thank you for the reply! I tried that but that way I would have to make an event for every individual solid item. I had someone suggest me that I could make families in C2, and with those families I am able to make particles for different types of stones, for like, brown stone certain particles, vegitation certain particles etc. It allows for really neat stuff.

    Never thought I'd be able to make something like this, it looks awesome!

  • Hey all,

    I came across another issue, I am trying to make my bullet spawn a particle whenever it bounces.

    Do I have to make an event for every single item it can bounce off? Or is it also possible to make an event like; whenever obj_pistol_projectile collides, spawn <obj_pistol> particle at imagepoint1 on obj_pistol_projectile?

    Would be a lot of solid items I had to put into that event so hoping there is a way around that.

  • "Does that mean anyone who is running a lower version can just download the latest and update to the latest version?"

    Yes.

    "Is that also possible without an internet connection?"

    Are you asking if it's possible to download it without an internet connection?

    No more as in, to install the update.

    I could put the file itself on an USB to install on my laptop (wifi doesnt work anymore on it)

  • > cannot open , my construct 2 is version 239 , and capx from you version 247

    >

    All C2 builds are available here: https://www.scirra.com/construct2/releases

    Does that mean anyone who is running a lower version can just download the latest and update to the latest version? Is that also possible without an internet connection?

  • Hey all,

    I was making a game with Arrow key movement, but this didn't work out when I figured the WASD keys + mouse would allow more keys to be reached and more comfortable to play.

    So, when I tried to change every Arrow up into a W, arrow down to S, etc, I noticed that for some reason, when I jump, my vector X goes to 0 instead of the maximum speed it should have.

    Also, when I jump, it goes up, but won't go diagonally like you would in real life, it just jumps up to the air without moving on the X axis.

    Weird thing is, it worked with the arrow keys, and I cannot seem to fix it. There isn't even an event that makes the speed, or vector X to 0.

    Anyone would like to send me a PM who I can reply on and send the capx? It contains original content and I wouldn't want to upload it publicly.

    i.imgur.com/NVRLhM5.png

    If capx is required, i'd be glad to send it to a person with a decent reputation, receiving it is agreeing to never share screenshots/art and/or anything that is included in the project besides the sounds that have been imported. Those are public domain.

    Thank you in advance.

  • Hey Pillarist!

    I don't really have the original file, but here's how it would work.

    https://www.dropbox.com/s/d1cd373kf2gdm ... .capx?dl=1

    Hope this helps. Cheers!

    Thanks man!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It works. Without seeing your event sheet, there is no way for us to figure out what is wrong with your implementation.

    https://www.dropbox.com/s/3ly5ej6b9w6cu ... .capx?dl=0

    Hey, Thanks for the reply! I got my original content in the capx so I rather not share, I could post a screenshot if neccesary but I will check out the capx first.

    Edit: It works, Thank you very much.

  • No problem. Hope it helps!

    Another re upload perhaps? <3

  • The dropbox download link has no longer available,please reupload it!

    This forumpost is also in the sticky how to's, so it would be very nice indeed to have this re uploaded.

  • Hey all,

    I am currently making a platformer which has some doors as decoration in the envoirement, I was thinking, since they don't function and just sit there in the background, it would be fun that when you are standing at it, you could press <key> to let a sound play (doorbell,which I imported already).

    The way I tried it was to When player is collision with an square marker sprite I made which is over the door, when key <key> is pressed > play sound linked to my imported file (volume 0, loop off).

    It sadly won't work xD

    Any ideas or alternatives ways I could try to do this?

    Thank you in advance.