i would like to request a tutorial or a demo of how to make a mini-game "volley-ball"
everyone is probably know what a volleyball game is
You follow the ball and when the player touches it, it bounces back to the opponents court for the net issues you need to press for example the "z" button twice so it will increase your toss over the net and for the directions arrow keys will determine where the ball goes
when the ball goes out, you score a point
for enemies, it will be hard to make an AI for him XD
Idea! Ok im no master of anything but think about this, You know the event when you can make a char jump in differnt directions? Well thats just a char sprite right, so just change that sprite to a ball sprite and have it jump in the air whenever you come touch it, its a poor mans Volleyball right?
Just make a event, and have that event jump backwards when the player touches it. Got it? Then just edit the chat that is jumping to look like a vollyball.
Just make a event, and have that event jump backwards when the player touches it. Got it? Then just edit the chat that is jumping to look like a vollyball.
hmm still haha ill try it then , ill tell ya the results later
Well, I've figured out most of it, and I'll try and post it here as I get all the event coding together. I used a girl as the opponent (my tribute to DOAX) Here's what I've got so far:
Ref 1
parallel process, below characters. control variables 1 = girl's map X control varibales 2 =girls's map Y control variables 3 = ball's map x control varialbes 4 = ball's map y control variables 5 = player's map x control variables 6 = player's map y
now that we know where everyone is...
Ref 2
This one uses common events, so I'll put that one in next parallel process, below chars condition branch variable 1 == variable 3 ->conditoin branch variable 2 == variable 4 -->call common event: v-ball (this can be replaced with the move route if you want just straight forward shots) Condition branch: variable 5 == variable 3 ->condition branch: variable 6 = variable 4 -->call Common Event: v-ball
And here's the common event:
Common event
This randomizes the volley and isn't totally necessary. Make sure that when you are editting the move routes for the jump, that "wait" is turned OFF condition branch variable 1 == variable 3 ->condition branch variable 2 == variable 4 --> control variables 7 = random number 1-3 ..and then a bunch of condition branches that say where you want it to go. They'll look something like this: conditional branch - variable 7 == 1 set move route: ball (remember to turn OFF wait) $> jump -x,y else.... (same format, but for 2 and 3)
then you copy/paste that to make the player's conditions. Just remember that the player (assuming he's on the left and she's on the right) has a positive X and the girl has a negative X. Speaking of the girl, I'm still trying to figure out how to get her to move towards the ball. I'll post the coding for where the ball lands later.
This post has been edited by Alt_Jack: Jun 6 2012, 10:58 PM
If he was confused by my simple 3 step event you think he gonna understand all that? Even I didn't understand any of that lol. Im telling you dude just make a jump char event and edit a char, its to easy man just play around with it and youll learn so much.
If he was confused by my simple 3 step event you think he gonna understand all that? Even I didn't understand any of that lol.
It's like when people post scripts. You don't need to understand it; it's written word-for-word, so you just copy it. Besides, I'd rather finish the rest of it beforehand.
QUOTE
Im telling you dude just make a jump char event and edit a char, its to easy man just play around with it and youll learn so much.
No, because that's not going to work. I don't mind being proven wrong, but... There's an option to go backwards, but it's only 1 step, and depends which way the char is facing. The jump command uses X/Y co-ordinates (backwards, I might add) and doesn't take into account which way the character is facing. If you can figure out an easier event coding, I'd love to see it.
If he was confused by my simple 3 step event you think he gonna understand all that? Even I didn't understand any of that lol.
It's like when people post scripts. You don't need to understand it; it's written word-for-word, so you just copy it. Besides, I'd rather finish the rest of it beforehand.
QUOTE
Im telling you dude just make a jump char event and edit a char, its to easy man just play around with it and youll learn so much.
No, because that's not going to work. I don't mind being proven wrong, but... There's an option to go backwards, but it's only 1 step, and depends which way the char is facing. The jump command uses X/Y co-ordinates (backwards, I might add) and doesn't take into account which way the character is facing. If you can figure out an easier event coding, I'd love to see it.
So? You need to be facing a ball to hit it??? just backwards head but that thing! If its possible its on the table dude lol, though unlikely you just proved my point that it would work.
Fair warning: there are a couple kinks in it, mainly the scorekeeping display. But, since I've only seen a handful of people who don't claim to be super-awesome at eventing, it shouldn't be a problem getting help with it around here.
Fair warning: there are a couple kinks in it, mainly the scorekeeping display. But, since I've only seen a handful of people who don't claim to be super-awesome at eventing, it shouldn't be a problem getting help with it around here.
yeah a demo haha been waiting for this im gonna check it out