Praxis's Recent Forum Activity

  • When working with event sheets, I really feel like adding some kind of ability to colour-code groups or events would be quite useful. I know about bookmarking/breakpointing but I still think this would be a nice addition.

  • Hiya, CSS style refers to cascading style sheets, these are values which will alter how the element looks. In the case of the progress bar you should be able to change things like border radius, bar colours, and so on and so forth.

  • Heyo,

    Needing some guidance here. Again, I feel like I'm overlooking a very simple way of doing this...

    So, first off, I have an inventory stored in an array which counts items picked up, dropped, amount, etc...

    First query: however, I'm trying to understand how to apply an 'as long as item is in inventory' effect (example: player has Boots of Speed - add 50 to speed variable on the player) but I can't figure it out.

    I'm currently comparing a value in the array, checking if it's true and then, on true, doing the 'add 50 to speed'. This constantly adds every tick though.

    How would I get this to just be a once-off effect?

    As well, how would I get this effect to be removed when the item is removed from the inventory? Would this apply to items 'stacking' onto the same variable (so two different items altering the speed of the player)?

    Thanks in advances, everybody. :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, guys, big help. I was using 'for each' incorrectly.

  • As in the title: making instances of a sprite work independently?

    I've followed a few examples on the matter but haven't been able to solve my dilemma. I've looked at pick.capx and pickBHT.capx and whilst these were understandable they weren't functional.

    I'm having sprites generated (spawned) and then move onto the layout. These carry the boolean 'Stopped' (initially set to 'false'). On collision with the player's character I've made it so that Stopped is set to 'true' and in another event sprites which are Stopped, don't move anymore.

    I just want to have the single instance which has collided with the player stop. However, this becomes true for all instances of that sprite (all of them stop), which I don't want.

    I feel like I'm missing some pretty simple understanding here. Any help on the matter would be appreciated.

    Thanks in advance,

    Praxis

Praxis's avatar

Praxis

Member since 29 Nov, 2013

None one is following Praxis yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies