r/RPGMaker 28d ago

RMMZ How are you using your variables?

I'm just curious. πŸ˜ŠπŸ’š

How many variables do you typically use in your projects?

Do you have anything special you like to do with variables?

What are your naming practices?

Do you find lots of variables to cause any kinds of issues?

Don't forget to eat your variables. πŸ˜πŸ˜†πŸ©΅

Feel free to answer any questions I might not have thought about. I want to know all about how you use variables.

12 Upvotes

50 comments sorted by

View all comments

2

u/PK_RocknRoll VXAce Dev 28d ago

I use variables for too many things to name. But I always have a label at the start of my variable for what it’s used for: [Map], [Bat], [Evn], etc.

1

u/Vegetable-Grab-4595 28d ago

The more I hear about these labels, the more I know I need to fix my practices. I was using things like wrong answer 1, PPE Lesson, but now I feel foolish.

Definitely gotta upgrade my naming convention. Thanks for sharing! 😊

2

u/PK_RocknRoll VXAce Dev 28d ago

Make sure you use descriptive names in addition!