DogeDev's Forum Posts

  • > > Can you post the code section?

    >

    > Hey bro! Didn't need to make an spread, i just improved a bit your code and it works perfectly! Btw, thanks for it, but, you could help me in other thing?

    What's the other thing?

    It's my other thread about making the text to go on a value, like, increasing the text in this way: Exp got in the round: 50

    Text that shows exp got: go to 0 to 50, in this way: 0, 1 ,2 ,3 ,4 ,5 ,6 and going fast if the value is higher or not. ( There's a full thread about this, so, you can find him and see better the thing i want, and in the thread theres an example too. 0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is not the same thing but this can give you an idea

    https://drive.google.com/open?id=1qZLxZa6KEyVih199WmSGuqINLgpy-PFL

    Just tested it out, and, thanks btw for it! It's an effect that i'm trying to do but, this capx gave to me an idea! And, sorry but, the real problem i'm having here is to make the text just to increase the value into an specific value ( i don't know how to tell it, but, you can see in the video after he dies, the XP bar will go to 0 to 59, and, i want to the make the effect that he goes 0,1,2,3,4 and etc with scalable speed ( higher the amout, higher the speed ) ).

  • It is not the same thing but this can give you an idea

    https://drive.google.com/open?id=1qZLxZa6KEyVih199WmSGuqINLgpy-PFL

    Thanks for the capx bro, gonna check it out!

  • Can you post the code section?

    Hey bro! Didn't need to make an spread, i just improved a bit your code and it works perfectly! Btw, thanks for it, but, you could help me in other thing?

  • Ay bois, this time i want to make an effect, that are in quite a lot of mobile games. It's to set the text to scale with an value.

    Like: Some games, when you finish a round, you'll earn coins and in the UI will show, amount of coins: XXX

    So, that amount will increase the text that is the current money of the player;

    like: If they play his first round and earn 300 gold, then, will be: The actual money: 0, the money earned on the round: 300. So, the current money of the play will increase 0 to 300 not instantly but, going from 1 to 1. Like, 0, 1, 2, 3, but, with the speed scaling to the amount of coins ( like, if he earned less coins, the speed while increasing will be slower than if he got 1000 coins ).

    So, my objective is to do exactly what i said in the example, increase the money scaling with the money gattered in the current round, with scaling speed ( a lot of coins earned = more speed than less coins earned )

    Below are an link for a video, and, if you see the XP, he will increase to the amount of XP earned and, with scalable speed.

    So, please, if you know how to solve it, tell me!

    Link: youtu.be/xgOBnwkE6lc

  • Bro, just set horizontal alignment=center, vertical alignment=center, Hotspot=center.

    If this is not what you meant and the problem is with something else, you need to give more details and post your project file.

    Another question about the effect, how i can do it with the LiteTween?

  • Bro, just set horizontal alignment=center, vertical alignment=center, Hotspot=center.

    If this is not what you meant and the problem is with something else, you need to give more details and post your project file.

    Oh, thanks bro, i forgot to add the vertical, it works now! And, please bro, you can see my another thread about text? Is, text to value, and, i can't figure it out how to do it.

  • Set hotspot position in the center. For that text effect, use spritefont with Sine or LiteTween behavior.

    Hey bro, can you help me with hotspot? I tried using it on center, but, i didn't notice any difference, i don't know how to setup it, can you help me with an example or an example capx?

  • Set hotspot position in the center. For that text effect, use spritefont with Sine or LiteTween behavior.

    And, sorry for asking u, but, you can see too my other thread about text? I really need help in that too :p

  • Set hotspot position in the center. For that text effect, use spritefont with Sine or LiteTween behavior.

    Dop, oh my god bro, you always are my hero XD, thanks for saving me again!

  • [Beast]

    ----+ Beast: On animation "Idle" finished

    -----> Beast: Set animation to "Ready" (play from beginning)

    ----+ Beast: On animation "Ready" finished

    -----> Beast: Set animation to "Idle" (play from beginning)

    ----+ Beast: Animation frame = 3

    ----+ Beast: Is animation "Ready" playing

    --------+ System: For each Beast

    ---------> System: Create object Breathe on layer 5 at (Beast.BBoxRight +5, Beast.BBoxBottom +10)

    ----+ Breathe: On any animation finished

    -----> Breathe: Destroy

    And the creation of Breathe plays the sound growl.

    That's all the other code somehow involved with the playing of the audio file.

    You could make an duct tape code to end him. just stop it after a time. Like: After XX seconds, stop audio, could solve it until you find the real solution.

  • Ay bois, so, i have an score text, that, he's at the center of the layout, but, everytime the score get a value, the text will only scale to the right, i want it to scale with the center like in the video below at the right time.

    link: youtu.be/gzPGmR6R67Y

    (Obs: if possible to tell me how to make the text effect in the video when the score update, i would be thankfull too!)

    If you know how to do it, tell me pls!

    Tagged:

  • You do not have permission to view this post

  • What is your bullet speed?

    It's 1000, but, i don't see the speed like he's gonna mess up.

  • > > Side scrolling or top down? Either way, just add a random amount of angle to each bullet when created after you've set it's target.

    > >

    > > So for example something like:

    > >

    > > Bullet is created >

    > > Rotate 360 degrees to mouse.x, mouse.y

    > > Set angle self.angle + random(-5,5)

    >

    > Oh, i almost forgot, thanks for the code buddy! And, i have a question about your code, why is necessary the rotate 360 degrees?

    Angle of motion should work as well, does your bullet have movement? Can you post the relevant code section?

    360 is necessary for that event because the parameter is the max degrees the object can rotate toward the object in a tick. So if you do 360 it can set the angle in a single tick.

    Hmm i see, so, i'm gonna upload the code that i used, and, other code that i tried to see if something happens, but, none of these worked.

    Link 1: imgur.com/a/2OTNVQO

    Link 2: imgur.com/a/5IGXnLm