powerof2's Recent Forum Activity

  • justifun

    It is a string, if it is a position tween you can use "700,200" in the target to tween to x=700, y=200. If you want to use variable let's say MyTargetX and MyTargetY, you can turn those two variable into string by entering

    MyTargetX & "," & MyTargetY

    into the target field.

    Hi, the links on the first page do not seem to be working. Can you please verify ?

    Regards

  • Hi, see this capx : dropbox.com/s/6qzr7wbucpf9h ... .capx?dl=0

    You can move the blue sprite (named care) with your mouse...

    thank you very much Saad <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • Hello everyone,

    Please check the below image.

    How can I make sure an object (example: a car moving forward) comes under the effect of friction when it enters the "High Friction Zone".

    I already have a collider in the green zone area.

    I tried placing a collider on the friction zone using a physics behavior but the high friction sprite cannot overlap the greenzone, it will simply be on top of it.

    Your help is appreciated,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you both for the replies. I am not sure why did not receive an email alert when the post was answered.

    I am looking to implement something as mentioned by "heyguy "

    Thanks

  • Hello,

    I need to design objects to move forward and then backwards when they collide with a wall and was wondering what the most efficient way was.

    I came across the physics manual on Construct2 and it mentioned:

    "Therefore it is highly recommended to control Physics objects entirely via the Physics behavior (by setting forces, impulses, torques etc.), rather than trying to manipulate objects by Set position, Set angle etc."

    Should I use Set Position or go with forces assuming that the number of objects can be over 30 ?

    Regards

  • Don't have C2 right now so I only rely on the manual

    You need to set the parameter of the bullet behavior "set angle" to no, then you can rotate it as you wish without affecting the trajectory

    Set angle

    If set to No, the behavior will never change the object's angle. If set to Yes, the behavior always sets the object angle to the angle of motion.

    Thank you for the rapid reply.

    When I set the angle to "No", I started having spawning issues. I have a canon that shoots objects from its set image point. As you can see in the quick note I attached, the objects no longer spawn as needed.

    dl.dropboxusercontent.com/u/689 ... 0Angle.jpg

    Here is how I spawn the objects:

    dl.dropboxusercontent.com/u/6896957/Spawn.png

    where throwpower is a positive number.

    Regards,

  • Hello everyone,

    I recently started with Construct 2 and it has been great so far seeing how much it can save time and facilitate the prototype process.

    I have been trying to solve this issue and I tried to check numerous resources but for some reason I just can't quite crack it.

    I simply need to rotate an object with a bullet behavior when I spawn it. I have tried the Rotate angle behavior which has caused the bullet to simply change trajectory.

    I also tried something like self.Angle + 45 * dt but still the direction changes.

    Can this be done without having to use animation ?

    Thanks

powerof2's avatar

powerof2

Member since 5 Jul, 2016

None one is following powerof2 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies