vee41's Forum Posts

  • Check plugin forum for nickname plugin.

  • Hi guys,

    I have 6 different sprites set up in my layout and I'm trying create an instance from one of those (randomly selected) at a fixed timing rate. I have combined all of them in a family, but I only have the option to spawn the whole family-object.

    Since I only need one instance on screen at a time, I also have set up "Destroy" right before the "Create"-Action,

    While this seems to work ok, I'm not sure if this is the right way to do this... does anybody have another suggestion how to go about this?

    Any help appreciated, thanks!

    Doing a 'Create Family' event will create random member of that family.

  • Nope, multiplayer is really barebones and requires lots of effort.

  • Check this out: How to report bugs :)

  • The original solution des not work because the 'System -> Compare two variables' condition does not pick any objects, thus any actions affect all of them.

  • This is probably what you are looking for: Don't waste your time..

  • Here is one example:

    Knockback demo

  • Function manual entry

    I generally use parameters via function.param(number of parameter I want to access) expression.

    EDIT: Guizmus was faster, well played Sir :P

  • Here is one way to do something like that:

    Path demo

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great Idea! Here is our contribution...

    http://www.indiedb.com/games/firefly-village/videos/firefly-village-lite-preview

    Great stuff! :)

  • hello people am new to construct 2.

    am making a shooter game and i want to make a gunshot sound to work correctly.

    so i made it when i have left click down to shoot and spawn a bullet.

    am trying to put a sound when the bullet is created, i achieved that but the problem is that when the game starts the sound is played once how i can stop this?

    i have the bullet on the layout, please tell me what i can do, or some opinions. thank you

    I usually have 'Objects' layout or something similar, where I place 1 copy of every object. This layout is never used in game, just holds the objects. Now I don't have to place any extra objects outside layouts etc. on my actual layouts.

  • Just to be clear:

    When I say "Burst-Fire", I mean a gun shooting a number of successive rounds with a single pull of the trigger.

    With the code I have so far, I can make an Automatic/Semi-Automatic Rifle/SMG/Pistol/Shotgun/Spreadgun. You name it.

    But for the love of god I am struggling to figure out how to make it burst-fire.

    I've tried using loops and calling the same function within itself to no avail.

    Here is a the section of my code:

    - At the top is the conditions that need to be met for the function to be called.

    - the "weapon.bulletsPerBurst" is what determines the weapon to be a single-shot or spread-shot.

    - "weapon.burstRate" is what I use to determine how many times that weapon shoots successively.

    Event Sheet Snapshot

    <img src="http://i.imgur.com/ol5oQVe.png1" border="0">

    Any help to make this work will be appreciated.

    I'd probably do it something like this:

    for 0 ... to bulletsInBurst-1

    .. wait burstRate*loopIndex

    .. Spawn bullet

    .. Set variables

  • Thanks for reply, but I don't need to save EXACTLY where I left off. I just need to save which levels are open, complete or closed, and global variables. And when player starts the game, it automatically loads it, like in Angry Birds/Where's My Water and etc.

    Take a look at webstorage object. You can save your variables between game restarts, and initialize your game based on those.

  • You do not have permission to view this post

  • It's always been that way?

    As far as I've been using C2, and my guess would be for eternity before that as well. :)