Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
henvu50
- Veteran
- Posts: 322
- Joined: Wed Aug 22, 2018 1:22 am
-
Contact:
#1
Post
by henvu50 » Sun Aug 21, 2022 1:28 pm
How do you rotate and skew an Image or Movie in 3D space?
So I want to show a background image, but I don't want that to be rotated/skewed, just the foreground Image or Movie I'm showing.
I checked out this link:
https://www.renpy.org/doc/html/3dstage.html , but I can't get any of that code to work.
Code: Select all
camera:
perspective True
label dosomething:
show picture_of_car at center:
matrixtransform RotateMatrix(45, 0, 0)
The above code always turns the picture into a 2 pixel high, horizontal line.
-
Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
-
Contact:
#2
Post
by Ocelot » Tue Aug 23, 2022 12:01 pm
This happens when you omit camera statement or execution bypasses it. I suspect that you are jumping to the label dosomething, missing camera statement execution. Move camera statement inside label.
< < insert Rick Cook quote here > >
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]