Zamargo's Forum Posts

  • Never even thought of that! Was originally suspicious I was missing certain features because I checkboxed a "simplified" editor thing in settings once during trial and error. Good to know this is not the case, thanks for your reply.

  • Anyone have any idea why conditions like "Supports multiplayer" have to be copied and pasted from another project and don't show up in my list of conditions from my editor?

  • After downloading update 388 I can't run any project made before 388. all previews of anything made before 388 don't even get to the loading screen, they just stay black.

    UPDATE: After some testing I found that any project trying to use the loading bar on the loading screen fails to load after 388 update.

  • you should create a debug text:

    Create a layer on top for GUI with a parallax of 0% x 0%, place a text object there and at the end of your events put

    system>every 0.1 second condition

    and action

    of set text with the text object

    Set the text to something like "VelocityX: " & ball.physics.xvelocity & newline & "VelocityY: " ball.physics.yvelocity

    This will allow you to see exactly what cutoff point you want to force the object to sleep because you only want to take away a settling bounce, which should have a different velocity level of any kind of bump from moving along regularly.

    Eliminate anti-settle when torque:

    Since you are moving using torque you might want to add that to your debug info list because you won't be trying to force a settle if the ball is still rotating.

    Slow motion for debug if needed:

    do a start of layout events set time scale if needed to put the project into slow motion. Then with our anti-settling events disabled (D in editor while highlighted) try letting the ball settle in slow motion and picking the degree at which you want to cut it off at to still allow regular bumps from movement.

    Isolate Y Velocity:

    A suggestion is that you are really fighting gravity here so no point in really taking into consideration X Velocity so you might want to single out Y velocity for this one.

  • Remember that both the ball and the bricks have a friction and mass, you can raise the friction to the point where there is no bounce so there should be a middle ground. Try raising the friction to a higher amount for an easy fix.

    OR

    When the ball and the bricks collide try an event that says "If velocityX + velocityy is less than 40" then ball velocity X = ball velocity X / 2 (halved) and the same for Y in another event. That will severely drain the ball of it's velocity when you approach the settling that you are trying to get rid of. Raise the number higher than 2 if this isn't enough.

  • Also if you want when the screen is touched you can position a sprite to the touch with a scrollto behavior and just turn scrollto behavior on when the touch is active and off when the touch is released.

  • Well the basic idea is when a touch begins you mark the coordinates on a variable(StartTouchX,StartTouchY) and the starting screen position(ScrollStartX,ScrollStartY) on another variable, then you take the current coordinates that the touch is at and the difference between the two are used in a system scrollto action to place the camera at a different position.

    If you already have a scrollto behavior on an object or anything else conflicting with this camera position they will be battling each other.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First under your start of layout actions make sure global setting: set world gravity action caps the gravity at 0 because we are doing top down.

    The regular driving should be apply force at angle for the angle that the car is facing and you should apply torque towards angle and add or subtract from the car's current angle to get your turn but keep an eye on angular velocity and angular dampening setting and change that when needed. Your steering should have to catch up to your facing angle. This is a pain to get right but also experiment with whether just rotating the object instead of using physics to rotate is better for you.

    A lot of these mechanics are going to be trial and error because the physics behavior isn't the easiest thing to suit to what we are doing here. Lots of things may require a constantly updated variable that you use inside your driving mechanics. Try some experimentation and update me on what part doesn't operate like a car.

  • The ball should settle into place naturally by using the physics object and you can set the friction and mass inside the properties of the physics behavior. I think the problem must lie in the movement logic somewhere that is competing with the physics behaviors ability to settle. May I ask how this ball gets into motion and if you modify the motion after that point?

  • In the conditions for an event put all these conditions:

    Disposable is overlapping trashcan

    Icon Is Overlapping Trashcan

    And for the action to that event put:

    Icon set visibility to false

    (Because you referred to the icon overlapping the trash can in the condition it should pick the proper icon for that trashcan.)

    Then to make sure this is only when we are over the can the next condition is:

    (X) Disposable is overlapping trashcan (press I to inverse condition to have red X)

    Icon Is Overlapping Trashcan

    Then the action is:

    Icon set visibility to true

    Hope this helps!

  • The issue is that using the default car behavior comes with it's own collision with a solid object. So even if you did temporarily turn off car and on physics and then transfer the calculated velocity and turn off physics and back on with the car the rotation would still take you manually applying it using variable to keep track of rotational torque. You can't have two collision deciding behaviors on at the same time.

    The fix I chose for this was to ditch the car behavior entirely and use physics behavior only and manually create the car movement. The only thing different than basic movement will be the car movement angle has to catch up to the direction your pointing, which is no big deal, in fact this is the only way to pull a 180 and drive backwards kind of technique as well because the max drift is like 90 degrees with default car behavior meaning it doesn't have a smooth in-motion method of transitioning between forward and backwards movement.

  • Here is an example of what you are talking about that was posted in the tutorial section.

    https://construct-static.com/tutorials/downloads/24500/touchscroll.capx

  • Has to be a mistake or misclick somewhere in your game logic. Posting some screen shots of your events or uploading the single file project .capx would let us take a further look at it. A global variable should be persistent as long as your project is open. My guess is you are counting apples that you attached to a local variable named the same thing possibly on the player object when you were originally working out how you would count apples but I don't know for sure until I am able to look closer at the events.

  • I have used the Collect the pages example as a foundation for a serial killer forest game project and I haven't had any problems with the camera, but I am not using any javascript and only the base construct 3 integrated actions. I do like to apply an extremely fast lerp for camera smoothing sometimes though, so possibly you can try using that technique to counter any jittering. It even works well in unity/VR projects for eliminating the overly precise oculus inputs.

  • Make sure you have the construct.net site listed as a site that can use data and cookies ect in your browser. Also make sure you didn't accidentally block the site with windows firewall or are running an a windows protection or anti-virus that you have to enable things to use networking on a webpage. Only other thing I can think is make sure you have open access to the port being used in your router.

    I have used construct preview with many different computers and internet connections and have never had a problem before otherwise I might have a better suggestion of what the issue might be.