venoxis's Recent Forum Activity

  • >

    > > % is a symbol of modulo (reminder after division) e.g. 10%3 gives 1.

    > >

    > > If you want to check if player's health is more than 50% you should compare this: player.health/player.maxHealth>=0.5

    > >

    >

    > i want to check it in % because i might have the player max health be upgradable so 100% health could go from 100 to 150 +, etc...

    >

    > that's why.

    >

    Use a global variabe for Max Health and one for Set Health that way you can change it as the game progresses.

    MaxHealth=100

    SetHealth=100

    On Player Collision with Enemy: Subtract 10 from MaxHealth

    On MaxHealth < SetHealth/2: Change HealthBar Sprite

    That way you can change SetHealth later in the game to a higher number and the event adjusts. When you change SetHealth make sure you also set MaxHealth to that same number to start.

    i kinda got it to work on my own, but there is a problem, ive put the flash behavior on my tiled background but it doesn't flash when it should be =/

  • You need to set the layout's 'Unbounded scrolling' property to 'Yes'. Otherwise the scrolling will not be allowed to move outside the 500x500 layout area, which is required to be properly displayed when the window is larger than 500x500.

    how can i have the game be centered on the screen in crop mode? because its always to the left so there white on the right of the game

  • % is a symbol of modulo (reminder after division) e.g. 10%3 gives 1.

    If you want to check if player's health is more than 50% you should compare this: player.health/player.maxHealth>=0.5

    i want to check it in % because i might have the player max health be upgradable so 100% health could go from 100 to 150 +, etc...

    that's why.

  • i want my health bar sprite to change color based on a ''player'' sprite variable called health to change animation when player health is ≥ to 50% of player max health

    i can't figure out how to as everytime i try to use % in the value it say its missing something etc...

  • > Zebbi

    > You should be able to use a different image per tiledbackground instance.

    >

    Sorry, yeah, it works for every instance of the same tile perfectly, just need to get an example made.

    please, could you continue your discussion in pm as i get notification each time you post on this super old forum post.

  • Maybe.

    also, link is dead

  • Maybe.

    i'd like to do that but without a pluggin, i don't know why this isn't part of construct 2 tbh

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would using On Clicked work in your situation?

    maybe but it would be a lots more work to do as i will have to do it multiple time and i need to have it stop when another one is selected

  • trying to make a sprite flash when a text box has focus but i can't seem to find something like ''is focused'' as condition

    what can i do?

  • Don't mind at all post it up so i can see.

    just found out that you awnsered to me cuz i didn't receive any notification.

    im actually working on a game like mega man x but without mega man because it's copyrighted

    but right now i can't do much more cuz ive hit the 100 event limit and i can't afford the personnal license

  • so, where is the tutorial? this demo feel great but there is no dash,walljump, ladder climbing. im working on a mega man x like game and got a good base for it so far with about everything but this one will much better

  • is there going to be a sale or something? because ive hit the event limit cap for my game and the game was going to be completly free so 150$ is kinda expensive considering im not gona make any income out of it as im too new to game making and doubt people would pay for the game, maybe i'll start a patreon but im still in need of an artist for the art.

venoxis's avatar

venoxis

Member since 17 Feb, 2015

None one is following venoxis yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies