DogeDev's Forum Posts

  • A big disadvantage of Particles object is that particles don't rotate. I imagine that for this effect OP wants cubes to rotate.

    Hey bro, sorry for asking to much, but, i liked the effect that code gives, but, it's possible to make an effect like in this video when the enemy dies? ( Will be playing at an custom time )

    Link: youtu.be/gzPGmR6R67Y

  • Ay bois, so, my problem here is, how i create an leaderboard in the nem Scirra Arcade? It's possible to create one in the new Scirra Arcade? I knowed how to create leaderboards in the old arcade, and, i know how to use the plugin, but, in this new arcade, how did i create one?

  • You can't use "Wait" or "Every X seconds" with values smaller than 0.016, because your events run only 60 times per second (not 1000 times).

    Edit: sorry, didn't see jobel's comment.

    Just use time or dt expressions.

    https://howtoconstructdemos.com/simple-stopwatch/

    Thanks a lot for the link bro!

  • I think your intervals are too small.

    0.001 is basically no time at all. Most finely tuned games have 20 millisecond latency built in, and that feels instantaneous! Construct I think updates each tick within and up to 16 milliseconds.

    Every 0.001 seconds will not run accurately as far as I know since Every Tick won't even run that fast.

    Didn't know that, thanks man!

  • > On Enemy destroyed
    Repeat 10 times
    	Create Cube at (Enemy.x+random(-50,50), Enemy.y+random(-50,50))
    

    You can add Bullet, Fade, Rotate behaviors to cubes and after creating each cube set random values for bullet speed, angle of motion, rotation speed etc.

    Thanks, that worked!

  • Ay bois, i'm making for fun an hard dodge game, that you need to dodge and survive to get the max time you achieve, but, i have an delay with my timer:

    I setup for every 0.001 seconds to add 1 to Miliseconds, and, when he achives 9 miliseconds, will add 1 to 10Miliseconds, but, instead at adding 1 in the right speed, it just slow ( a lot ), so, if someone can help me, please, how do i fix this?

    Timer: imgur.com/a/M58LsQ5

    Code: imgur.com/a/K4LSkoP

    I tried removing the wait just to see if i got something, but, it's just the same speed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well... just make some smaller cube sprites and spawn them when an enemy dies? Perhaps you can even use the particle object to simulate this.

    Is there a more specific effect you're trying to achieve?

    No, it's that too, but, i don't know how to do it, i don't use the effects system, so, you could provide an code for me and the final result pls?

  • Ay bois, this time i want to make an effect for when an enemy die, that his sprite dismantle into mini cubes, like, when he dies, they just drop some cubes of his sprite.

    All of the enemies on my game, is just cubes, so, doens't need a code to get the perfect cube sprite, just something to make it dismantle into cubes.

    if you know how to make it, please tell me!

  • Thank you all sirs

  • below

    lmfao

  • Ay bois, this time i'm trying to make an random Token generator, to generate things.

    like this: OPa12pkKZIR2509a,VI6eNRHoTZxGG6Fz & etc with a length of 16.

    If possible to make it, just type below!

  • I love this guy, hes funny. Also, I believe he's using the unity game engine. This feature is available in that engine with a few tricks and there are several different ways to do it. This is a little bit harder in Construct.

    One idea I can think of is make a sprite of a long triangle (if you're going for the same design as his video), and multiply the width of the sprite by the velocity of the bullet. Also be sure to make imagepoint:1 at the bottom of the triangle and Every tick > set position of sprite to bullet object.

    K, thanks for the tip buddy! I really appreciated it! <3

  • You mean the knockback is too small? Maybe the maximum speed is low, you can't set a vector that is higher than the Platform maximum speed. Try increasing it temporary.

    K bro, gonna test this too, thanks a lot for helping me!

  • It's not glitching, it works like it should.

    You can increase the value for the vector. The best solution is to use different values for when the player is moving towards the bullet, moving away from the bullet, and not moving.

    Also, you can temporarily disable controls.

    I gonna try the disable controls methods, but, thanks for the tip! But, do you know why they just got an so low push-up? Like, in some other projects just works normaly, in mine can't.

  • Sorry for the BIG LAST response, i'm using this code: imgur.com/a/nkwtPUM

    and th

    And, instead of getting an average knockback, they just stop from walking for a moment, like, somehow in my game the vector is glitched and not moving at all.