lamar's Recent Forum Activity

  • There are a few ways to do it but I used the bullet behavior for the coins and set them to the same speed as your platforms and use a random X and Y coordinate to adjust where they start off screen.

    Destroy them when they hit the other side and create them in a new location on the side they enter.

    You can also randomize the time between when they are created so their is no pattern for the player to predict.

  • > What you are trying to do is illegal in the US without a gaming license and the FBI and International Law would be all over you if you even try it.

    >

    Thanks for the reply, but I do not live in the US.

    Well I suggest you check your countries laws and Paypal is a US owned company that has to follow US laws so they would not be involved in any Casino.

  • I have spent a lot of time working over the physics on my on pinball games and did some colluding with some old programmers I know and I think this is the best anyone can do using C2 physics to get realistic ball and flipper action.

    This game is so tight you can stall, dribble and pass the ball and shoot with dead on accuracy while still getting that real pinball response.

    So come try it out and tell me what you think?

    https://lamar.itch.io/magnetron-pinball-2d

    Now that I have the physics working like I want I will start turning this into a Pinball Sandbox Builder so people can build their own pinball games using pre-built assets provided or assets you create.

    Enjoy!

  • If you can't make a game in under 250 events I think you need to evaluate your events and learn to optimize your games.

    Hell I have written over a hundred games and I don't think any of them came close to 200 events and most are under a hundred events.

    I have full complete games with less that 30 events!

  • What you are trying to do is illegal in the US without a gaming license and the FBI and International Law would be all over you if you even try it.

  • > Just my opinion but if you go running for a plugin every time you need to do something a little complex you are missing an opportunity to learn how the behaviors work and you will struggle more in the future when things don't work and you have to debug your events.

    >

    > Plugins can be helpful but some are also known to crash and in a commercial game that would be a terrible thing to have happen.

    >

    Third-party plugins are nice and all and are probably the way to go if you're concerned about what's easier/what's a better way to do it but...

    One scenario I have is where I'm building a gamekit/sdk, and I want it to work out of the box completely, so I'm avoiding third-party plugins at near all costs.

    Yup and I don't have any plugins installed for that reason. I can do anything a plugin can do using the C2 builtins and I know they will continue working if I update to a newer version of C2.

    I used to have some plugins and now some of my older games are basically useless because those plugins no longer work in the newer C2 version and crashes the game or makes it impossible to open and edit.

  • Play the game here:

    https://lamar.itch.io/gladiator-ball

    Gladiator Ball is a hard hitting funny Football themed game where you are pitted against gladiators and must run the ball to the end zone and kick the ball for a field goal.

    Gladiators have a sophisticated Artificial Intelligence and will learn your moves so it gets harder as you get better. You can grab a power up nutrition bar while you are running and that allows you to block and run through Gladiators.

    This is an early beta release to get feedback and I will be adding team and player statistics, leader board, two player option and other features.

    Don't forget to rate and leave a comment!

    CONTROLS:

    Mouse or Touch controls.

    Double tap to select your team logo and start your player running or kick the ball. You can use arrow keys to move player but double tap on player to start.

    Save and Load are Blue and Yellow buttons on the scoreboard.

    Only top row of team's logo are available in the free version.

    NOTE: This is just an early beta to get feedback and the game will be removed in a week while I finish it for publication.

  • willmonteirofx

    I was going to say I made an angry bird demo a couple years ago - but then I noticed the link was to that message thread, and lamar's capx was based on my example...

    so, the only thing I will add is that if you want the dots to fade out like in the image you made at the beginning of this thread, then add an action at event 4 (Draw dotted line) that says:

    Dot5 > Set opacity to (DotCount-loopindex) / DotCount * 100

    and you may want to reduce the DotCount global variable to 40 or less. Otherwise they will always know they are going to get a basket!

    Hey AllanR, I thought that CAPX looked familiar but I thought it was Korbaachs sorry. Good work!

  • Create a clickable grid system? I tried creating a grid system by making each grid tile an individual sprite, but now I have over 1,000 sprites and it's making the game super laggy. I just need to be able to change the tiles individually to a different color on click and didn't know how to do this without making each tile a sprite.

    Hmmmm?

    You would still need tile sprites to represent the different colors but you shouldn't need that many of them and you can create that colored tile at Position Mouse.X and Mouse.Y

    Do you have the grid event set up so your mouse cursor moves one grid space at a time?

  • 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...

    OK what you are looking for is the ball trajectory.

    Sorry we had some miss-communication.

    I took Korbaach's capx and just adapted it so you can implement that in your game.

    You will need all those global variables and copy the events related to aiming the ball and setting up the trajectory line.

    https://www.dropbox.com/s/08q5wetln1eiorl/Ball%20Trajectory.capx?dl=0

  • 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?

    The aim system uses physics to to determine the angle and impulse applied to the ball.

    If you want an angry birds like game that is what they use.

    Download the capx and run it and that is the aim system you described.

    Sorry if that was not what you wanted because it sure is what you asked about!

  • 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.

lamar's avatar

lamar

Member since 11 Feb, 2014

Twitter
lamar has 8 followers

Connect with lamar