BigDream's Forum Posts

  • Yes, just figured it out! But thank you anyway! Sometimes when trying to think of many things at once, it confuses my brain and then even simple things disappear from my mind... <img src="smileys/smiley13.gif" border="0" align="middle" />

  • My inventory has 3 slots. There is a shop in my game that sells items.

    It works like this:

    ----------------------------

    If [Buy Button] is clicked and [Money] is => 25 then sell one item to the player.

    ----------------------------

    The problem is that when I click that button once, it sells 3 items at once (Inventory has 3 Slots)and fills inventory, plus takes money for 3 items instead of one.

    How can I get ONE item only if I clicked [Buy] once?

  • Yes, it works now with the For Loop! Thank you! But I'm still having one more problem:

    If [Enemy] is [On Stopped] + [Overlapping Player] then play [Attack] sound

    It works fine with a single enemy but, again, it doesn't work with multiple enemies. The For Loop isn't working here since there is a Trigger (On Stopped).

    Any ideas on how to make each enemy play Attack sound as soon as they are close to the Player?

    P.S. - I'm sorry but I can't send the .capx because it's a big project which is about to be released soon and I don't know if my people would like someone to have their project before them, you know.

  • Hi!

    How to use Line Of Sight behavior with multiple enemies? My enemy sprites have Platform behavior to control their movement.

    For the enemy AI I've got something like this:

    If Enemy has LOS to Player > Enemy simulate Platform pressing Right, Left, Jump, etc.

    It all works fine with a single enemy but as soon as I create two or more enemies I start having this problem:

    If Enemy #1 has LOS to player and simulates Platfrom pressing Right or Left then all other enemies do the same even if they don't have direct LOS to the player...

    How to solve this problem?

  • Hey, guys!

    I've been searching forums to find a solution for my problem but all thosee examples eaither too complex for me or not exactly what I'm looking for. As I can see, it's not hard for you to figure out the inventory thing. So, please, can you help me with what I need:

    A simple 3 Slots inventory. It must work like this:

    1) Player picks up an item and the item goes to any free slot of the inventory

    2) If all 3 slots are full, the player can't pick up the items anymore

    3) After the item was removed from its containing slot(for example, removed by event), that same slot becomes available for another item to pick up

    I would appreciate your help with this. Thank you in advance!

  • Thank you very much, guys! This is exactly what I needed!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've been trying to figure it out myself but I ran out of ideas...

    What I need is water spray (http://bit.ly/13pYs4z) effect. I tried to use particles but couldn't get that effect. How I see it in my mind is when player presses a button for shooting it creates water spray effect next to the 'weapon' <img src="smileys/smiley1.gif" border="0" align="middle" /> Any ideas how to make it? Or maybe someone knows properties for particles object that will make that effect?

  • Hello!

    I'm having problems with sound in Firefox and IE! It works without any problem in Chrome and Node-Webkit but when I use Firefox/IE the sound doesn't work properly:

    1) Volume becomes low sometimes in some parts of the sound (every time it's a different part of the sound)

    2) There is a big pause between loops! If I have sound/music on the loop, there is a 1 or 2 sec silence before the sound/music starts playing again!

    (It doesn't happen in Chrome and Node-Webkit).

    I tried to search forums to find the solution of this problem. Some people are having problems with sounds in FF and IE too but their problem is kind of different from mine. Anyway, they couldn't find out how to solve it.

    Please, let me know if anyone knows what to do with this...

  • dl.dropboxusercontent.com/u/14522925/C2%20examples/clouds.capx I made for someone else recently.

    In future, I suggest you use the search function before posting a new topic :)

    Thank you very much for that example!

  • I thought about parallax before but I still need the coulds' movement when the character is standing. How about that?

  • Hi!

    How do I make scrolling clouds? I'm not a pro at Construct 2 so please keep it in mind and don't suggest hard ways that I won't understand :)

    Hoping to get help soon! Thanks in advance!