thomas0611's Forum Posts

  • Oh the amount of object sprites is less than 40... I just reuse them to create 3000+ instances... Sorry for not making that clear...

    I actually reused 1 particular object more than 1500 times...

  • It's the tiles, scenic objects and background sprites (none bigger than 64x64) that make up most of it.

  • Hey all,

    My game has a LOT of objects (the tutorial level has more than 3000) in it! Most of these objects don't have behaviors or iv's. The game is made to be played on windows/mac.

    Can anyone tell me if to what extend object count matters in terms of FPS/loading time?

    I'm not noticing any delays myself, and my pc is a piece of crap, but I'd like to know if I can continue to build the game this way or if I should take steps to reduce the number.

    Thanks!

  • Hey all,

    I'm trying to get some doors to open when the player is on top of a button object. I also want the button to respond to objects placed upon itself in the same way.

    Is there a way to do this without using physics behaviour?

    Your halp is much appreciated!

  • Yeah it sure does, thanks!

  • Good start, how to deal with situations like overlapping with two or more crates at the same time?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Simple question: what is the best way to pick up, say, crate-type items (act as solids when on the ground) that can be thrown, pushed, lifted and gently put down.

    Any ideas?

    Thanks for reading!

  • I'm wondering how to best handle quick, short-distance movement like flickering lights, gun kick-back etc.

    Any ideas?

    Cheers!

  • I'm implementing perks into my game and was wondering whether the should be handled by an instance variable, local or global variable.

    Players earn points which they can spend on perks between levels. Atm, when player picks a perk, an instance variable (boolean) gets toggled on the player object. On restart (after death or on new game) the IV's get reset to false.

    Is this the best way? Would it be better to handle perks with LV/GV's? would it even make a difference at all?

    Just curious!

    Thanks!

  • I'm implementing perks into my game and was wondering whether the should be handled by an instance variable, local or global variable.

    Players earn points which they can spend on perks between levels. Atm, when player picks a perk, an instance variable (boolean) gets toggled on the player object. On restart (after death or on new game) the IV's get reset to false.

    Is this the best way? Would it be better to handle perks with LV/GV's? would it even make a difference at all?

    Just curious!

    Thanks!

  • Ok. I´m ashamed to say I don´t fully understand lerp yet. I´ve used it for my camera movement, but fail to see how it would work with sound. Would you/anyone mind explaining lerp in noobish?

    Thanks

  • Ah, that´s good to know. Still wondering about syncopation though.....

  • Dear all, I'm trying to get my music tracks to fade in and out, depending on the situation. I could use some help conceptualizing it.

    The game: sneak around and don't get seen. Hide in shadows and evade guards/cameras.

    The wanted effect: imagine a 80's funk baseline track playing in the background. This loops for as long as the player remains unseen. As soon as the player is within a guard's/camera's LOS the music fades out and a timer "detection" starts running for 3 seconds. When "detection" runs >/= 0, another funk track (james brownish trumpets) already running in the background fades in (increase volume from 0 to the desired volume, 100 by default), changing the background music to a more upbeat loop. This continues until the player is hiden again. The trumpets fade out to mute and the base fades back up.

    Am I on the right track?

    As always, thank's for reading

  • Simple question, how do I stop shadows from casting through solid objects?

    See capx: [attachment=0:2ov5t53q][/attachment:2ov5t53q]

    Ps: Control playercollbox with w,a,s,d

    Thanks!

  • Quick response, simple, effective, sausage!

    You have earned the position of my favourite person for the next hour sir. Thank you!