vtrix's Forum Posts

  • i just realise that no matter what, no picked objects are passed thru function, is this wanted? in classic you could keep picked objects...

    like when you have a collision with an object you can pass this object to the function

  • i would expect that a function in subevent would keep the selected object

    in this example both objects are deleted instead of the one clicked on

    (purely as simple example)

    https://dl.dropbox.com/u/61666915/functioncall.capx

  • delgado

    I made a new example, better use this, its cleaner

    familycount2

  • it doesnt matter if other levels have more objects

    you only need this event to check if there are 0 objects,

    you dont need a global variable as it counts the familyobjects that are on screen, so you can create a level with 10 objects (from the family) and another with 20 objects , it will count the objects and when 0 it fires the event

  • You can do an objectcount of the family and compare if = 0

    familycount

  • Mulkaccino thx, fun high speed shooter, thats what im aiming for

    vandinz Glad you have fun playing it

    Zero6 some nice feedback thank you i will improve on that

    harrio keep practicing:)and try to beat the boss!

    made small update, some added sounds, and burst(rightclick) is capped at 3

    (press refresh if you already played)

  • hi,

    working on a shooter, i have the basics down for one level

    waves + boss, scoresystem, sounds, powerups

    controls are mouse

    leftclick for normal shooting

    rightclick for a burst *updated > max 3bursts

    i used the scirra graphics for the waves

    for the background i used a large image with fx warp (tip from forumuser)

    im wondering if the game plays fluid on multiple systems and any other feedback you can give is appreciated

    play shooter

  • I just had this closing crash again, vista64

    Problem Event Name:     APPCRASH

    Application Name:     Construct2.exe

    Application Version:     2.0.0.0

    Application Timestamp:     50857a10

    Fault Module Name:     gdiplus.dll

  • xoros , yeps its a workaround, use it where you can, not sure at what number it would become a problem, you could up the loopnumbers, i been using it for 20 objects and works very good, i would also like a better way but there isn't for now.

  • theames xoros

    this is a solution to create from a family by name

    by creating a random object from family but only keeping the one you need

    in this case the objects are wood or stone but are from the same family

    example

  • it shouldn't give a java error, i used spritebank and it should be as simple as destroy and load, i did once get a java error but that was because i changed the variables and my old loadstring wasnt correct anymore,

    maybe if you post the java error i could see what the issue is, maybe it something not related to destoying but the loading process

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • good post :) i just checked wikipedia, and it seems that only french and like in my case belgium keyboards uses azerty, quite suprised by that, but like you said, easy fix to make it work

  • look at this, this is how far the bullets go, almost instantly destroyed

    <img src="https://dl.dropbox.com/u/61666915/2112.png" border="0" />

  • this will help you

    example

  • your game needs deltatime, without it, the playability wont improve,

    even the gunrange is affected, because our framerate is much larger, the bullets or lazers are stopped way to soon...

    ps the button color is better, but you should look out for text and button alignment