So I started to finally take some time to learn Ren'Py. I have the basics understood. I'm at the point where I want to start to customize the look of things so I have a few questions.
I looked over the documentation, but to be honest it was quite overwhelming.
As a side note, I'm coding on Mac OSX.
1) I have a text box (frame) that is 772x148. I'm a little confused by what the numbers do. The example is:
Code: Select all
style.window.background = Frame("frame.png", 12, 12)
2) Is there a way to have a drop shadow on the text?
3) I'd like to use images for the character names is there a way to do that?
4) Is there a way to place buttons over the text box? Buttons for, say, skip, back, menu etc.
5) I would like to have mouse right click hide the text box and text (to show the images without an interface) instead of go to the menu. Is that doable?
6) How can I use an image for menu buttons (choices)?
7) Can you customize the cursor? Change it with a custom image or better yet an animated filmstrip?
8 ) I tried to add a cutscene with this code:
Code: Select all
$ renpy.movie_cutscene("demo.mpg", 146.22)
Code: Select all
On line 29 of /Applications/renpy-6.3.1/Test/game/script.rpy: one-line python statement does not expect a block. Please check the indentation of the line after this one.
$ renpy.movie_cutscene("demo.mpg", 146.22)
10) One other thing that has nothing to do with customization, but I'd like to have running variables to then later evaluate. For example over the corse of the game the player obtains X amount of point for picking certain answers. At the end I'd like to evaluate that like:
Code: Select all
if (points >= 100) then jump good_ending
11) Is it better to keep the game script in one file or split it up similar to the demo, which has been a great help btw? I can imagine that the init setup of images and characters could get very long as with a long story. So I guess dividing the file up would be a good thing, I just need to learn how to do that.
Sorry for the noob questions and I'm sure I'll have more as I try to unravel this thing.
Can anyone recommend a better Mac text editor for this beside Text Edit, which doesn't have line numbers? I've been using Dreamweaver for now. How can I change the default editor anyway?