Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Event] Multi throwing
Rukiri
post May 15 2010, 05:42 AM
Post #1


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,729
Type: Scripter
RM Skill: Advanced




Introduction

This is a simple Event-Script that will allow your character to throw multiple projectiles on the game map


Compatibility
This should work on every map, the variables are not global so this event needs to be declared on every map that you can fight on.

Event Script
<div style="margin:20px; margin-top:5px"><div style="margin-bottom:2px">[Show/Hide] script</div><div style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">

</div></div></div>

This post has been edited by RzrBladeMontage: Oct 3 2010, 06:49 AM


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
stripe103
post May 15 2010, 06:26 AM
Post #2


PHP ERROR: Couldn't get value from UInteger. Value too large
Group Icon

Group: Revolutionary
Posts: 740
Type: Mapper
RM Skill: Intermediate




Can you provide a demo or something?


__________________________

By Axerax

The rest of my sig



Go to the top of the page
 
+Quote Post
   
Rukiri
post May 15 2010, 06:41 AM
Post #3


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,729
Type: Scripter
RM Skill: Advanced




Yea, I'll do that once I get the "projectiles" working with this event.

This Event-Script is for controlling the sprites, where the comment says call ki-blast that's where your projectile code will be.

Here's what the script does.


When you press "A"("X") button on VX, it will start with frame 0, then 20 frames later go to frame 1. If you continuously press "A" the last 2 screens will repeat.

Great for knife throwing.


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
stripe103
post May 15 2010, 10:22 AM
Post #4


PHP ERROR: Couldn't get value from UInteger. Value too large
Group Icon

Group: Revolutionary
Posts: 740
Type: Mapper
RM Skill: Intermediate




So, it isn't completed yet?


__________________________

By Axerax

The rest of my sig



Go to the top of the page
 
+Quote Post
   
Rukiri
post May 15 2010, 01:45 PM
Post #5


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,729
Type: Scripter
RM Skill: Advanced




It's done, just create 4 projectile events, if the switch for projectile 3 is one(if you're constantly repeating) turn on and move the 4th projectile to the hero.

if the switch is not on, just let projectile 1 take it's course.

I'd recommend using Animations for on screen as it'll be a bit bugged because if you're switching to 3-4 different frames and constantly hitting the "A" button.

With Animations it removes the bug and it's pretty much exactly like the GBA games. Just make sure when it hits "Collision" blocks to show the collision animation(instead of the projectile animation)

If you're going to have large maps just have the collision code for just collision blocks so there's no lag in game.


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
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 June 2013 - 04:34 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker