Page 4 of 6

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 12:34 am
by Hblade
I'm insanely excited, this has pushed me to make a game I never thought I could make. I know to some it would be simple, but this has been the funnest challenge I ever did :D


tintran wrote:from the videos of yours, looks much cooler! :D



Thanks :D :D Can't wait to release this! :)

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 1:14 am
by tintran
from your video, it showed some blocks in the middle that are solid and the ball bounces against them i just thought what if you could make it so some blocks break-up like that that arknoid game.
It'd be a cross between pong and arknoid i think it'd be cool just an idea i thought i'd share maybe you can work it into your game, maybe not. i don't know.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 1:31 am
by Hblade
Thats a good idea and I thought about that already, but I'm nearly finished with every level, only 4 left xD No point in editing that in now :P sorry o3o

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 2:24 am
by NightOfHorror
yay, more people entering. Well, I can't wait till' the 21st when judging processes start.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 3:52 am
by NightOfHorror
one question. How do I move Tintran? Pretty nice game by looks and what I believe idea is. Just need to know how to move. Good job guys by the way.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 3:56 am
by Hblade
thanks.
As for his game, you need a controller.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 11:17 am
by NightOfHorror
I believe I have one of these controllers some where either here or at my grandma's house.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 1:51 pm
by Hblade
oh.

My game would be released as soon as I figure out how to get the credits to work >.>

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 8:34 pm
by NightOfHorror
awesome! I have question. I put codes
Code: Select all
redWall-> collision -> any side of PongBall -> script editor ->
 RedScore++;
RED_SCORE.textNumber=RedScore;
if(RedScore==10)
{
    DestroyActor("RedBall");
}
if(RedScore==10)
{
    DestroyActor("RED_SCORE");
}
if(RedScore==10)
{
    RedPoint=0;
}
if(RedPoint==0)
{
    PongPoint--;
}
if(RedPoint==1&&PongPoint==0)
{
    view.x=-1286;
    view.y=-470;
    DestroyActor("PongBall");
}
The only problem is that view isn't changing its coordinates which will make it appear at the winning background and text. This goes for all colors, just using red right now. Pretty much, if RedPoint==1 and PongPoint=0, view will change. I will explain what you need to know in order for you to understand better. Just is the last obstacle in my way.

Re: Pong Tournament

PostPosted: Mon Apr 16, 2012 11:45 pm
by skydereign
Why are you constantly asking if(RedScore==10)? You should only need to ask that once.
Code: Select all
if(RedScore==10)
{
    DestroyActor("RedBall");
    DestroyActor("RED_SCORE");
    RedPoint=0;
}

But to address your actual problem, if the view isn't moving then that last if statement is never triggered. The only reason that if statement wouldn't trigger is if RedPoint does not equal 1, or PongPoint does not equal 1. Given the code you have, I can't tell which is the case. But does that make sense? Are you sure that RedPoint equals 1 and PongPoint equals 0 when you want that code to trigger? Since we don't actually no what RedPoint and PongPoint are, we can't make that decision.

Re: Pong Tournament - SAPP

PostPosted: Tue Apr 17, 2012 1:34 am
by tim4
Woo! Count me in.

Although HBlade's entry looks amazing, I still wanted to give it a shot, since I've never actually made a pong game before.

I couldn't think of a way to make pong exciting, so I just made a game with two games in it... that you have to play simultaneously! :o

Anyway, here are pics and the game!

S.A.P.P. - Shoot Aliens, Play Pong! xD
Image
Image

sapp.zip
GED and data folder
(571 KiB) Downloaded 110 times


tim

Re: Pong Tournament

PostPosted: Tue Apr 17, 2012 1:42 am
by NightOfHorror
PongPoint=3 already and RedPoint already equals 1. If RedPoint or any other color's variable for their score=10, the PongPoint will subtract one and that color's Point=0, so the can not transition to their winning background. So, pretty much, I believe the code would make it for example, if all except for say, red, had its score=10, their point would also equal zero, so yellow, blue, and brown would be destroyed along with there score text. Once this equals ten, the PongPoint will substract one from its total. So if red was the last one standing, it would still have its RedPoint and PongPoint would equal zero therefore triggering the code to move view to the RedWinningBackground's coordinates.

Re: Pong Tournament

PostPosted: Tue Apr 17, 2012 1:42 am
by NightOfHorror
Awesome, this will be a four person contest!

Re: Pong Tournament

PostPosted: Tue Apr 17, 2012 2:49 am
by skydereign
Looking at your code, if RedScore is equal to 10, you set RedPoint to 0. That means RedPoint isn't equal to 1, and that if statement won't be triggered....

Re: Pong Tournament

PostPosted: Tue Apr 17, 2012 4:06 am
by Hblade
Cool :)