Weaselmon's Recent Forum Activity

  • Thanks, for anyone with the same problem in the future:

    Create a variable which sets itself to the current angle every X seconds (currentAngle)

    Then, every tick, add the following to a second variable (deltaAngle ):

    angle(0,0,cos(currentAngle-Object.Angle),sin(currentAngle-Object.Angle))

  • I am creating a minigame similar to Osu's Spinner. Essentially, you have to rotate this object as much as possible in a given time frame, while keeping your mouse within certain bounds. The problem I'm having is calculating how many rotations there are. I was thinking of periodically adding values to an array, then testing each one to see if a difference is greater than 180 degrees. For each difference like this, I would add to a variable and use half of that number as my count, but it seems to convoluted and I'm sure I would mess something up.

    Is there some sort of nice way to do this? Thanks in advance.

  • Thanks, I didn't realize in my initial program that P2 was not affecting the process since it spawned initially in the same place. Now I realize that I have to add an additional parameter to make it detected by the camera.

  • Essentially, I want to follow the average of multiple targets on screen, one of which is a character (P1 for the sake of example) that dies, is destroyed, and recreated. P2 is also using the same character, but does not die during this process. Before and after respawning P2 is detected while moving the camera but P1 is no longer detected after respawning. I assume this has to do with UID but I do not know how to fix this.

    I have created a test capx that will simulate what I believe to be the important factors of this interaction:

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

    Thank you in advance

  • Hello! I'm sorry if this post is in the wrong section but I feel like this has been overlooked. From what I can tell, there is no way to create conditions with a list that includes multiple selections. This is hard to explain so I'll give an example:

    List:

    Item 1

    Item 2

    Events:

    List - Selected item == 0:     Set Text 1 to "1"

    List - Selected item != 0:     Set Text 1 to "0"

    List - Selected item == 1:     Set Text 2 to "1"

    List - Selected item != 1:     Set Text 2 to "0"

    When the game is run, if both items 1 and 2 are selected, only variable 1 will be set to "1." I am very confused. Sorry if I overlooked an aspect.

    Example: dropbox.com/s/t57xayjfasryl8h/Example.capx

  • Hello my fellow forum-goers!

    I was wondering if there is an option missing, a complicated way, or an upcoming feature that will allow <font color=blue>a certain object to disable collisions with an entire layer.</font>

    I am trying to create a mechanic in my game in which a character can <font color=blue>"switch" through two different dimensions</font>(layers) and right now I have a huge long list of disabled behaviors and invisibility actions.

  • What I mean is that I want to create an array without having to enter in the values with an event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello! I've been using Construct 2 for quite a while now and just go the full version and I've been wondering, <font color=red>"Is it possible to create an array with input that is not added through an 'on loader layout complete.'"</font>

    I hope there isn't something I've been missing all of this time and thanks guys!

Weaselmon's avatar

Weaselmon

Member since 18 May, 2013

None one is following Weaselmon yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies