jconstruct's Forum Posts

  • 9 posts
  • Got it!

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    In the Intermediate Example "Floating Orb Template", there's a portion of code that I don't get (cap1)

    Why use a timer to destroy the object instead of just destroying it instantly (cap2)?

    Could someone help me understand why the developer did it this way?

    Thanks

    cap1

    cap2

  • Alright got it!

    Thanks guys.

  • Right, but the author actually uses 1 timer somewhere in the code, so he/she knows about the use of Timers.

    There must be a good reason not to use only Timers...

  • I've noticed that the Demonoire template project (found on the startpage of the Construct Editor) is'nt using the Timer behavior.

    Instead, the trick shown in the pic below is used (set up a var, then substract value and test for <= 0 to apply some actions).

    Why is that?

    Is it a better approach for speed or something?

  • GeorgeZaharia

    That's already pretty damn good!

    Thanks for that!

    I don't get the whole (32*pi*dt)*0.04 part at all, but the result is there!

    I'll just keep it as it is.

    Thanks for the help, much appreciated.

  • Yep, tween and sine, but tweeking randomly the values dont get me anywhere.

    I even tried setting up some timers to go in/out but it gets messy reaaally quick.

    I can't recreate that "wooble" effect.

  • The one we see in every single game outthere, that looks like the "Bounce In" effect in the right menu of animate.css here ("Bouncing Entrance" > "Bounce In") : animate.style

    I spent couple hours on sine, size etc... but the effect just isnt right, its too slow, not bouncy enough...

    Does someone know how to create that proper effect to reveal a sprite?

    Thanks

    Tagged:

  • Hi guys,

    I'm looking to do the following:

    Build a Progressive Web App (PWA) that allow players adding it to their mobile homescreen access to multiple different games hosted on the same server.

    Note: All games are "online", as in: after reaching level X, players unlock new content (pictures/music), there's database saves etc.

    According to you, what's the smartest way to achieve something like that?

    I'm looking to answer questions like:

    - Should I use Construct 3 itself to build the "Homepage" (literally the PWA itself)?

    Meaning the homepage is actually a "game" that could then load other Construct games.

    - Should I build a dedicated one-page PWA that include the construct javascript (core) just once + load the game's code+images etc on top of that after a game is picked?

    Kind of an app store per-say, and I'm not sure how to this the right way.

    Thanks

  • 9 posts