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 Wed May 22, 2013 5:02 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Fri Apr 08, 2011 11:05 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Ren'Py 6.12.1 "Human Factor" is the first of a series of minor releases focusing on improving the experience of visual novel makers. This release features several improvements to the process of showing images:

- Image attributes make it no longer necessary to specify every part of a changed image.
- The say statement can change image attributes when a character speaks.
- Side images can be specified with the image statement, and can be used with NVL-mode dialogue.
- Sticky transforms allow a transform to continue through an image change.

As these new features can change the behavior of existing games, it may be convenient to disable them for in-development projects. Please see the list of incompatible changes for instructions on how to do this.

The other major improvement is in error handling. Where previous versions of Ren'Py would terminate on errors, 6.12.1 will display a screen that allows the maker to edit problematic files and reload the game, and the user to rollback or ignore the problem.

Ren'Py 6.12.1 also includes many other minor features and bug fixes, please see the full changelog for more details.

Downloads of 6.12.1 can be found at:

- http://www.renpy.org/release/6.12.1

A full list of changes to Ren'Py can be found at:

- http://www.renpy.org/dev-doc/html/changelog.html

A list of changes that may require you to update your game can be found at:

- http://www.renpy.org/dev-doc/html/incompatible.html



1460:

This is the first release to use a new pre-release process, that I'm still experimenting with as a go along. I've posted up an early version of 6.12.1, so it can be out there for people to play with. There are a lot of changes to the way showing images work, and I think this will lead to changes in the way people program Ren'Py games. (I think that, combined, the changes will save people a lot of typing.)

If you're working on a new game, or one in the early stages of programming, I encourage you to try out the 6.12.1 pre-releases, and to use the new features, especially attribute-based images, as (based on suggestions from people) I think they will simplify game scripts. On the other hand, they can change the meaning of some code, so if you have an in-development game, you may want to set config.image_attributes to False to turn them off. In both cases, I'd like to find out about any problems you have.

There are still known reported bugs in 6.12.1, and I haven't touched the Android build in a while. Much documentation has yet to be written - many of then new features are only documented in the changelog. So this is by no means done. But my testing shows it to be reasonably stable, and hopefully worth trying out as I polish up 6.12.1.

Finally, there are a bunch of simple-yet-useful features, which I'll mention here to make them more prominent for people who don't read the changelog:

- Ren'Py remembers window size, and it's now possible to have preferences for specific window sizes.
- The new Tooltip class makes tooltips easier.
- config.debug_text_overflow will log text overflows to a file.

_________________
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  
 
PostPosted: Fri Apr 08, 2011 11:42 pm 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
That's really interesting. The new image attributes thing. Since I write directly into Ren'Py, I'll still be going back through all my lines to insert emotions, but if I know for sure the char is mad when he says something, I can go ahead and nip that in the bud. Of course, my "find>replace all" for changing character call names won't work anymore, but I guess I should have never done that in the first place. :)

Yay for xcenter/ycenter! Something so simple yet will be what I use the most.

Good work, I hope to make a new game sometime so that I can actually use this stuff. =P

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sun Apr 10, 2011 11:58 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
I got this error immediately on startup. I used the autoupdater though, not sure if that was ok. In practice the auto-images doesn't seem to work ?

Code:
I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 917, in python
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 911, in python
AttributeError: 'module' object has no attribute 'images'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\- indie dev -\games\renpy\renpy\execution.py", line 261, in run
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 617, in execute
  File "C:\- indie dev -\games\renpy\renpy\python.py", line 957, in py_exec_bytecode
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 917, in <module>
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 911, in create_automatic_images
AttributeError: 'module' object has no attribute 'images'

Windows-Vista-6.0.6002-SP2
Ren'Py 6.12.1.1460
 

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 6:38 am 
Veteran
User avatar

Joined: Sun Oct 26, 2008 2:01 am
Posts: 219
Location: Bradford, UK
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
This is only a minor thing, and it might be because I disabled all of the new image definition features, but every once in a while when I save my game in 6.12.1 the thumbnail image in the save menu is completely black? (There was an imagemap on screen at the time, if that helps). The same thing seems to happen with another game that I'm assuming was made in 6.12.1, too.

(Not sure if this is the right place for this, sorry!)

_________________
Image
Image
LemmaSoft Thread | Lucky Rabbit Devblog | Chensterrain's DeviantART


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 6:41 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Ah yes I have that problem too, in Remember Me. If you save on the map, you see black thumbnail. In my case doesn't seem to be ALWAYS black, only some times (don't know what triggers it though).

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 6:56 am 
Veteran
User avatar

Joined: Sun Oct 26, 2008 2:01 am
Posts: 219
Location: Bradford, UK
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
Heh, that was actually the game I was talking about, but I didn't want to assume. But yeah, most of the time it was completely fine, so I'm not really sure why it happens...

