CloveltOc's Recent Forum Activity

  • Use a boolean. Make a variable on the mute button and make it a boolean instead of a number, when touched execute action on the mute button "Toggle boolean [Mute]" then after that if "is Mute", set button animation and variable to X, same with "is not Mute.

    I too had this problem before, and yes, both events are triggered at the same time because one will set it to 1 and the other to 0, leaving in no result.

    I´ll make a quick .capx right now anyway

  • I don´t know if I understood your problem, if you could specify or make a really simple mockup it would be great.

    Either way, I gave it a try. Again, I don´t know if this is what you want:

    https://www.dropbox.com/s/xy41teuz8lus3 ... .capx?dl=0

  • Didn´t understand very well you explanation but I did my best

    Here´s the .capx, it´s well commented:

    https://www.dropbox.com/s/oohetp2ytfy8d ... .capx?dl=0

    You should name properly a topic so everyone can know what it is about without reading it.

  • Thanks a lot for everything!

  • God damn genius. It worked! I didn´t even know anglelerp existed! Is there any other variant of lerp?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I´m using 8 direction for my roguelike prototype, but i´m having an issue when another object follows player´s angle with a lerp.

    Im not sure if it´s really 8 direction´s fault but the thing is that when the player reaches 360 degrees (or 0 degrees whne turning left) it automatically sets its angle to 0 (as expected). The problem is that any object lerping to its angle will take the longest route, instead of just skipping one degree to the right. The lerp will go crazy, turning 360 degrees nonstop until all keys are released. This last part is the one that i´m not sure why it happens.

    In general i´m not very happy with how 8 dir controls feel, so if there is no better way to solve this than rebuilding the whole movement system without the behavior, no problem. By the way, I know I could use the pin behavior but I prefer smooth lerps for aiming.

    Thanks for the help

  • I see... Thanks!

  • Hey, I´ve been wondering for some time in search for vectors in c2, i know canvas and svg canvas kind of support them but, would c2 be able in any way to import a vector object and treat it like it treats any sprite object?

    I stopped using gm:s because of how wonderful html5 is for me, but it was quite easy to handle these kind of things there. I know vectors aren´t as popular as sprites but if there is any way to make this happen on c2, it´d be great!

    I found this lil tool for vector drawing that can export in .xml and .json, any new info would be awesome, the posts regarding vectors I found are kind of old <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    http://funbyjohn.itch.io/metaplot

    Again, sorry if this is a dumb question <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Never mind, figured this out. Thanks, everyone!

  • Y̶e̶a̶h̶,̶ ̶I̶ ̶d̶o̶n̶´̶t̶ ̶u̶s̶e̶ ̶t̶h̶e̶m̶ ̶o̶f̶t̶e̶n̶.̶.̶.̶ ̶I̶t̶ ̶w̶o̶r̶k̶s̶ ̶u̶s̶i̶n̶g̶ ̶d̶e̶s̶t̶i̶n̶a̶t̶i̶o̶n̶ ̶o̶u̶t̶ ̶b̶u̶t̶ ̶m̶y̶ ̶o̶n̶l̶y̶ ̶c̶o̶m̶p̶l̶a̶i̶n̶ ̶i̶s̶ ̶t̶h̶a̶t̶ ̶I̶ ̶c̶a̶n̶´̶t̶ ̶f̶i̶n̶d̶ ̶a̶ ̶w̶a̶y̶ ̶t̶o̶ ̶p̶u̶t̶ ̶b̶a̶c̶k̶g̶r̶o̶u̶n̶d̶ ̶o̶b̶j̶e̶c̶t̶s̶ ̶t̶h̶a̶t̶ ̶a̶r̶e̶ ̶b̶e̶h̶i̶n̶d̶ ̶t̶h̶e̶ ̶s̶c̶r̶e̶e̶n̶ ̶b̶u̶t̶ ̶o̶n̶ ̶t̶o̶p̶ ̶o̶f̶ ̶t̶h̶e̶ ̶s̶o̶l̶i̶d̶ ̶b̶a̶c̶k̶g̶r̶o̶u̶n̶d̶!̶

    L̶a̶y̶e̶r̶s̶:̶

    -̶s̶t̶u̶f̶f̶ ̶(̶s̶o̶l̶i̶d̶ ̶c̶o̶l̶o̶r̶,̶ ̶h̶a̶s̶ ̶t̶h̶e̶ ̶d̶e̶s̶t̶i̶n̶a̶t̶i̶o̶n̶ ̶o̶u̶t̶ ̶o̶b̶j̶e̶c̶t̶)̶

    -̶s̶c̶r̶e̶e̶n̶ ̶(̶h̶a̶s̶ ̶a̶l̶l̶ ̶t̶h̶e̶ ̶c̶o̶m̶p̶o̶n̶e̶n̶t̶s̶ ̶t̶h̶a̶t̶ ̶h̶i̶d̶e̶ ̶b̶e̶h̶i̶n̶d̶ ̶"̶s̶t̶u̶f̶f̶"̶´̶s̶ ̶s̶o̶l̶i̶d̶ ̶b̶a̶c̶k̶g̶r̶o̶u̶n̶d̶)̶

    -̶b̶a̶c̶k̶ ̶(̶c̶a̶n̶´̶t̶ ̶b̶e̶ ̶s̶e̶e̶n̶ ̶b̶e̶c̶a̶u̶s̶e̶ ̶o̶f̶ ̶"̶s̶t̶u̶f̶f̶"̶´̶s̶ ̶s̶o̶l̶i̶d̶ ̶b̶a̶c̶k̶g̶r̶o̶u̶n̶d̶)̶

  • Hmm, I don´t think I could do VIKINGS ´ idea because I use smooth sliding and that would leave some parts of the screen empty with sprites popping etc... I´ll give both a try right now anyway! Thanks a lot

  • I want to make certain objects in a layer only be seen within the "screen" of an object, the rest should be behind the background or simply not visible, been wondering for some time only finding really innefficient methods, I know there must be a simple way of approaching this... Any help?

CloveltOc's avatar

CloveltOc

Member since 14 Mar, 2015

None one is following CloveltOc yet!

Connect with CloveltOc

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies