nniwllehctim's Recent Forum Activity

  • Thank you! I will try this and see if it solves my problem.

    EDIT: How exactly would I go about checking for the pokemon that's active and then carry it over to the next event, if that what you're saying? Could you possibly write out an example so that I could see how it's done?

    Thanks alot!

    I think I could probably make another vairbale called Pokemon active which borrows from S1, S2, S3 and so on that is used in the expression.

  • What Joskin said is the best way. It's always important to build the foundation of your project early on to avoid having to go back and tediously change things.

  • Create direction variables for your player, and have the game check to see whether or not the player is moving and which direction they are facing to assign variables. Then have the actual movement function independently.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does Construct 2 allow for the ability to write expressions in this fashion?

    Variable PCurrentHP

    Value Slot = 1 ? PlayerPokemon.At(S1, 4) :

    Slot = 2 ? PlayerPokemon.At(S2, 4) :

    Slot = 3 ? PlayerPokemon.At(S3, 4) :

    Slot = 4 ? PlayerPokemon.At(S4, 4) :

    Slot = 5 ? PlayerPokemon.At(S6, 4) :

    Slot = 6 ? PlayerPokemon.At(S6, 4) : 0

    It's supposed to check which Pokemon the player has active and load a saved current HP from the Pokemon's corresponding array.

    I have similar functions for each stat, however some are more complicated and involve algorithms to determine stats (MaxHP for example involves a long formula utilizing level and BaseHP among other variables).

    I only ask this because I'm not being given any particular errors, but I don't think that it is functioning correctly and I can't tell if that's coming from the way I've set up the expression, or from some other faulty programming.

nniwllehctim's avatar

nniwllehctim

Member since 8 Mar, 2014

None one is following nniwllehctim yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies