How to Add Car Traffic! RPG Maker VX Ace

Hey RPG Makers!

This is a tutorial of how to add traffic to a city, using custom move routes! We create events as our cars, and have them move forward until they bump into something, at which point they turn. We also make sure cars stay on the road by using invisible events as barriers.

Take a look!

We also discuss the Game_Map default script, and talk about how we would use tile ID detection if we were to write a script that checks when cars are on intersections, which would allow us to make more life-like traffic movement.

Not mentioned in the video is the fact that Tile IDs can be detected using the “Get Location Info” command; however, this developer anticipates that using it may require setting all cars to run parallel process commands, and that it would be more effective and lag-free to write a script to detect intersections, rather than using the “Get Location Info” command.

To use regions as barriers to car movement, see Yanfly’s “Move Restrict Region” script.

Zeus81’s Fullscreen++ script.

RPG Maker VX Ace official site.

Only you can build your dreams!

Tyruswoo

Questions or concerns? Check out the forums to ask a question. You may even find an answer there, already!

To view and submit comments on this post, you must be logged in and joined as at least a Warm Fuzzy member. Log In No account, or ready to upgrade your membership? Join the adventure!

Tyruswoo

Indie Game Designer
creating game content!

Latest RPG Maker

Pin It on Pinterest

Shares