willmonteirofx's Forum Posts

  • Hello! O/

    So... first, thank you very much for the help, I thought no one could answer me... I think I understood part of your theory ...

    Well, I created a new project and put everything in a very simple way...

    1 - I put ID's in the Slots using variables and I used the same duplicate sprite 5 times, putting different ID's for each one.

    2 - I also put a bollean variable to check if it will be Busy or Not.

    3 - Then I put an 8-way behavior on the character so he could move around the scene.

    4 - Then I put all the features that the character will pick up, also separating the items from the scene in layers. I hope you understand...

    NOTE: Open this image in a new tab, to see better, the site has cut.

    Now I need to know if it's more or less as you imagine it, or need to change something?

  • Hi, I am trying to create a system similar to MS Paint in Windows. I made this code based on a tutorial, but it does not fill the lines perfectly, nor does it smoothly, does anyone have a solution? Thank you!

    I would like to do something like this video in the matter of the smoothness of the drawing...

    https://youtube.com/watch?v=9wNqnELALy8

  • Hi, I'll try to be as soon as possible ...

    I'm looking for a system that works as follows ...

    When my character collides with the "Item" check an empty slot if empty set position to empty slot.

  • I wanted to know how to create a simple system for generating random islands.

    Like this image, for example:

  • It's because I do not know to say "mira" that is a Portuguese word that represents what I have meant. For me it is aim/sight/crosshair/point that represent the trajectory of the ball. My problem is only with that. I can not implement. It's just that...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK here is the CAPX to download:

    https://www.dropbox.com/s/wwhnaw9v9bl5w7f/Basketball%20Shoot.capx?dl=0

    This uses just 5 events:

    The ball, net, floor and backboard all have physics behaviors. Click on their behaviors and look at the settings. I also created a net guide sprite that is hidden with physics behavior so the ball goes down through the net smoothly.

    The catapult or pivot arm is that green box with the star. I made it invisible but you will see it in the layout.

    The physics settings are just a formula to determine how far you pull back on the ball and that determines how fast and at what angle the ball is released.

    You can increase the IMPULSE if you want the ball to go faster or decrease the ball density in the ball physics settings.

    The game automatically resets after 5 seconds when the ball collides with the ground.

    That should get you started on your game and looks like a lot of fun. I made 3 baskets out of 10 shots!

    NOTE: I did not create this CAPX and it is included with C2 as a catapult example. I just modified it and tweaked the physics to be a basketball shoot game.

    Oh god... this system I already have and implemented, my problem is to create a aim that works! It's not the game system, it's just the aim! Its only it. I understand a bit of the system, but I can not imagine how to do the aim based on what I already have, do you understand?

  • > But I believe there is a simpler way to do it, all these equations are very complex I can not quite understand :/

    >

    Physics just looks complex but once you understand the basic physics terms it is actually quite easy and for games like yours that is what you will need if you want realistic gravity and arc on your ball.

    Give me a little while to get woke up and I will make an easy to follow capx example with just a few events.

    I would greatly appreciate it!

  • But I believe there is a simpler way to do it, all these equations are very complex I can not quite understand :/

  • Okay, I came back and I did not succeed.

    I looked at the files, tried to adapt, but unfortunately, it's not what I'm looking for, I believe there are simpler ways to do it. I have a simple system to pull and release the ball, I just need a aim that project my ball.

    If any of you can take a look at how I've done, to see what you can do, I'll thank you immensely.

  • I'll try, I'll be back soon!

  • Hello! I'm trying to create an AIM similar to that of Angry Birds!

    My game is a Basketball game and I wanted to be able to implement an Aim similar to the Image that I created.

    Here is the original project

    bit.ly/2lNSFDk

    Here is my attempt to create the aim

    bit.ly/2mTykNR