Pakost's Forum Posts

  • Very nice example. Its all i need.

    Cheers

  • Hi guys

    Im doing kinda rts game where i need to select multiple units like u do in windows or wherever.

    I imagine i have to create a polygon on mouse click and scale it until mouse button is down. After this to get all units colliding with that polygon or something like that.

    Is this the way? Any ideas are welcome.

    Thanks in advance.

  • You need to put System/ForEach Pivot below the On start of layout and it fixes it

    Cheers

  • Yeah groups work awasome. Thanks alot.

    &labithiotis im afraid the walls/roads logic is not as elegant as i intended. I create an object on the last tower, with bunch of imagepoints and another one that rotates toward the mouse. Also towers have Instance Variable that remembers how many walls attached and what orientation they are. If you want i can show you the code, but im afraid its kinda messy.

    Anyways i decided i will remove roads as it doesnt fit to gameplay anymore and walls will loose orientation (will look the same both ways). Big waste of the code and art ive done but still i'm happy i acomplished it.

  • Hmm good idea. Sounds reasonable.

    Any idea if i can toggle Event sheets active/inacive trough actions?

  • Thanks dragoonblade

    Frankly im not sure what exactly it will become as it evolves constantly, depending on what i decide and ofcorse what i can do, because im kinda noob with C2 and total noob about coding.

    Anyways for now it is ment to be a mini RTS - Tower Defence mix or something like that. We'll see what will become :)

  • Hi guys

    Im trying to make the Main Menu bar and logics

    I want once the main menu bar is up, to disable all other clicks and events.

    The question is what is the best way to do it? I don't wanna make all events to have If MainMenu is on screen or anything like that.

    All ideas are welcome

    Thanks

  • Yup, the site is WIP from over a year. One day ill finish it.

    Now have better things to do - Gamedev :)

  • Sry thought you are talking about sprites

  • Then maybe add instance variable to that family and set it per sprite

    So you can

    If instance variable is 1 do this

    If instance variable is 2 do that

  • Sprites can be in more than 1 family

    So make more "sub" families

  • If you want it to snap to certain points along the line why dont you make image points on the line. Then you can easily get the nearest one...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yup, that should do the trick.

  • Happy to help

    I had a hard time too with spawn/create objects

    And thanks for the good words bout the game

  • Cool

    I kinda needed that too for terrain blending

    Cheers