Woopop's Forum Posts

  • Thank you so much!

  • Hello everyone!

    I have a game with 10 levels. I want, each time that the player plays the game, to have these 10 levels appear randomly and only one time until the player presses NEW GAME to start again. How can I achieve that?

    I know that for random you do: random(0,9) , but how can I make it in a way that it disqualifies the levels that were already played on that session only, so every time you have 10 levels played once and then it goes to game over?

  • Seems like a great plugin, thanks for the information and guidance!

  • I took the ball from the construct example and it worked well after some small twitching!

    My last question if it is possible is: How can I create an invisible wall for the character but the ball to be able to pass it normally? It is physics stuff so I am not that great with such things unfortunately, since all these rules apply to all physics items automatically.

  • I have a gravity ball and an angled moving surface. Why when the ball hits the surface, it doesn't jump with an angle, but jumps straight up? I have added physics impulse on collision. Should I do it in some other way for it to work?

    Are the physics settings wrong? Thanks in advance people!

    I made elasticity 0 because it keeps bouncing higher and higher and goes out of control

    but maybe thats the problem and i need to fix something else? not sure

    Here are the properties:

  • Hello there! I found this guy on itchio and he seems suspicious to me. Maybe he created all these, but it seems to me that it is more possible that he just went around the web and collected tutorials or capx templates from other people that were giving it for free to help others, and he is just selling them to profit.

    hafizduddin.itch.io/source-code-for-construct-2-120-capx

    I think that when I was looking for free templates to create my games with, I saw a few of these, like the cat mario one.

  • Hello there!

    I have a game where you hover the mouse on an area, and it spawns 1 object whos y and x every tick are the mouse position. I noticed that if I go too fast while the object is spawning, it will just spawn in a different position than the mouse and follow every tick that position.

    The player tries to place that object on the map but the mouse goes out of the game screen so it is impossible to place it there. Also the game doesn'tt play on fullscreen or even stretched, I designed it that way.

    This game is about speed so going fast is crucial to the gameplay, it even has a timer.

    Question: How can I make it that when the object recognizes a different positiion as xy of mouse, comes to the real position. The object is a little big, but it is supposed to spawn in the middle of that object anyway. I don't understand why this is happening.

    Thank you for reading!

  • That is great.. I had the same idea but I am not a coder so I was curious if I could do it in a more efficient way. Thanks for verifying my idea!

  • I just have a ball that jumps. When it hits a wall it jumps again, which I don't want. How do I make it so that when the ball hits the same object from the top side only and not the wall sides, it jumps?

    The code is to jump when there is that object ground/wall, so this way there isn't infinite jumping.

  • I fixed all my problems, thank you!

  • I did the first things except the code and it works better now, thanks! Tried the code and it was creating some physics problems. I found a solution to just be able to jump before 0 and works great.

    My only problem is that I don't know how to make the ball to not jump while mid air. Since this isn't platformer but physics, it doesn't do that automatically so it has infinite jump, and I only want one. I found solution like the image and it works great, but found out that at the tiny window of 0 to 20 while mid air, if you press the jump button it will jump.

    I tried many different things combined with touching ground too and this is the best solution so far with this small problem. Tried to isolate the Velocity X only but didn't work. I don't really know what to do anymore after I tried many things and my head is hurting a lot haha

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello!

    I have a ball that I can't control. I want it to stop after it moves, but sometimes it just moves really slowly so it takes long time for the x velocity to go to 0.

    How can I slow it down faster and faster the more time passes, but at the same time when it moves again next time, it has the same options as before it first moved? Like a golf ball on each shot.

    Thanks!

  • You do not have permission to view this post

  • I see.. I will try to make one more position for each answer then and use it as a reaction, thank you!

  • Here it is.. It was from a multiple choice with 1 correct answer template. I removed the random mechanic and made it to just go to the next question normally, so ignore the random name. Also added a NEXT button between stages to show player stat changes if the answer was good or not. So I think after the player chooses and before they press NEXT, it would be great to show the reaction of that action.