Custom Books and Literature

AnexOfShadow

Warper
Member
Joined
Dec 30, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Hello all,

I'm having a little trouble implementing a system for my game. My game features a class promotion system (similar to Fire Emblem I guess?) using Yanfly's class scripts. I wanted to have a bit early on in the game where you can find a book explaining all the classes, their skills, their stat growth, requirements, things like that, each class having their own page. What I am having a problem with is setting up the book. I was thinking maybe using the "show picture" feature of events and custom-drawing each page of the book, but I have no idea if this is actually a good idea. I had heard of a way to make custom menus with events and pictures, but I don't know if the same principles could be applied to this concept. If anybody could offer any suggestions, that would be great. Thanks!

Anex
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to MV Support (this is a "how do I ..." question, not a discussion of game mechanics). Please be sure to post your threads in the correct forum next time. Thank you.
 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
I use common events and pictures for books in my game. I wrote a small 19 step tutorial on how I set that up.

It's a little long so I inclosed it in a spoiler tag; at least I think I did.

1. Make a variable named after your book (so that you can keep track of page numbers)

2. Make a new common event(I'd name it after your book but that's up to you.

3. The first thing in your common event page should be a conditional branch. Check to see if your books variable = 0. If it is set it to 1.

4. (This is optional) Show text that says "To close the book, or go back a page, press the 'X' key".

5. Jump to label 'Next Page'

(The 'next page' part of the event is done later)

Each book page should be set up by following steps 6-11

6. Make a label named 'Pages 1&2' or just 'Page1' if you only show one page at a time.

7. Show picture(whatever your page name is)

8. Make a blank 'show text' event set at the bottom & transparent.

9. Check if the cancel button is being pressed. If it is show choice [Go back a page; Close book]

If they choose 'go back a page check if your books variable is = to 1. If yes play a buzzer sound, if no subtract 1 from the book variable and jump to label 'Next Page'

If they choose 'close book' jump to label 'End'

10. Add 1 to your books variable

11. Jump to label 'Next Page'

The 'Next Page' part of the event is set up like this.

12. Make the label 'Next Page'

13. (Optional) Play SE Book1

Step 14 must be repeated for each book page you have

14. Check your books variable. If it is = to 1, jump to label 'Pages 1&2' or 'Page1' depending on how you labeled your pages.

For page 2 and beyond repeat step 14, just change the variable number to the correct page number.

The last part of the event is the 'End'

15. Label it 'End'

16. Check to see if your books variable is > the last page number of your book. If it is set your books variable to 1.

17. (Optional) play SE Book2

18. Erase picture

19. Exit event processing
 

AnexOfShadow

Warper
Member
Joined
Dec 30, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I use common events and pictures for books in my game. I wrote a small 19 step tutorial on how I set that up.

It's a little long so I inclosed it in a spoiler tag; at least I think I did.

1. Make a variable named after your book (so that you can keep track of page numbers)

2. Make a new common event(I'd name it after your book but that's up to you.

3. The first thing in your common event page should be a conditional branch. Check to see if your books variable = 0. If it is set it to 1.

4. (This is optional) Show text that says "To close the book, or go back a page, press the 'X' key".

5. Jump to label 'Next Page'

(The 'next page' part of the event is done later)

Each book page should be set up by following steps 6-11

6. Make a label named 'Pages 1&2' or just 'Page1' if you only show one page at a time.

7. Show picture(whatever your page name is)

8. Make a blank 'show text' event set at the bottom & transparent.

9. Check if the cancel button is being pressed. If it is show choice [Go back a page; Close book]

If they choose 'go back a page check if your books variable is = to 1. If yes play a buzzer sound, if no subtract 1 from the book variable and jump to label 'Next Page'

If they choose 'close book' jump to label 'End'

10. Add 1 to your books variable

11. Jump to label 'Next Page'

The 'Next Page' part of the event is set up like this.

12. Make the label 'Next Page'

13. (Optional) Play SE Book1

Step 14 must be repeated for each book page you have

14. Check your books variable. If it is = to 1, jump to label 'Pages 1&2' or 'Page1' depending on how you labeled your pages.

For page 2 and beyond repeat step 14, just change the variable number to the correct page number.

The last part of the event is the 'End'

15. Label it 'End'

16. Check to see if your books variable is > the last page number of your book. If it is set your books variable to 1.

17. (Optional) play SE Book2

18. Erase picture

19. Exit event processing
Hey, do you think you could post a picture of how you set yours up? I'm a bit confused as to what goes where in the common event.
 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
I've taken 4 screen shots for you. The first one has a red bar at the bottom because that part is shown in the 2nd one and I didn't want you to think you needed that twice. The comments are simply my own notes, I use them so I don't forget how to set up my events; as you can see I have a lot of them.

The screen shots cover the beginning of the event, how a book page is set up, the next page event, and the end of the event.

BookHelp_1.pngBookHelp_2.pngBookHelp_3.pngBookHelp_4.png
 

AnexOfShadow

Warper
Member
Joined
Dec 30, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I've taken 4 screen shots for you. The first one has a red bar at the bottom because that part is shown in the 2nd one and I didn't want you to think you needed that twice. The comments are simply my own notes, I use them so I don't forget how to set up my events; as you can see I have a lot of them.

The screen shots cover the beginning of the event, how a book page is set up, the next page event, and the end of the event.

BookHelp_1.png
BookHelp_2.png
BookHelp_3.png
BookHelp_4.png
Thanks for the screenshots, they helped immensely. I finally got my system up and running, now all I have to do is actually make the pictures for each individual page.
 

Rpg Guy

Complex Eventer
Veteran
Joined
Sep 29, 2015
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
Glad I could help.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top