Sushin's Recent Forum Activity

  • There's no question here.

  • Click on the layer, go to properties, and make sure you set it as transparent.

  • 1.

    Instead of else, just copy the conditions and invert them.

    2.

    For different endings, just make a number variable named "Ending"

    Once the condition has been met, set the ending to ending 1, 2, 3, ect.

    Once the end of the game comes, if the ending is 1, play ending 1.

    3.

    I don't understand what perspective the game is being played in but it sounds like it involves animation.

  • <img src="http://puu.sh/2pn6K.jpg" border="0" />

  • Wow thanks. I really need to understand how lerp works.

    I had to tweak it a little bit but I got it to work.

    For future reference, my code now is this:

    lerp(Camera.X, ((Player.X + Player.X + Mouse.X)/3), 12*dt)

    This will make the camera focus on a point between the mouse and the player in a smooth fashion, kind of like looking around with the mouse.

    This part "((Player.X + Player.X + Mouse.X)/3)" is basically averaging the distance between the player and the mouse, except its adding the player twice, so the average position ends up being closer to the player.

  • I have some advice. Since you say you are a budding game designer, I suggest you do something a little more simple first. Even if it's been done before or it isn't hugely unique, just do it so that you are making and designing a game. You need to want to do it though.

    One of the hardest parts of starting is having to cut down your ideas, because every beginner starts with big ideas that they simply can't pull off.

    Sorry I couldn't answer your question but I hope the advice helps.

  • Hi.

    So I'm basically trying to get my camera to smoothly move towards the center of the position between the character and the mouse pointer. This is the code I wrote for it.

    <img src="http://puu.sh/2p5tr.jpg" border="0" />

    This works fine but it's not smooth at all. I was experimenting with movement a bit, but it's not working well. Anyone have tips?

    Additionally, how can I alter the equation I wrote to make the camera appear closer to the player instead of at the halfway point? Like perhaps 1/3rd of the way between the player and the camera.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's the collision boxes. It's using accurate collisions, and every accurate collision for each animation has a different point where it meets the bottom, so you get a vibrating effect as the animation plays.

  • you could check if the object is overlapping whatever object you don't want it to spawn in. if that happens, delete it and respawn it again.

  • Without blasted drag and drop, can someone explain to me the best way to pick up an object with the mouse pointer, move it over some distance, and drop/throw it by letting go of the click?

    If possible, I would like it to move towards the position of the mouse, and then letting to of the object doesn't throw it, but rather, releases hold of it. I tried this with phys force but it's way too wobbly.

  • on event object 1 collides with object 2

    action destroy object 1

    action create object 1 on the layer at x = random(Range), y = random(Range)

    for Range, type in the minimum and maximum boundaries you want the object to spawn inside.

  • I thought the "wait" action was a bad idea to use, and I kept hearing that DT was better than some other form of timing. >_>

Sushin's avatar

Sushin

Member since 28 Feb, 2013

None one is following Sushin yet!

Connect with Sushin