_________________
Image
Image
LemmaSoft Thread | Lucky Rabbit Devblog | Chensterrain's DeviantART


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 7:04 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Can people post some of the save game files where this happens?

_________________
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  
 
PostPosted: Mon Apr 18, 2011 9:24 am 
Hentai Poofter
User avatar

Joined: Sat Feb 04, 2006 11:13 pm
Posts: 1651
Location: Philippines
Completed: http://wp.me/PG477-eI See my blog list... quite many
Projects: http://wp.me/PG477-eL See my blog list... quite many
Organization: Studio Mugenjohncel
Uh oh... I see side images had something new... I'm genuinely worried since I am a heavy user of side-images...

Time to download...

"POOF" (Disappears)

_________________
800x600 is the Sacred Resolution that guarantees smooth playback on every machine...
Studio Mugenjohncel proudly supports 800x600 game resolution with Burning Passion
[ STUDIO MUGENJOHNCEL ]   [ UNCLE MUGEN'S BACKGROUND TUTORIAL ]
Image
 [ UNCLE MUGEN'S TWITTER ]  [ UNCLE MUGEN'S FREE OELVN BG'S ]


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 9:37 am 
Newbie

Joined: Thu Apr 14, 2011 10:12 pm
Posts: 13
Quote:
- Sticky transforms allow a transform to continue through an image change.

Image


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 10:56 am 
Veteran
User avatar

Joined: Sun May 31, 2009 7:15 am
Posts: 216
Location: Korea, Republic of
jack_norton wrote:
I used the autoupdater though, not sure if that was ok. In practice the auto-images doesn't seem to work ?

So I defined an image directly but the error message shows up... (and I used auto updater too..)

Code:
init:
    image sylvie2 normal ='sylvie2_normal.png'
    define s = Character('Sylvie', image = "sylvie2")
label start:
   
    s normal ''
-----------------
I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "renpy-6.12.0-mainline/common/00library.rpy", line 908, in python
  File "renpy-6.12.0-mainline/common/00library.rpy", line 902, in python
AttributeError: 'module' object has no attribute 'images'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "E:\renpy-6.12.0\renpy\execution.py", line 261, in run
  File "E:\renpy-6.12.0\renpy\ast.py", line 617, in execute
  File "E:\renpy-6.12.0\renpy\python.py", line 957, in py_exec_bytecode
  File "renpy-6.12.0-mainline/common/00library.rpy", line 908, in <module>
  File "renpy-6.12.0-mainline/common/00library.rpy", line 902, in create_automatic_images
AttributeError: 'module' object has no attribute 'images'

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.12.1.1460


And here's unicode problem.
Attachment:
1.JPG
1.JPG [ 19.82 KiB | Viewed 846 times ]


It's the project file.
Attachment:
Test.zip [1.51 MiB]
Downloaded 13 times

_________________
렌파이 위키 Ren'Py Wiki Reference Manual(kr)
렌파이 매뉴얼 Ren'Py Documentation(kr)


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 11:44 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Here's a savegame file without thumbnail.


Attachments:
37-LT1.zip [48.18 KiB]
Downloaded 14 times

_________________
follow me on Image Image Image Image
computer games
Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 3:30 pm 
Regular

Joined: Thu Jul 02, 2009 1:35 pm
Posts: 28
:D Downloading!


Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 4:40 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Is anyone capable of reliably repeating the save bug? Or is it just totally random?

_________________
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  
 
PostPosted: Mon Apr 18, 2011 5:53 pm 
Veteran
User avatar

Joined: Sun Oct 26, 2008 2:01 am
Posts: 219
Location: Bradford, UK
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
Sorry for the late reply, I didn't have access to my saves earlier, but I've attached one I think has the glitch. It always seems to happen at that one point, but not at other times where basically the same things are on screen; if I reload the save and then save again, the image shows up as usual, and if I fast-skip to that point and save I also don't get the glitch, so I'm not sure why it's triggering, really!

Also, while I was trying all this out, I found that for some reason the game crashes every time I try to return to the main menu from the game menu.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in script
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in python
FullRestartException:

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\execution.py", line 261, in run
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\ast.py", line 617, in execute
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\python.py", line 957, in py_exec_bytecode
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in <module>
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\exports.py", line 893, in full_restart
FullRestartException:

Windows-post2008Server-6.1.7600
Ren'Py 6.12.1.1460


Attachments:
111-LT1.zip [46.88 KiB]
Downloaded 13 times

_________________
Image
Image
LemmaSoft Thread | Lucky Rabbit Devblog | Chensterrain's DeviantART


Last edited by chensterrain on Mon Apr 18, 2011 6:40 pm, edited 1 time in total.
Top
 Profile Send private message  
 
PostPosted: Mon Apr 18, 2011 6:14 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
PyTom wrote:
Is anyone capable of reliably repeating the save bug? Or is it just totally random?

The no-thumbnail bug? yes if you check Remember ME, every time you save in the map you get the black one.

_________________
follow me on Image Image Image Image
computer games


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


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