RafaelMatos's Recent Forum Activity

  • scirra.com/tutorials/307/arrays-for-beginners

    https://www.scirra.com/tutorials/670/ze ... e-easy-way

    I know this isnt the answer bud, but i found this array tutorial pretty awesome

    also the inventory one is damn good hope it helps until someone can offer an alternative

    This is the tutorial which I mentioned <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" /> . I just can't understand this sh**t. Thats why I asked someone to explain me in details. I'd like to know how to do it by myself, because It's a big and important feature in my game and I need to learn it, otherwise, I wont be able to solve any future bugs that may occur.

    But Thanks. I'll keep trying to understand arrays.

    However, I'd like to know if is there a way to do an inventory using just variables, since they can store information, which is what an inventory does, essentially.

    Edit: I'm starting to get it a bit thanks to this tutorial for beginners. Thank you for sharing it.

  • I was studying the manual and this tutorial (https://www.scirra.com/tutorials/583/ea ... ray/page-2) and I couldn't understand at all, specially the expressions and the theory behind the array.

    Please, someone with a good patience could teach me?

  • > C-7

    >

    > Wow...After 1 year the game is still in alpha?Are you developing the game alone?If it's just you, gratz in double.

    >

    Haha yes, still in alpha. I had to take a little time from it for a little of that for life reasons, but I work on this game around my irregularly-houred day job (and family!). Mostly late at night when the wife and kids are sleeping. And, yes, I work on the game on my own. Thanks!

    The definition of Warrior right here!

  • NateB

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • C-7

    Wow...After 1 year the game is still in alpha?Are you developing the game alone?If it's just you, gratz in double.

  • Are you going to sell it?Because it looks like a great game and would sell easily.

  • Set vector Y action from platform behavior right? I'm not so sure but i think you don't have to worry about dt, because they're a part of the behavior.

    That's exactly what I meant. I guess too.

  • I'd like to know from someone with a good experiencie... How is the publishing bureaucracy for indie games out there?

    I'm truly focused in putting a big effort in developing a really great and complete game to have a nice chance in order to sell on Steam platform. However, I don't know either if this is just a dream or a possibility.

    Thanks in advance.

  • feyninja

    Ya, I read it in the manual. But the simulate control, where I can set the vector, is a custom behavior, but setting the vector Y -700, for an example, isn't necessary to use dt because I'm not setting movement. Right?

  • >

    > Me too

    > At least dt I understand a bit.

    >

    > It's important to use dt in every custom movements of objects to prevent lag?

    > So If I want to move something 30 degrees, It would be something like this: 180*dt?

    >

    Yup, if not the lag will break the game.

    Is necessary to use dt when I set vector, since it'snot the object's speed, but a parameter to his platform movement?

    might be useful for you. It's a circular life bar example that I made and it shows how to increase/decrease it smoothly and it shows the % too

    My life's bar is working already but I'll check it out for sure. thanks man.

  • scirra.com/manual/126/system-expressions

    Lerp returned real numbers, so in some case you might want to convert them to integer.

    You must see some expert guys using sin, cos and stuffs for their game, it's driving me crazy. Man i wish that i had put more time on math class.

    Me too

    At least dt I understand a bit.

    It's important to use dt in every custom movements of objects to prevent lag?

    So If I want to move something 30 degrees, It would be something like this: 180*dt?

  • > feyninja

    >

    > And is there a way to make it runs until it reach the width instead of changing from 100% to 50%, for an exemplo?

    >

    >

    everytick -> 
    set bar width to lerp(bar width,(original bar width * current health / max health),8*dt)[/code:2hs3b24l]
    If you don't know what lerp and 8*dt mean, you can search "lerp" and "delta-time" on the manual, basically you can reduce the speed by half by changing it to 4*dt.
    

    It's not working =/

    It still change without run smoothly

    look:

    lerp(Healthbar.Width,(150*Personagem1.CharacterHealth/Personagem1.MaximumHealth),8*dt)

    I'll study these expressions for sure.

    Edit: My bad, it's working. Thank you very much.

    and oh my god. Lerp is like an Alien to me! My skills are far far far away from math haha

RafaelMatos's avatar

RafaelMatos

Member since 8 Mar, 2014

Twitter
RafaelMatos has 1 followers

Connect with RafaelMatos

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies