Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sun May 19, 2013 3:50 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Nov 19, 2006 11:55 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Okay, I've started developing 5.6.5. First new feature: Now, we allow Ren'Py strings (in dialogue and menus) to be quoted with `, as well as " and '. So I can write:

Code:
`I said to myself, "I can't do this."`


And it'll work. Note that this only applies to Ren'Py, and not to python code embedded in Ren'Py.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 3:15 am 
Regular
User avatar

Joined: Sun Oct 08, 2006 1:29 am
Posts: 113
Location: BEHIND YOU!!!
Wow. Already I'm excited. I've always found those backslashes distracting, even if I only need to use them sparingly.

Also, I want to commend you on making such frequent releases of Ren'Py. You either have no life, or use every spare minute of it programming.

Please tell me you have a life, so I don't look like a jerk for saying that. :D


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 4:06 am 
Lemma-Class Veteran

Joined: Sat Jan 10, 2004 6:03 am
Posts: 3175
Can you also write...
Code:
"The boy jumped, screaming: "Whaaaa!""

NetGenSuperstar wrote:
You either have no life, or use every spare minute of it programming.

Well, it's also possible to reasonably limit your other internet and freetime activities and prioritize one thing. I suspect it is Ren'Py for PyTom just as it is making games for me. Couple that with the fact that the activity in question is really what you LOVE doing, a form of relaxation and realization and IMO it works quite well, even if you have commitments. This said one needs to watch that is does not consume him completely, so that you're not a one-timer who gets burned out after half a year, but can keep on going doing what you love. If you can ease off the throttle every once in a while when a corner comes, you can keep on driving all your life.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 7:35 am 
Regular

Joined: Tue Oct 31, 2006 3:28 pm
Posts: 77
mmm ` backtick for the future. that would sheer a good 20% of the time off copying script into the games. Very cool.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 2:57 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
mikey >>> No. You only need to escape the character that's used as the quote character, but that character needs to be escaped. So you now have the choice of writing:

`The boy jumped, screaming: "Whaaaa!"`
'The boy jumped, screaming: "Whaaaa!"'
"The boy jumped, screaming: \"Whaaaa!\""

The advantage of ` is that it's not used in English, where ' and " are used often.

I (debatably) have a life, but I do consider Ren'Py to be my premier hobby. So I spend quite a bit of time on it, as I enjoy doing it. I do other things... for example, this weekend I bought myself a Ruger 10/22 Carbine, learned how to clean and maintain it, and had a scope mounted. Next weekend we're going down to the range to try it out.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 2:27 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Okay, so I've done a bunch of things towards 5.6.5.

- I've implemented a new "behind" clause clause as part of the show statement. So one can now write:

show crowd behind vivian

like that, and have the crowd appear behind the vivian image, if that image is on the screen. (If not, the behind clause is ignored.)

- I threw together a demo of the minigame code, since interest was expressed in that. So in the next version of the demo, you'll be able to play pong against Eileen.

- I've done quite a bit of work on the movie code, but I'm afraid I'm reaching a dead end. While the ffmpeg-based movies work on my Linux and Windows machines, I haven't been able to get ffmpeg working on my mac. I get a framerate of 2 or 3 frames a second, which is unacceptable. I get this even with MPEG-1, which normally plays fine on my (admittedly ancient) mac.

I'm reaching the end of my rope on this... I was wondering if someone with mac programming experience would volunteer to take a look at this, and see what's wrong.

(The problem is getting ffmpeg, and especially ffplay, working on the mac. ffmpeg is at http://ffmpeg.mplayerhq.hu/. Ffplay, which is included, required libsdl to work: http://www.libsdl.org. )

I'm now making this movie support into a long-term goal, as we already support mpeg-1 movies fairly well, and I don't think I have the resources at my command to properly support it.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 2:54 pm 
Lemma-Class Veteran
User avatar

Joined: Sat Oct 08, 2005 7:57 am
Posts: 4100
Location: France
Behind : what happens if another sprite is already behind vivian?... Does the new one get *between* or... is it random, or something else?

Mini-game : Cool. At least those who want to have a mix with RPGs should be able to do it better now, I guess ? (battle systems mostly). But you could also think of others things... Mm... quite open-ended :).


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 6:08 pm 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
I would like to see this changed:
When i write
Code:
show xxx at right

it shows character xxx at right

but when after that i write
Code:
show xxx sad

it centered that image back.

Is there any way to keep only expression changed not position?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 6:14 pm 
Lemma-Class Veteran
User avatar

Joined: Sat Oct 08, 2005 7:57 am
Posts: 4100
Location: France
Ah! I second that ^^


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 10:58 pm 
Regular
User avatar

Joined: Sun Oct 08, 2006 1:29 am
Posts: 113
Location: BEHIND YOU!!!
First of all, I really, really like that "behind" clause. It really helps to know which image something will appear behind, rather than having to remember and mess around with zorder all the time. Great idea.

Second, I also would like that issue that Enerccio brought up fixed. In the old demo, there was even a small bug where Eileen would jump from the left immediately to the center when she changed expressions. I don't think it would be too difficult to fix that; the show command is already aware of the images themselves being identically..."grouped", so I would think adding position detection would be trivial. But what do I know?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 11:40 pm 
Veteran
User avatar

Joined: Mon Mar 06, 2006 2:27 am
Posts: 338
Location: PA, USA
Completed: see sig below
Projects: always; never not
Organization: Team BG
Isn't that what config.sticky_positions is used for? Remembering the position for expression changes? Correct me if I'm wrong...

_________________
http://www.twitter.com/drakeynv
The Compendium of Drake :
Starlit Sky ~ Songs of Araiah ~ Mirai Imouto ~ Temple Glen ~ Fuyu no Tabi


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sat Nov 25, 2006 11:42 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
monele>>> The behind clause will place the image at the highest position that is behind all displayed images with the given tags. (It allows for a comma-separated list of tags, if that comes in handy.) So it's well-defined, and tends to the top.

The mini-game API, added in 5.6.0 but improved in the next release, allows any 2-d game to be made. But you will need to be a skilled python programmer to get anywhere with it. This lets you write a game and run it in Ren'Py, rather then making it easy for you to write that game.

Enerccio et al. >>> Try setting config.sticky_positions to True. (And let me know if it still works, I haven't tested that code for ages.)

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 9:12 am 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
And how about playing movie at the beginig of game?
It is possible? (or mybe it is in game allready but i dont know)


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 9:23 am 
Miko-Class Veteran
User avatar

Joined: Thu Oct 26, 2006 4:23 pm
Posts: 605
Location: Slovakia, Kosice
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
PyTom wrote:
Enerccio et al. >>> Try setting config.sticky_positions to True. (And let me know if it still works, I haven't tested that code for ages.)

How?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 9:42 am 
Veteran
User avatar

Joined: Wed Apr 20, 2005 4:01 pm
Posts: 286
Enerccio wrote:
PyTom wrote:
Enerccio et al. >>> Try setting config.sticky_positions to True. (And let me know if it still works, I haven't tested that code for ages.)

How?

Should be this way:
Code:
$ config.sticky_positions = True

_________________
It's called a miracle because it doesn't happen.
Finished projects: Broken sky .:. colorless day .:. and few more...


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: emin.im


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group