Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [VX/XP] Meteor Dodgeball, scare the [expletive] out of the player
Alt_Jack
post Jun 4 2012, 04:39 PM
Post #1


Level 19
Group Icon

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




What does this Event do? Well, simply put, it fires randomly placed rocks (or whatever) at people. Good for stuff like missile barrages or rocks rolling down hills.

You're going to need, um, a bunch of stuff, actually. In this case, the rocks are moving left to right, so the map is more wide than high; mine was like 100x13 and it's important to remember that later on.

XY tracker
basically, it tracks where the rock is. Very useful.
Parallel process, below players, no graphic.
Control variables: 1 - rock 1's map X
Control variables: 2 - rock1's map Y

The Rock
same as characters, speed: 4xfaster, freq: highest, custom move route: move right, repeat action, event touch- Game over (or damage of some kind)

Distributor
This is going to be a pain to describe. It's a parallel process event, below characters.
It checks if the rock has crossed a "finish line", then puts it back at the "start" in a random position.
The X/Y of the "finish line" was at X25 with the Y Co. being between 0 and 12, therefore the "finish line" runs from 25/0 to 25/13, while the "starting line" runs 0/0 to 0/12. Okay, so:
condition branch: variable 1 = = (equal to) 25
> condition branch: variable 2 > = (greater than or equal to) 0
-> control variables: 1 - 1 (remember where I said the starting line was)
-> control variables: 2 - random (0....12)
->set event location: rock1 - variable 1, 2
branch end
branch end


You have to create a condition branch like the one above for each rock, along with it's own variables. I had 5 rocks and it took up 10 variables.


__________________________

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
   



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: 18th May 2013 - 05:16 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker