Olgoth's Forum Posts

  • Lo primero que se me ocurre seria añadir otra condicion en el evento que establece cuando el jugador sufre daños, por ejemplo que el boss no solo conecte con el jugador pero que termine X animacion o quizas: Jugador no se defiende + Boss play X animacion + animacion play X frame. Donde la ultima X seria el ultimo o anteultimo frame. En teoria deberia funcionar. Es medio complicado sin tener un capx de referencia, pero es lo que entendi por lo que escribiste.

  • No problem, happy to help!

  • Hello there, If you are talking about a HUD (like the 3 hearts in the video or a score) :

    Make a new layer on top of all the others and set it's parallax to 0,0.

    Next create all the HUD related things in that layer, in this case I guess it would be the sprites of your buttons.

    Finally, select those objects and give them the behaviour "Anchor"

    I hope you find this helpful and good luck!

    PD: Any HUD related objects must be inside the margins of the window size, otherwise you wont be able to see them!

  • I'm not sure if he's talking about the destruction of the object OR the animation of the object being destroyed. Also that object that you want to destroy, it moves? are there many of those objects in each layout?

  • Hi Megatronx, Is something like this what you are looking for?

    https://www.dropbox.com/s/qf88r9zb2bfwn24/mouse_sustitution.capx?dl=0[/code:2mlr4vg8]
    
    Basically you create a second "mouse", if the real mouse is still visible I guess you could make "at the start of layout" > mouse > Set cursor style > none.
    
    That way the mouse would be invisible when it overlaps the game window.
    I hope it helps.
  • Can someone tell me how isometricplayer can overlap the collisionhouse sprite but cannot "walk" over it? Seems like just the bottom part of the isometric player colides with the collisionhouse sprite.

    If you open the sprite "isometricplayer" and go to the colission poligon you will see why

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create a variable (lets called it "ammo") and set it to 5

    I guess you already have an event for shooting, go there and add the effect "substract from variable".

    Basicaly what you want is to substract 1 from the variable "ammo" every time you shoot.

    Then you should have another event so when "ammo" gets to 0 the reload happens.

    Im not sure if thats what you are looking for.

  • No problem, I would like yo help you more but textboxes are not really my thing (atleast right now). But there has to be a way! So good luck!

  • Certainly I dont have the latest, I think I have "v0.12.0 (Chromium 41)". It doesnt appear in the About of Construct.

  • You mean the red sprite? that one should not be solid, only the enemies body must be solid.

  • mmm, what do you mean with "the latest"?

    Also, exporting it in "kiosk mode" seems to almost fix it.

  • Hello there, Is something like this what you are looking for?

    https://www.dropbox.com/s/5f3cd462j1300rd/layers.capx?dl=0[/code:3h56gxyq]
    
    The variable is a boolean inside the red sprite.
  • Oh no no, the problem is with the exported proyectS, not so much when Im testing them. But as I said, apparently is related to the "every tick" condition. In 1 hour of idle the total ram being used goes from 160 to 230. Its not that much... but having in mind how simple it is: its kinda frustating xD

    Is there a way to sustitute the "every tick"? The only method I found was "Every X seconds" where X would be 0.1 or 0.01 or dt

  • No problem, there is also other way to "pin" the red sprite to the body:

    https://www.dropbox.com/s/oxuo8k22jssal5p/pinning.capx?dl=0[/code:5n5lzxof]
    
    (I used "every X seconds" but you can also use "Every tick")
    
    Hope it helps!
  • Lets imagine that every time you press "G" you gain 5 gold and you get "You gain 5 gold!" in your log ok? Do this:

    1st you create a "Text Box" of the size you want, go to the properties of the text_box and where it says "Read-only" you choose "yes". And "type" to "text-area".

    2nd, go to the event_sheet and create a global variable with the type "Text", name it "log".

    3rd, go to the event_sheet and create a global variable with the type "Number", name it "gold".

    Now you make the condition and the add 5 to the gold variable.

    The second effect: System> add to variable > "log" > and you write ""You gained 5 gold!" & newline"

    This is how it should look like:

    https://www.dropbox.com/s/a6pjvu7fvy27q3a/screen_01.png?dl=0[/code:93idcvr4]
    
    I hope I was able to explain my self