The NetBSD Project

CVS log for pkgsrc/games/py-renpy/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / games / py-renpy

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Apr 29 14:37:31 2024 UTC (7 months, 1 week ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, HEAD
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1 lines
py-renpy: Fix PLIST for different Python versions

Right now packaging will fail unless the user has the exact same
Python version as the last person to update the package, which is not
an ideal situation.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Apr 6 08:05:36 2024 UTC (8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jan 30 14:22:03 2024 UTC (10 months, 1 week ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
*: Recursive revbump from audio/pulseaudio-17.0

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jan 22 13:16:58 2024 UTC (10 months, 2 weeks ago) by ryoon
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
*: Recursive revbump from multimedia/libvpx

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Nov 23 15:41:21 2023 UTC (12 months, 2 weeks ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +16 -10 lines
py-renpy: Update to 8.1.3

* deve/py-game_sdl2 does not support Python 3.12. Mark incompatible
  with Python 3.12 too.
* Support Cython 3. No performance consideration.
* Please ignore permission error when your project will be initialized via GUI.

Changelog:
8.1.3 / 7.6.3

Changes

Ren'Py now considers config.gl2 to be true on macOS. This is because there are
several fixes for window resizing on newer versions of macOS in the gl2
renderer that are not present in the gl renderer.

MMX acceleration for video playback has been re-enabled on Windows and Linux.

The way the Steam Deck keyboard is shown has changed. They keyboard is now
show, once, when a text input is displayed. By default, the keyboard is shown
at the top of the screen, and the keyboard will only be shown once. If it's
hidden (for example, the Steam button is pressed), the player needs to hit
Steam+X to show it. This works around issues with the Steam Deck.

The 32-bit windows Live2D library will be installed into Ren'Py 7. You may need
to reinstall Live2D to get this library.

Fixes

An issue that prevented keys from being bound to text (for example, keysyms
like "r" rather than "K_r") has been fixed.

There have been several documentation fixes.

An issue with rollback not working at the start of the game has been fixed.

8.1.2 / 7.6.2

Changes

There have been many documentation improvements.

When using renpy.classify(), a directory will now match patterns that do not
end with /. (For example, "renpy.app" will match the renpy.app directory).

ATL has been changed to use a deep compare to determine if a transform should
be continued or restarted. This means a transform will restart if global
variables it uses are changed.

The styles of a viewport's children will not change when it gains drag focus.
This was rarely used, and the style change could cause drags to be slow or to
miss.

Load will now roll the game back to the statement after the last statement that
interacted to the user. (Previously, it would roll back to the start of the
current statement.) This makes rollback on load match other rollbacks.

The _autosave variable now takes precedence over forced autosaves, including
those on quit and at choice menus.

PYTHON* variables are filtered from the environment when launching a Ren'Py
project from the launcher.

In self-voicing mode, Ren'Py will try to ensure that self-voicing notificatons
are fully spoken to the player, even if the notification window fades away.

Self voicing now speaks screens closer to the player before those further away
from the player.

Frame() will ensure that the frames it draws are at least one pixel in size in
both dimensions.

renpy.pause() can now roll forward to calls and jumps from screens.

On the web browser, the "display" : "window" preference now disables fullscreen
mode.

It is now possible to bind mouse buttons to skipping.

Fixes

Problems with the web port entering fullscreen mode have been fixed.

The Ren'Py 8 launcher can now launch games on Windows systems where the path to
Ren'Py is not representable in the system encoding.

The functionality to import Python from the game/ directory has been improved
to better comply with Python's PEP 302.

GamepadExist() now works as documented. As a byproduct of this fix, the gamepad
screen will be displayed in Help when in developer mode.

An issue analyzing nested comprehensions in screen has been fixed, fixing a
case where nested comprehensions could cause default variables to not be
available.

Viewport inertia continues even if the interaction restarts during the
animation.

The if_changed clause to play (and renpy.music.play()) now considers and
preserves looping.

VS Code launch has been fixed on Linux.

Several crashes on the web port of Ren'Py 7 have been fixed.

Movie functions now ensure the relevant channels exist before playing. This can
fix issue caused by loading a Movie from a save file.

8.1.1 / 7.6.1

Android

When creating keys for Android, Ren'Py will now use the same key for APKs and
Play Bundles, as for new games it's not necessary to use different keys. (For
existing games, Ren'Py will continue to use the existing separate keys.)

We've received reports of games uploaded to the Google Play as bundles having
their APKs rejected for having different keys. This was caused by an old
release of Ren'Py that used the APK key for bundles. A solution to this problem
is documented in incompatible changes.

Fixes

Web audio now treats the end time as a time, not a duration.

An issue with that prevented audio volumes and pan from participating in
rollback has been fixed.

Fix an issue where Live2D could select an image despite all of the required
attributes not being present.

Support for start, end, and loop times in videos has been restored.

Hotspots can no longer be const when the images used by the imagemap the
hotspots come from are not const.

An issue with non-resizable windows on macOS has been fixed.

An issue with linting fonts in the font directory has been fixed.

In some cases, when a class that inherited from the object class was changed to
no longer inherit from the object class, Ren'Py would crash. Ren'Py now
diagnoses this error, and config.ex_rollback_classes lets you suppress the
error. The error is only shown to developers, and is otherwise silently
ignored.

Other Changes

Ren'Py will disable text input methods when text editing is not possible, which
makes it possible to use the space key to advance the game even if an input
method that uses the space key is active.

The "system cursor" Preference() now applies to config.mouse_displayable, when
it used to only disable config.mouse.

ATL Transitions now use the animation timebase. This is generally the same
behavior as before, until the interaction restarts, in which case the
transition would often incorrectly restart.

Ren'Py will produce an error if an object that inherited from store.object in
an old save is loaded, and no longer inherits from store.object, which would
break rollback.

Preferences no longer have defaults, meaning all preferences can be changed
using the default statement.

The absolute type, used to represent absolute amounts of pixels, now ensures
the result of mathematically operations with integers and floats remain
absolutes. This fixes a class of problems where operations performed on
absolutes could produce the incorrect type, leasing to layout problems.

Live2D now checks for a motion after evaluating an attribute_filter, and does
not sustain the previous motions if a new motion is present.

8.1 / 7.6

Documentation Improvements and Fixes

There have been many documentation improvements and fixes, many of which are
not in the changelog.

The documentation now has a new theme, including a dark mode.

Ren'Py Sync

Ren'Py Sync is a new feature that makes it easier to move save files between
devices, using a server that is run as part of the Ren'Py project. For example,
when a player has to leave, they can click "Upload Sync" on their computer to
upload the saves and get a short code. They can then choose "Download Sync" on
the copy of their game on their phone, enter the code, and keep playing as they
travel.

Ren'Py Sync is designed with privacy in mind - the saves are encrypted, and
only a hash of the game title is sent to the server.

Ren'Py Sync is enabled by the new UploadSync and DownloadSync actions.

Speech Bubble Dialogue

Ren'Py now includes a new Speech Bubbles dialogue system. This is a
comprehensive system that allows dialogue to be displayed in comic-like speech
bubbles, and includes an interactive editor that allows the speech bubbles to
be repositions, and the look of a bubble to be changed interactively.

Adding bubble support to an existing game requires adding files and script to
the game. The bubble documentation includes the required changes.

Platform Improvements

Web

Ren'Py 8.1 can now be used to create games that run inside the web browser.
When running inside the web browser, Ren'Py used Python 3.11 (3.9 is used on
all other platforms).

On Ren'Py 8.1, Ren'Py can be used to create progressive web apps that run
inside the browser. Depending on the browser and platforms, it may be possible
to install a web game on a device in a manner similar to a native application.
Other platforms allow pinning a web app to the home screen.

There is a new Preference(), "web cache preload". If enabled, the game will
download all game data to the device from the web server. When online, the game
will check the downloaded data, and only download newer data if required. When
offline, the game will use the downloaded data.

Ren'Py can now play back movies on the web platform. Only movies that the
browser supports can be played.

Macintosh

On the Macintosh, Ren'Py now uses a universal binary that can run natively on
both Intel and Apple Silicon processors.

Android

Android has been changed so that the android.keystore file and bundle.keystore
file are expected to be found in the project's base directory, and not in the
rapt directory. This allows projects to be built with different keys, and helps
ensure the same keys are used with multiple Android versions.

When the new "Generate Keys" button is pressed, if old keystore files exist,
Ren'Py will offer to copy the old files into the project.

The android configuration file has been renamed from .android.json to
android.json. Ren'Py will automatically create the new file if the old exists.

Sticky Layers

A sticky layer is defined as one that, when a tag is shown upon it, will be
treated as that tag's default layer until it is either hidden, or shown on
another sticky layer.

In practice, that means showing a tag on a layer other than its default, and
assuming that layer is sticky, it will be updated with attributes set via a
show or say statement without the need to respecify the layer.

The following example assumes that the default layer for eileen is master, and
that near is a sticky layer:

show eileen onlayer near
eileen happy "Hello there!"  # will now work, where previously it would not
show eileen excited          # implicit onlayer near
hide eileen                  # implicit onlayer near
show eileen                  # implicit onlayer master, eileen's default

The default for this feature is for the master layer to be sticky, as well as
any layers created with renpy.add_layer() unless passed the new parameter
sticky=False.

Detached Layers & Layer Displayable

Detached layers are creator-defined layers which are not automatically added to
a scene. They are instead displayed using a new Layer displayable which can be
show on other layers.

One of the driving factors behind this is that it allows shaders and other
transform effects to be applied to a group of tags while still allowing them to
operate normally with other systems such as show and say statements. It also
also allows the same layer to be shown multiple times, for instance in
reflections or several TV showing the same channel.

As detached layers don't participate in scene building in the same way as
typical layers, they are defined directly in config.detached_layers rather than
through add_layer(), and are inherently sticky.

New Image Formats and Image Oversampling

These releases add support for two new image formats:

  * The AV1 Image File Format (AVIF) is a new image format that uses modern
    compression techniques to produce smaller files than JPEG, PNG, or WebP. In
    many cases, converting images to AVIF will reduce their size without
    sacrificing image quality.

  * SVG files are a vector graphics format used on the web. Ren'Py supports a
    SVG files containing a subset of SVGs capability. (Notably, Ren'Py does not
    support text in SVG files.) Ren'Py will automatically oversample (or
    undersample) SVGs when the game is scaled, to ensure the SVGs remain sharp
    at any resolution, similar to the way it oversamples text. This makes svgs
    a reasonable choice for interface elemnts that need to remain sharp.

This release of Ren'Py also adds support for oversampling raster images, like
PNG, JPEG, WebP, and AVIF. For these images, oversampling is done by including
an @ and number in the filename. For example, "eileen happy@2.png" will be
oversampled by a factor of 2. This allows for easier ways of making a
remastered version of a game with minimal changes to the code. Image
manipulators, which are now obsolete but common in older games, support
oversampled images.

For raster images, oversampling causes the image file to be loaded at full
resolution, but treated as if it was smaller by the oversampling factor. For
example, if the image is 1000x1000, and is oversampled by 2, it will be treated
as a 500x500 image for the purpose of layout. If the game is scaled up, all of
the image data is available to keep the image sharp.

Image oversampling can also be used with the new config.physical_width and
config.physical_height variables to upgrade the resolution of a game without
having to adjust the game's layout.

AV1 Video

Ren'Py now supports the modern AV1 video format. AV1 is supported in WEBM and
MKV containers. AV1 videos should be about 30% smaller than the equivalent
quality movie encoded with VP9, the previous best codec.

Note that the newer AV1 format requires more CPU to decode. It's possible that
some hardware that plays VP9 fluidly will struggle with AV1.

Audio

Mixer now work on power in decibels, similar to the way the volume controls on
audio equipment and computers work. An empty mixer slider represents -40 dB
below the maximum volume, while a full bar represents 0 dB, the full volume.
This makes the mixers more dynamic. Previously, the volume slider had to be
very near the bottom before it had an effect. Now, the volume increases and
decreases match the way people perceive loudness.

Variables that control the default mixer volumes, such as
config.default_music_volume, config.default_sfx_volume, and
config.default_voice_volume now work on a scale where 0.0 is -40 dB, and 1.0 is
0 dB. SetCharacterVolume() works in a similar way, as do the new
preferences.set_mixer() and preferences.get_mixer() functions.

The audio fadein and fadeout functions also work using power. This ensures that
the fade is apparent over the course of the entire fadeout or fadein, rather
than only at the end. The audio fading implementation has also been rewritten
to allow fades of very short lengths. Previously, fading would produce errors
if the fade time was too short.

The config.fadeout_audio variable (renamed from config.fade_music) controls the
default fadeout used when stopping audio, or changing audio using play. (It is
not used by queue). The default value is now 0.016 seconds, which eliminates
popping sounds that occured when audio was stopped abruptly.

Audio panning (renpy.music.set_pan()) is now constant-power, so that panning
audio should not change the volume.

Draggable Viewports

Viewports can now be dragged by the user, even if a button or other displayable
inside the viewport is focused. Ren'Py will now detect when the user is
dragging, and switch focus to the viewport, allowing the viewport to move.

The draggable property of viewports and vpgrids can now take a screen variant
like "touch", in which case the viewport will only be draggable if touch is
enabled.

_ren.py Files - Ren'Py in Python

The new _ren.py file format allows Ren'Py script to be embedded in a valid
Python file. For example:

"""renpy
init python:
"""

flag = True

is equivalent to:

init python:

    flag = True

The purpose of this new format is to allow Python-heavy script files to be
edited with Python-specific tools, while still running as Ren'Py script.

Constant Stores

Ren'Py has the ability to mark a named store as a constant, by setting the
_constant variable in that store. If true, variables in that constant store
will not be saved, and objects reachable solely from that store will not
participate in rollback.

The reason to declare a store constant is that there are small per-store and
per-variable overheads that are required to support rollback. Declaring a store
constant can eliminate these overheads.

The following stores are declared to be constant by default:

    _errorhandling _gamepad _renpysteam _sync _warper audio achievement build
    director iap layeredimage updater

Variables in a constant store can be updated during the init phase, but should
not change after the init phase finishes.

Lenticular Bracket Ruby Text

Ruby text, small text above the main characters used for readings and
translations, can now be written be written by enclosing it in full-width
lenticular brackets (????), with the full-width or half-width vertical line
character (?? or |) separating the bottom text from the top text. For example:

e "Ruby can be used for furigana (???????????? ??????????????)."

e "It's also used for translations (????????Tokyo??)."

In some contexts, the left full-width lenticular bracket (??) must be doubled,
to "????", to prevent it from being interpreted as the start of ruby text. For
example:

e "????This is not | ruby text.??"

Accessibility

The new config.tts_substitutions variable allows the game to provide
substitution rules for self-voicing. That is meant to allow the creator to
control pronunciation of words that might be mispronounced by the text to
speech engine.

For example:

define config.tts_substitutions = [
    ("Ren'Py", "Ren Pie"),
]

Will cause the word "Ren'Py" to be pronounced as "Ren Pie" whenever
self-voicing speaks it.

Self-voicing now respects the voice volume mixer.

Save Token Security

Ren'Py now uses tokens to warn users when a save file is moved between devices,
to prevent the user from making mistakes described in the security
documentation.

This works by generating a token the first time Ren'Py is run on a given
computer. This token is included in saves and in persistent data. If the token
for a different computer is found in a save file, the user is warned and asked
if they want to continue. If they choose yes, the user will be asked if they
want to automatically accept all saves from that computer.

Persistent data is loaded if it's from the current computer, or a computer with
an accepted token.

The first time a game is run with a version of Ren'Py supporting save tokens,
all save files that exist for that game are checked, and if a token does not
exist in those files, the token is added. This should prevent prompting during
upgrades to Ren'Py 8.1/7.6 or later.

There is intentionally no way to disable this feature, as it's important for
end-users to be warned about the security issues when possible.

New Search Paths

Ren'Py will now search for audio files in the game/audio directory, and font
files in the game/fonts directory, if not found in the game directory. Images
will still be searched for in the game/images directory, but other files will
not be found there.

New 3D Stage Properties

There are several new properties that affect the 3D Stage:

point_to

    Selects the point that the camera is looking at, or has a sprite point at a
    point or the camera.

xrotate, yrotate, zrotate

    Rotates a sprite or the camera around the given axis.

orientation

    Rotates a sprite or the camera around all three axes at once, using the
    shortest path on a sphere.

Live2D

Ren'Py now supports the new features found in Live2D Cubism Editor 4.2. To
support these features, it should be run with Cubism 4 Sdk for Native R6_2 or
later.

Live2D is now supported on x86_64 Android.

The new Live2D.blend_opacity method makes it possible for a Live2D
update_function to change the opacity of the Live2D model.

Launcher and Engine Translations

Where possible, machine translation has been used to update strings used by the
launcher and the engine, to update translations that might not have been
updated in many years.

If you'd like to improve these translations, you can do so. Edit the .rpy files
in launcher/game/tl/language, and send them to us. Please remove the "Automatic
translation" lines when you do.

The following languages have had their translations automatically updated:

  * Finnish

  * French

  * German

  * Greek

  * Indonesian

  * Italian

  * Japanese

  * Korean

  * Polish

  * Portuguese

  * Russian

  * Simplified Chinese

  * Turkish

  * Ukrainian

The following translations had manual updates:

  * French

  * Portuguese

  * Spanish

  * Japanese

  * Ukrainian

More New Features

The input displayable can now take multiline input.

The new JSONDB system allows a developer to store data in a JSON file that can
be saved alongside the game script. For example, a JSONDB is used to store the
speech bubble information.

The new areapicker displayable provides a way for tools to let the player
select an area on the screen.

Movie can now take a group argument. If the Movie is in a group, and it has
started up, and another Movie in the same group had displayed in the prior
frame, the Movie will display the last image of the old Movie. This is intended
to allow movie sprites to switch from one to the other seamlessly.

The new config.file_slotname_callback variable allows the developer to
customize how file slot names are generated. One application of this is allow
the developer to apply a prefix to save slots (for example, to select between
dlc and non-dlc saves). The new autosave_prefix_callback allows a similar
prefix to be given to autosaves.

A new tool, accessible through the developer (Shift+D) menu, allows persistent
data to be viewed.

The interactive director can now create a statement that removes an attribute
from an image.

The show screen, hide screen, and call screen statements can now take
expression, as, onlayer, zorder, and with clauses, which have the same meaning
as the corresponding clauses in the show and hide statements.

The renpy.include_module() function can now be used to load a rpym file in such
a way that its init blocks are interleaved with those from the rest of the
game.

The new "voice after game menu" preference controls if voice is allowed to
continue playing after the game menu is shown.

A creator-defined statement can now execute a function at the same time the
default statements are executed. This is after the init phase, but before the
game starts; when a save is loaded; after rollback; before lint; and
potentially at other times.

The new config.after_default_callbacks allows callbacks to be run immediately
after the default statements are executed.

The interactive director now lets you negate an attribute by right clicking on
the attribute name.

The Text() displayable now takes a new tokenized argument. When true, the Text
displayable expects to take a list of tokens taken from a custom text tag.

Two new layers are now part of Ren'Py. The "top" layer is displayed above all
other layers, and does not participate in transitions. This makes it useful for
display information that is always shown. The "bottom" layer is displayed below
all other layers. The bottom layer is useful for handling keys in a way that is
always active.

Ren'Py supports the C90 encoding for Thai fonts, which uses the unicode private
area to provide glyphs that are combinations of base characters, vowel marks,
and tone marks. This can be enabled by selecting a Thai font that supports the
C90 encoding, and then setting language to "thaic90".

It's now possible for a mouse keysym to be given modifiers corresponding to the
state of keyboard modifiers when the mouse button was pressed. For example,
"shift_mouseup_1" will only trigger when mouse button 1 is released while the
shift key is held down.

Keysyms have been reworked to make it possible to bind to numeric keypad keys
(like the arrows and home) when numlock is off, and the keymap has been
reworked to make better use of the numeric keypad.

Normally, when a displayable or screen with the same tag or name as one that is
hiding is shown, the hiding displayable or screen is removed, cancelling the
hide transform. The new show_cancels_hide transform property controls this
behavior.

The console (accessed with shift+O) help command can now take an expression, in
which case it display the pydoc documentation for the function or class that
expression refers to.

The new renpy.get_translation_identifier() function returns the unique
identifier for the current line of dialogue, if there is one.

The new config.scene_callbacks function contains a list of functions that are
called when the scene statement is run or the renpy.scene() function is called.

The size text tag now takes multipliers, so it's possible to have:

"{size=*2}This is double size{/size} and {size=*0.5}this is half size{/size}."

The dismiss displayable now takes a keysym property, specifying what keysym
causes the dismiss.

The new config.autosave_callback is run after a background autosave finishes.

The new renpy.music.pump() function can be called to cause audio changes to
take effect immediately, rather than at the start of the next interaction. The
main use of this is to allow a sound to be played, and then faded out. (By
default, a play followed by a stop causes the track to never be played, and
hence never faded out.)

The new renpy.clear_attributes() function allows for an image tag to be cleared
of all the attributes attached to it. The previous way to do this was to hide
and show the image again, which had the consequence of also resetting the
placement of the image on the screen. It is not the case with this function.

The new config.check_conflicting_properties variable, which is disabled in
existing games but enabled in newly created games, enables you to check for
conflicting style or transform properties being set concurrently. This is
dangerous as the resulting behavior is undefined and may vary between platforms
and versions of Ren'Py.

The new config.font_name_map variable allows you to name font files or Font
Groups, so that it becomes easier to use them in {font} tags. Previously, there
was no way to use a fontgroup in a {font} tag.

The Scroll Action now takes a delay parameter, so that the scrolling is
animated over a short period of time.

The new preferences.audio_when_unfocused preference now enables the audio of
the game to be paused when the player switches to another window.

The screens' for loops now support the continue and break statements.

Disabling Dialogue's Monologue Mode is now possible using the rpy monologue
none statement at the beginning of the file it should apply to.

Other Changes

The polar motion properties (around, radius, and angle) will now produce
circular, rather than oval motion, with radius using the minimum of the
available wdith and height to scale distances expressed as heights. The new
anchoraround, anchorradius, and anchorangle properties can position the anchor
using polar coordinates.

Ren'Py will now produce errors when a screen sets two conflicting properties,
like align, and xalign. Previously, the behavior of this was undefined.

Lint will now check your game for statements that can never be reached, and
will report the statements.

Lint will now check your game for translations that are no longer being used,
and report those.

It's possible to configure the channels used to upload to itch.io using the
build.itch_channels variable.

Triple quote strings can now be used in most places a single quoted string can.
Most notably, this allows triple quoted strings to be used in screens. For
example, you can use:

screen example():
    text """\
line 1
line 2
line 3"""

to create three lines in one text displayable.

The maximized window state is now stored int preferences, and if a game was
maximized when it shut down it will be maximized again when started again.

A screen language displayable can now have at transform on the first line:

text "Spinny text" at transform:
    rotate 0.0
    linear 2.0 rotate 360.0
    repeat

It's now possible for a screen language statement to have both an at property
and an at transform block, provided the property comes first.

Local variables (prefixed with __) may now be used in f-strings.

The {nw} tag will wait for self-voicing to complete, when self-voicing is
enabled.

The selected_insensitive style prefix will now be generated, and selected and
selected_insensitive events will be given to transforms when appropriate.

Displayables with an id property can now be given the prefer_screen_to_id
property, which controls if properties supplied by the screen override the
properties supplied by the displayable identifier. The default remains that the
displayable identifier overrides the screen.

The fadein clause can be used when queuing an audio track.

Ren'Py will limit calls to BOverlayNeedsPresent on Steam Deck, preventing a
freezing issue.

Dialogue is now present in the history list (and hence the history screen)
during the statement in which the dialogue is shown. Previously, it was only
present at the end of the statement.

When config.steam_appid is not set, Ren'Py will delete any existing
steam_appid.txt file in the game directory. This is to prevent the wrong app id
from being used.

Audio volumes are now preserved when muted. (This means that the volume will
not drop to 0 when the game is muted.)

It is now explicitly documented that non-self-closing tags will be closed at
the end of a block of text. This was the behavior of many versions of Ren'Py,
but would produce lint warnings. Now, the following is explicitly valid:

e "{size+=20}This is big!"

Self-voicing and auto-forward mode may now be enabled at the same time. When
this is the case, auto-forward will only occur when the dialogue is focused.

Ren'Py no longer requires grids or vpgrids to be full - it will now pad these
grids with nulls as required.

The execute_init argument to renpy.register_statement() now respects the
init_priority argument. Previously, all execute_init function ran at init
priority 0.

The config.label_callback variable has been renamed to config.label_callbacks,
and now takes a list of callback functions.

A number of documented functions, classes and Actions have seen their
signatures (meaning the arguments they take) corrected in the documentation,
making them safer to use.

Ren'Py used to normalize all whitespace to standard spaces, and now supports
non-standard spaces such as \u3000, the full-width ideographic space.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Nov 12 13:21:42 2023 UTC (12 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
*: revebump for new brotli option for freetype2

Addresses PR 57693

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat May 6 19:09:28 2023 UTC (19 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
*: Recursive revbump from audio/libopus 1.4

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Mar 10 21:14:39 2023 UTC (21 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +25 -12 lines
py-renpy: Update to 8.0.3

* Use devel/py-game_sdl2 instead of devel/py-game.

Changelog:
Too long including:
* Many bugfixes.
* Support newer Android platforms.
* Rewriting backends.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 29 21:16:20 2023 UTC (22 months, 1 week ago) by ryoon
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
*: Recursive revbup from graphics/freetype2

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jan 10 21:34:30 2022 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
py-renpy: convert to egg.mk

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Aug 17 20:18:51 2020 UTC (4 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
*: revbump after fontconfig bl3 changes (libuuid removal)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 12 23:04:09 2020 UTC (4 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Use correct path to cython.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 2 13:20:20 2019 UTC (5 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 29 19:52:49 2019 UTC (5 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Revbump after updating graphics/glew

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 26 14:12:39 2019 UTC (5 years, 7 months ago) by maya
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
fix some whitespace, mostly introduced in the previous
python 3.4 / 3.5 removal commit.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Apr 26 13:13:58 2019 UTC (5 years, 7 months ago) by maya
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jul 3 05:03:18 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
extend PYTHON_VERSIONS_ for Python 3.7

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Mar 12 11:16:35 2018 UTC (6 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Recursive bumps for fontconfig and libzip dependency changes.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 26 08:19:28 2018 UTC (6 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
revbump after x264-devel update

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:08:24 2017 UTC (7 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Follow some redirects.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jun 24 19:39:47 2017 UTC (7 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -10 lines
Ren'Py 6.18.3
This release adds the showif statement to screen language. The showif statement shows and hides its children based on a condition. When its children are ATL transforms, showif delivers ATL events to manage the show and hide process.

Ren'Py's image prediction mechanism now models the return stack, and can predict images through a call and return pair. Previously, a call followed by a return would block image prediction.

Ren'Py now predicts that the start label will be called from the main menu. This will help to avoid unpredicted image loads at the very start of a game.

The ATL on statement now can take a comma-separated list of event names.

The new updater.UpdateVersion() function contacts an update server and determines if an update is available.

The new renpy.invoke_in_thread() function runs a function in a background thread, and restarts the interaction when that thread finishes.

While in self-voicing mode, the {w} and {p} tags are ignored.

The Traditional Chinese and Russian translations have been updated.


Bug Fixes
---------
Fixed a regression that could cause hiding transforms to skip time.

Fixed a bug that would cause the screen language if statement to show children from blocks with a false condition, if those child blocks were run during prediction.

Fixed an issue where SetScreenVariable and ToggleScreenVariable were declared as pure functions, but weren't. They now have been reimplemented as pure functions.

Fixed an issue where a grab could fail to transfer between interactions, leaving Ren'Py unresponsive.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 16 23:45:12 2017 UTC (7 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Recursive bump for libvpx shlib major change.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 1 14:43:41 2017 UTC (7 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Add python-3.6 to incompatible versions.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 17 00:06:42 2016 UTC (8 years, 3 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Recursive revbump from multimedia/libvpx uppdate

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jul 9 13:03:49 2016 UTC (8 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Remove python33: adapt all packages that refer to it.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 5 21:25:43 2015 UTC (9 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Nov 18 14:19:49 2015 UTC (9 years ago) by ryoon
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Recursive revbump from multimedia/libvpx

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 30 09:57:35 2015 UTC (9 years, 5 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Recursive revbump from pkgsrc/multimedia/libvpx.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 25 14:23:02 2015 UTC (9 years, 7 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Recursive revbump following MesaLib update, categories g through n.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 9 07:37:06 2014 UTC (10 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 21 18:15:09 2014 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Fix egg name.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 10 05:39:15 2014 UTC (10 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
recursive bump from x264-devel builld number change (i.e. API change).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 19 22:44:14 2014 UTC (10 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -8 lines
Update to 6.16.5:

Ren'Py Updated to 6.16.5

17 Dec 2013 01:00

Ren'Py 6.16.5 has been updated. The update can be downloaded from:

    http://www.renpy.org/release/6.16

Here's the history of updates to Ren'Py 6.16:

6.16.5.525: December 17, 2013
    This release adds back a missing file that is required to launch
    jEdit.
6.16.4.524: December 16, 2013
    This release fixed Android building support, the Replay function,
    and the scanning of save games. It also includes a number of
    improvements to the documentation.
6.16.3.502: November 29, 2013
    This release fixes a problem that could cause excessive texture
    memory usage. It also improves Android support in several ways,
    making it possible for Ren'Py games to appear in the tablet
    section of Google Play.
6.16.2.490: November 21, 2013
    This release adds new Spanish translations of the launcher and
    template game. It adds a new function that gets the mouse
    position, and fixes bugs, typos, and usability flaws in the
    launcher and Ren'Py proper.
6.16.1.409: November 9, 2013
    This release includes a number of bug fixes related to translation
    and running in non-ASCII directories, including a fix to the
    updater. It also includes documentation improvements.

Ren'Py 6.16 Released
6 Nov 2013 01:00

Ren'Py 6.16 has been publicly released. It can be downloaded from:

    http://www.renpy.org/release/6.16

Here's the release announcement:

On behalf of the Ren'Py team, I'm pleased to announce Ren'Py 6.16
"In the Arena". This release brings with it:

    Improved Android support, including the ability to build APKs
    from the launcher, support for Expansion APKs, and support for
    televison-based consoles like the OUYA.
    The ability to associate JSON information with a save file,
    and access that information in the load and save screens.
    Save file synchronization when Ren'Py is run from a shared
    directory.
    Support for a creator dumping the text of the game script, and
    for automatically playing appropriately-named voice files.
    Improvements to the gallery (including a new navigation overlay)
    and the music room (such as shuffle, loop, and single-track
    toggles.)
    A Japanese translation of the launcher, template, and documentation.

As well as a number of minor improvements and bugfixes.

This release has been brought to you by:

    javimat
    kyouryuukunn
    Koichi "vbkaisetsu" Akabe
    Daniel Luque
    Tom "PyTom" Rothamel

With thanks to antoinentx for improving support for international
directories, and everyone who contributed ideas, bug reports, and
feedback to Ren'Py development.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 20 22:42:38 2013 UTC (10 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -2 lines
Deal with different library path of ffmpeg010 to fix build.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 24 12:43:52 2013 UTC (11 years, 1 month ago) by ryoon
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Use devel/py-game instead.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 23 11:35:46 2013 UTC (11 years, 1 month ago) by ryoon
Branches: MAIN
Import py27-renpy-6.15.7 as games/py-renpy.

Ren'Py is a visual novel engine that helps you use words, images,
and sounds to tell stories with the computer. These can be both
visual novels and life simulation games. The easy to learn script
language allows you to efficiently write large visual novels, while
its Python scripting is enough for complex simulation games.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>