The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
Thread Tools
  #1  
Unread January 27th, 2013, 02:23 AM
Rayd12smitty's Avatar
Rayd12smitty
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Hello PokeCommunity!

I have another question for you. I am sure many of you have seen fan games that have had wild pokemon sprites fly over a map. Like a flock of pidgey or starly. I have the sprites for the Pokemon, I am just unsure of how to make the event. At first I thought of an autorun event, but that makes the player unable to move.

Then, I tried an event with autonomous movement. This works great, except the event only starts moving when the player gets within a certain amount of tiles from it. This would be okay, except I don't want all the pokemon in a straight line. I have them arranged in a "V" shape. But, when the player gets close to it, the one closest to the player starts moving and the others don't join until you get one closer, and then the next starts moving when you move one closer.

I will try to show it best I can. "X"s are the pokemon events, "P" is the player.

X
X
X_____________________________P
X
X



Say the player starts moving toward them.
X
X
X__________________P
X
X

If the player gets so close to the first event it starts moving, but not yet close enough to the others for them to start moving
Then, when the player moves one step closer, the next two events start moving, but now they are farther behind the first one, and the last two haven't started moving yet.


Anyone know how to do this another way? One that works better
__________________

Reply With Quote
  #2  
Unread January 27th, 2013, 02:53 AM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
Nature: Relaxed
Have you tried setting up the events to run in parallel process?
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
Reply With Quote
  #3  
Unread January 27th, 2013, 03:57 AM
Rayd12smitty's Avatar
Rayd12smitty
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Quote:
Originally Posted by carmaniac View Post
Have you tried setting up the events to run in parallel process?
EDIT: Thank you! That works perfectly!
__________________


Last edited by Rayd12smitty; January 27th, 2013 at 04:02 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC. The time now is 09:46 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User posts belong to the user.