A very basic Pong game I made on Twitch.

Talk about making games.

Re: A very basic Pong game I made on Twitch.

Postby NightOfHorror » Thu May 31, 2018 2:44 pm

So instead of using Event Disable, I simply did the same thing, but adjusted a few things.

if (follow==0)
{
y=y+0;
}
else
{
y=Ball.y;
}

Your idea was sort of working. Since this is in Draw Actor though, this will be checked every frame iirc, and thus the A.I is just stuttery instead, but still getting to the ball. Even if you set follow=rand(2), it is still basically impossible. It is not until you set it to follow=rand(1) that the A.I stops being able to get to the ball...but in that case, it just doesn't move. I suppose I can work with the odds more. Make it to where if follow is less than or equal to a number, then the following from above happens, and vice versa for greater than.
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score

Re: A very basic Pong game I made on Twitch.

Postby Kcee » Thu May 31, 2018 4:31 pm

Okay, good luck!
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Previous

Return to Game Development

Who is online

Users browsing this forum: Google Adsense [Bot] and 1 guest

cron