memph's Forum Posts

  • 10 posts
  • Thanks, guys, it now works! I created another image point and placed it just outside the player.

    Thank you so much for your help!

  • I use construct3 as a free user at the moment.

    I managed to upload your version which works fine. I then went to copy and past your event sheet to mine and it still wouldn't work.

    The only different thing I can see is have a separate sheet called object repository. How can I recreate that?

  • I downloaded those files from that link but then I needed to download an app to open them (json genie) and then I still couldn't open them lol.

    I'll try moving the bullet off the layout but I think I already did try it yesterday.

    I just don't get it. I can make the character shoot infinite bullets but when I try to add limitations, it just won't work. Something to do with bullet properties maybe?

  • The textbox shows the bullet count going down every press of the Spacebar but my character won't spawn bullets. Only the first bullet flies away from the character (if I place the bullet in the layout area then it won't spawn at all).

  • I followed the instructions of a video but it still won't work. What am I doing wrong, guys? I want my character to shoot until it runs out of bullets.

    Tagged:

  • Can't see the debug preview on free version.

    I just can't get it to work properly. I'll keep looking for a video that shows a working example. Seems like 99% just use basic unlimited ammo though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay, this is what I have done so far and what the result is...

    Set a global number for bullets.

    Player on collision with bullets gains 10 bullets to fire on spacebar pressed.

    System: Bullet greater or equal to 0

    Every tick deducts 1 bullet from player's bullets of 10 (problem is the count on textbox goes down to 9 bullets after pressing spacebar twice instead of what should be once. Every shoot after is one bullet as I want it to be from the start).

    If I collect more bullets, total will not go above 10 bullets on textbox and player can not shoot more than that either. I don't want an upper limit. I want only what player collects.

  • What I'm trying to do are these events:

    Collect bullets

    Show 10 bullets on textbox (not limited to 10)

    Every time spacebar is pressed once, fire 1 bullet from inventory and subtract 1 from textbox.

    Is there an example I can study or copy that anyone has?

  • I have global variable for Ammo at the beginning of the events page only.

  • Hi guys, I'm new to Construct3 and am having trouble showing the ammo being subtracted from the textbox everytime I shoot.

    The amount of ammo shows okay and that amount is shot okay too. It's just the ammo number remains the same.

    Could somebody here show me a detailed example of how I can do it, please? Thanks so much!

    Tagged:

  • 10 posts