Gas station update: I've basically got down the idea of the description:
To create this mesh game, you first have to figure out which side will move the ball, and who will follow. So my method was to set the variable 'start' to 1 when the green flag was clicked, and then to see if the start variable of the other computer is 1((start) sensor value). Because then if the other start value is 1 then it will lead the ball and the other computer will follow it( on the opposite x position, so that on both computers you are on the left.) That takes care of the start of the game, so you next need to create the ball and paddle motion
To create the ball, you first need to decide which side to go to first. For the first point, I made it go to the player who is leading the ball. For the other points, I gave the ball to whoever got the point. Next, you need motion. I just created a standard velocity variable for x and y. So when it hit a paddle, it would make the x velocity 0 - the present velocity, and when it hit the top, it would do likewise for the y velocity. For ball death, I made a sprite on the edge of the screen that would broadcast death(and set a death. Ariable to 1 so the other computer will not carry out the task) on the side that lead the ball, and changed score based on which side it was on. For the other computer I set the "my score" variable to the "opponent's score" on the other computer, and vice versa.
The last thing was quite simple, the motion of the paddles. Although the paddle's motion itself is simple, to have the opponent's paddle to be positioned, I just gave the original paddle an x position variable, and told the on on the other computer, I Put "set x to it's sensor value.
This is what I have for the description, but yu moght want someone from Lazerek to proofread it.
Live the Eternity!
Last edited by parcheesidude (2012-06-05 15:02:05)
Offline
parcheesidude wrote:
Gas station update: I've basically got down the idea of the description:
To create this mesh game, you first have to figure out which side will move the ball, and who will follow. So my method was to set the variable 'start' to 1 when the green flag was clicked, and then to see if the start variable of the other computer is 1((start) sensor value). Because then if the other start value is 1 then it will lead the ball and the other computer will follow it( on the opposite x position, so that on both computers you are on the left.) That takes care of the start of the game, so you next need to create the ball and paddle motion
To create the ball, you first need to decide which side to go to first. For the first point, I made it go to the player who is leading the ball. For the other points, I gave the ball to whoever got the point. Next, you need motion. I just created a standard velocity variable for x and y. So when it hit a paddle, it would make the x velocity 0 - the present velocity, and when it hit the top, it would do likewise for the y velocity. For ball death, I made a sprite on the edge of the screen that would broadcast death(and set a death. Ariable to 1 so the other computer will not carry out the task) on the side that lead the ball, and changed score based on which side it was on. For the other computer I set the "my score" variable to the "opponent's score" on the other computer, and vice versa.
The last thing was quite simple, the motion of the paddles. Although the paddle's motion itself is simple, to have the opponent's paddle to be positioned, I just gave the original paddle an x position variable, and told the on on the other computer, I Put "set x to it's sensor value.
This is what I have for the description, but yu moght want someone from Lazerek to proofread it.
Live the Eternity!
you mean corrologix? Lazerek is graphics.
Offline
Does eternity inc. have any games out?
Offline
Is SCRATCHTML5 going to be listed a sub-projecr of Eternity Incurakai, or just a sponsored partnership? Anyways, I need to talk to you about SCRATCHTML5 (on its topic)
Offline
Andres-Vander wrote:
Does eternity inc. have any games out?
We dont have any games out yet. . We do have tutorial, collection, and artwork projects though! Have any suggestions for games?
Last edited by XenoK (2012-06-05 17:48:05)
Offline
bobbybee wrote:
Is SCRATCHTML5 going to be listed a sub-projecr of Eternity Incurakai, or just a sponsored partnership? Anyways, I need to talk to you about SCRATCHTML5 (on its topic)
Sponsored partnership. Can i talk to you tomorrow? I have some things to get done...
Offline
XenoK wrote:
bobbybee wrote:
Is SCRATCHTML5 going to be listed a sub-projecr of Eternity Incurakai, or just a sponsored partnership? Anyways, I need to talk to you about SCRATCHTML5 (on its topic)
Sponsored partnership. Can i talk to you tomorrow? I have some things to get done...
Alright. btw, I'm going to test out the player on an iPad. Hope it goes well..
Offline
bobbybee wrote:
XenoK wrote:
bobbybee wrote:
Is SCRATCHTML5 going to be listed a sub-projecr of Eternity Incurakai, or just a sponsored partnership? Anyways, I need to talk to you about SCRATCHTML5 (on its topic)
Sponsored partnership. Can i talk to you tomorrow? I have some things to get done...
Alright. btw, I'm going to test out the player on an iPad. Hope it goes well..
Cool! I hope it works! Keyboard input might not be possible...
Offline
About my thing, I did mean Corrologix.
Offline
XenoK wrote:
.
Why do you put a period/fullstop after smilies? It's not like a smiley by itself is a sentence, so it wouldn't be proper grammar anyway having it there
Offline
XenoK wrote:
bobbybee wrote:
XenoK wrote:
Sponsored partnership. Can i talk to you tomorrow? I have some things to get done...Alright. btw, I'm going to test out the player on an iPad. Hope it goes well..
Cool! I hope it works! Keyboard input might not be possible...
It works much better than I expected! Woo-hoo!
Offline
XenoK wrote:
P110 wrote:
signing off at 10:37 i've been editing the tasks mostly i will google that php script tmoz
K. Thanks for installing the wiki for me!
back (i got bored trying to sleep) your welcome, i took a quick look at code lyoko interesting, If there are any further probs with the wiki give me a shout once i start something i like to finish with it done properly.
Offline
Andres-Vander wrote:
XenoK wrote:
.
Why do you put a period/fullstop after smilies? It's not like a smiley by itself is a sentence, so it wouldn't be proper grammar anyway having it there
Sorry... I'm on my ipod, and between the small display, and tiny keys, i dont really pay that much attention to grammar.
Offline
bobbybee wrote:
XenoK wrote:
bobbybee wrote:
Alright. btw, I'm going to test out the player on an iPad. Hope it goes well..Cool! I hope it works! Keyboard input might not be possible...
It works much better than I expected! Woo-hoo!
Thats great!
Offline
P110 wrote:
XenoK wrote:
P110 wrote:
signing off at 10:37 i've been editing the tasks mostly i will google that php script tmoz
K. Thanks for installing the wiki for me!
back (i got bored trying to sleep) your welcome, i took a quick look at code lyoko interesting, If there are any further probs with the wiki give me a shout once i start something i like to finish with it done properly.
Everything seems in order! Thanks!
Offline