thanks, that worked !!Alex wrote: ↑Thu Dec 26, 2019 6:52 pm
You've missed the colon at the end of line 304 (and other lines as well), should beCode: Select all
textbutton _("Start") action Start(): xpos 50 ypos 600
Search found 32 matches
- Thu Dec 26, 2019 6:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] error while changing button positions
- Replies: 6
- Views: 720
Re: error while changing button positions
- Thu Dec 26, 2019 6:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] error while changing button positions
- Replies: 6
- Views: 720
Re: error while changing button positions
Try doing it this way for all your buttons (history as well, etc) textbutton _("Save") action ShowMenu("save"): xpos 70 ypos 600 But this probably isn't the best way to handle positioning. What exactly is your intended positioning, it would be better to do it via styling blocks,...
- Thu Dec 26, 2019 6:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] error while changing button positions
- Replies: 6
- Views: 720
- Thu Dec 26, 2019 5:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] error while changing button positions
- Replies: 6
- Views: 720
[solved] error while changing button positions
im trying to change the buttons on the various menus. this is my wip code currently: screen navigation(): vbox: style_prefix "navigation" xpos gui.navigation_xpos yalign 0.5 spacing gui.navigation_spacing if main_menu: textbutton _("Start") action Start() xpos 50 ypos 600 else: t...
- Sun Nov 24, 2019 11:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Error with user defined function
- Replies: 3
- Views: 546
Re: Error with user defined function
Hi, I'm attempting to create a simple python function that when passed an array of strings will return a random one from the list. Here's my source code: init python: def rand_dialogue(arrName): #given an array of ialogue choices, returns a random value from that array if not hasattr(arrName, "...
- Sun Oct 27, 2019 3:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: DLC in game
- Replies: 5
- Views: 952
Re: DLC in game
since your adding additional content, make a new file titled "dlc.rpy." and put all of the additional code in there.isobellesophia wrote: ↑Sun Oct 27, 2019 8:44 am Thanks for your answer, but how and where should i put that code?
for reference: viewtopic.php?t=36941
- Fri Oct 25, 2019 1:32 am
- Forum: Creator Discussion
- Topic: I Feel I Am Doing Things the Hard Way
- Replies: 4
- Views: 4307
Re: I Feel I Am Doing Things the Hard Way
seconded !!isobellesophia wrote: ↑Fri Oct 25, 2019 12:25 am You can, but dont really show all of it, just show at least the shorter ones. So nobody would steal your idea.
- Thu Oct 24, 2019 11:22 pm
- Forum: Creator Discussion
- Topic: I Feel I Am Doing Things the Hard Way
- Replies: 4
- Views: 4307
Re: I Feel I Am Doing Things the Hard Way
Hello! I am working on a visual novel in ren'py and today, I created my first scene! WOO! I believe, however, that my coding style is very rigid and I am wondering if there are easier ways of doing what I want to do so they look less ... amateurish, even if it *is* amateurish. Is there anyone who w...
- Thu Oct 24, 2019 2:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]help needed time duration on flipping character sprites
- Replies: 6
- Views: 743
Re: help needed time duration on flipping character sprites
I am trying to work out how to transition a character sprite when flipping from one direction to another to take say 0.5 seconds instead of instantly. I use this to flip transform xflip: xzoom -1 then show eileen at xflip I am sure it is glaringly simple, but the three ways i have tried are either ...
- Thu Oct 24, 2019 1:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]before menu scene/ast.py
- Replies: 2
- Views: 519
Re: before menu scene/ast.py
I have a code with which I have a lot of problems and because of which I think I have done a lot of stupid things. here's the code: label splashscreen: play music "tropicalflow.MP3" play movie "santirosa.mpg" pause 8.95 scene first with Dissolve(.95) pause 8.95 scene first2 with...
- Mon Oct 21, 2019 5:42 pm
- Forum: Creative Commons
- Topic: Free Music/SFX Resource - Over 2000 Tracks
- Replies: 463
- Views: 1416733
Re: Free Music/SFX Resource - Over 1900 Tracks
these are amazing !!
thanks for sharing.
thanks for sharing.
- Sun Oct 20, 2019 1:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] cut to black then fade transition
- Replies: 6
- Views: 963
Re: [SOLVED] cut to black then fade transition
its fine.isobellesophia wrote: ↑Sat Oct 19, 2019 9:17 pm Yeah sorry for that, i just got quick and too lazy to put that.
- Sat Oct 19, 2019 3:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] cut to black then fade transition
- Replies: 6
- Views: 963
Re: cut to black then fade transition
Like this one? label start: scene black $ renpy.pause (1.0, hard=True) play sound "noisebutton.ogg" scene classroom with fade Im sorry if i didn't understand it too much. this worked perfectly, thank you!! but you probably want to indent the code: label start: scene black $ renpy.pause (1...
- Wed Oct 16, 2019 11:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Engine switch
- Replies: 6
- Views: 872
Re: Engine switch
when you create a new game with renpy it will ask you what resolution you want to make your game as there should a button there that says custom GUI default is 1280 x 720 there is also 1066 x 600 1920 x 1080 so also can change it later if you need to in the gui.rpy just look for init python: gui.in...
- Sun Oct 13, 2019 5:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How important are sound fx and music?
- Replies: 4
- Views: 649
Re: How important are sound fx and music?
How important are sound fx and music? I almost always mute the sound fx, and always mute the music I don't actually need sound fx and music for my game, so should I just leave them out? in my opinion, music & fx set the mood of the game. if you mute the sound, you might just be reading a book, ...