Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

I need help with making non- playable characters move...

Hi,

I am making a game called Sapphire realms, and i am about to make a town with people in it.
I don't know how to make these characters appear or move.
Please Help!!!!
I am a begginer, but I am familiar with mapping, and graphics.
Plz dont laugh at me because to you this probably seems obvious to you. Lol
 
Create an event, with the NPC's graphic. On every event page you will find an autonomous Movment section. There you can either choose random, custom moveroute, fixed ore approach. Test play and you will see the NPC doing just what you told them to.

Hope this helps

~Dalton~

If you are using VX, the terms might be different. Should be pretty much the same though...
 
Events is the next logical step.

Events are used for NPCs, and can also be used for anything that has to move, or the user has to interact with, such as: doors, animated fires or torches, chests, switches, invisible events that transfer the player to another map, et.al.

To make an NPC. Switch to the Event Layer.  Double click on the spot where you want the NPC to start out.  Select a graphic. Now you can control movement 2 ways:  Using the "Autonomous Movement" option (Fixed (doesn't move), Random(wanders aimlessly), Approach(toward player), Custom)...
With custom, you can program a predetrmined 'route' that the event will take. You can also define a custom route over on the right side in the "Event Commands" using the "Set Move Route" command.

I make this recommendation to everyone, so don't feel singled out....

RTFM!

In RMXP, select "Help -> Contents". There are 2 sections: "RPG Maker XP", and "RGSS Reference Manual"
Read the entire first section. All of it. Several times if necessary.  There is a lot of good info in here!

The second section is for scripting in Ruby, and is not for the meek!  :scruff:

Be Well
 
kinda on the same topic: How do you make gaurds in this way so that at a certain distance, they 'capture' you and you are sent back to teh beginnning of a room or something. i tryed it in XP, it was a little tricky, but Vx is layed out a bit differently. Got any suggestions? it kinda like a stealth-based thing.
 
You can check how far the guard is from you by assigning variables and doing a lot of eventwork. There's a faster way, using a script like the "Veiw Range", but that's only for RMXP.

Oh and by the way, next time don't hijack someone's thread, feel free to make your own  :tongue:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top