Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Requesting volleyball mini-game
xtian3426
post Jun 6 2012, 04:31 AM
Post #1


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




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

goodluck and hope you can help me


__________________________
Go to the top of the page
 
+Quote Post
   
Lato
post Jun 6 2012, 04:40 AM
Post #2


Infantry for life!
Group Icon

Group: Staff
Posts: 1,709
Type: Artist
RM Skill: Skilled
Rev Points: 155




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? happy.gif


__________________________
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 6 2012, 08:52 AM
Post #3


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




haha confused back there

a demo would be nice tongue.gif


__________________________
Go to the top of the page
 
+Quote Post
   
Lato
post Jun 6 2012, 09:08 AM
Post #4


Infantry for life!
Group Icon

Group: Staff
Posts: 1,709
Type: Artist
RM Skill: Skilled
Rev Points: 155




QUOTE (xtian3426 @ Jun 6 2012, 09:52 AM) *
haha confused back there

a demo would be nice tongue.gif


So would some winning lotto numbers lol.

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.


__________________________
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 6 2012, 09:26 AM
Post #5


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




QUOTE (Lato @ Jun 6 2012, 10:08 AM) *
QUOTE (xtian3426 @ Jun 6 2012, 09:52 AM) *
haha confused back there

a demo would be nice tongue.gif


So would some winning lotto numbers lol.

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


__________________________
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 6 2012, 10:56 PM
Post #6


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




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. sorcerer.gif

This post has been edited by Alt_Jack: Jun 6 2012, 10:58 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 7 2012, 12:07 AM
Post #7


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




could you post a video of you playing then? like you did with your other events?


__________________________
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 7 2012, 04:32 PM
Post #8


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (xtian3426 @ Jun 7 2012, 01:07 AM) *
could you post a video of you playing then? like you did with your other events?

No. tongue.gif

I could tell you how the perimeter is calculated, though.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 8 2012, 01:36 AM
Post #9


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




QUOTE (Alt_Jack @ Jun 7 2012, 04:32 PM) *
QUOTE (xtian3426 @ Jun 7 2012, 01:07 AM) *
could you post a video of you playing then? like you did with your other events?

No. tongue.gif

I could tell you how the perimeter is calculated, though.



haha im confused with it lol a demo? haha


__________________________
Go to the top of the page
 
+Quote Post
   
Lato
post Jun 8 2012, 07:06 AM
Post #10


Infantry for life!
Group Icon

Group: Staff
Posts: 1,709
Type: Artist
RM Skill: Skilled
Rev Points: 155




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.


__________________________
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 8 2012, 06:07 PM
Post #11


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (Lato @ Jun 8 2012, 08:06 AM) *
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. confused.gif 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. mellow.gif


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
Lato
post Jun 8 2012, 06:15 PM
Post #12


Infantry for life!
Group Icon

Group: Staff
Posts: 1,709
Type: Artist
RM Skill: Skilled
Rev Points: 155




QUOTE (Alt_Jack @ Jun 8 2012, 07:07 PM) *
QUOTE (Lato @ Jun 8 2012, 08:06 AM) *
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. confused.gif 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. mellow.gif


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.


__________________________
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 8 2012, 08:40 PM
Post #13


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




ill try it copy em all then and see the results smile.gif


__________________________
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 8 2012, 09:08 PM
Post #14


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (xtian3426 @ Jun 8 2012, 08:40 PM) *
ill try it copy em all then and see the results smile.gif

....or you could just try out the demo. sorcerer.gif

http://www.mediafire.com/?c27jjqo4lxvmh5w

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.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
xtian3426
post Jun 9 2012, 01:46 AM
Post #15


adorable kyon
Group Icon

Group: Revolutionary
Posts: 171
Type: None
RM Skill: Undisclosed




QUOTE (Alt_Jack @ Jun 8 2012, 09:08 PM) *
QUOTE (xtian3426 @ Jun 8 2012, 08:40 PM) *
ill try it copy em all then and see the results smile.gif

....or you could just try out the demo. sorcerer.gif

http://www.mediafire.com/?c27jjqo4lxvmh5w

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


__________________________
Go to the top of the page
 
+Quote Post
   
kayden997
post Jun 9 2012, 10:36 AM
Post #16


>Glitched<
Group Icon

Group: Local Mod
Posts: 1,162
Type: Event Designer
RM Skill: Masterful
Rev Points: 30




Here's what I got


The only problem is you cannot change the jump speed. If so, I would be able to randomize the positions where it lands.


__________________________


Runescape with Dyedfire




Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 9 2012, 12:42 PM
Post #17


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (kayden997 @ Jun 9 2012, 10:36 AM) *
Here's what I got
The only problem is you cannot change the jump speed. If so, I would be able to randomize the positions where it lands.

...you also apparently can't return the ball once it comes to you. mellow.gif
Correct me if I'm wrong, but isn't that a major aspect of volleyball?

This post has been edited by Alt_Jack: Jun 9 2012, 12:43 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
kayden997
post Jun 9 2012, 01:06 PM
Post #18


>Glitched<
Group Icon

Group: Local Mod
Posts: 1,162
Type: Event Designer
RM Skill: Masterful
Rev Points: 30




True, but again, jump speed is a problem. And to just to a "move" command would be more like ping pong


__________________________


Runescape with Dyedfire




Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jun 9 2012, 01:18 PM
Post #19


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




On a side note, I'd like to submit both this and my meteor dodgeball for the Event list. sorcerer.gif


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
kayden997
post Jun 9 2012, 01:34 PM
Post #20


>Glitched<
Group Icon

Group: Local Mod
Posts: 1,162
Type: Event Designer
RM Skill: Masterful
Rev Points: 30




Make another topic for the volleyball. Your meteor one is in there under "M"


__________________________


Runescape with Dyedfire




Go to the top of the page
 
+Quote Post
   

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 12:15 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker