3D camera motion, Action Editor, Transform and Image Viewer
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.
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.
Re: 3D camera motion, Action Editor, Transform and Image Viewer
heyyo!
this is my first time trying out something like this hahaha
so, i copied all the files to our game directory, and this error occurred
While running game code:
File "game/camera.rpy", line 3, in script
if getattr(store, "_3d_layers"):
File "game/camera.rpy", line 3, in <module>
if getattr(store, "_3d_layers"):
AttributeError: 'StoreModule' object has no attribute '_3d_layers'
how do i fix it?
this seems to be a very useful plugin and id love to be able to play with it hahahaha
this is my first time trying out something like this hahaha
so, i copied all the files to our game directory, and this error occurred
While running game code:
File "game/camera.rpy", line 3, in script
if getattr(store, "_3d_layers"):
File "game/camera.rpy", line 3, in <module>
if getattr(store, "_3d_layers"):
AttributeError: 'StoreModule' object has no attribute '_3d_layers'
how do i fix it?
this seems to be a very useful plugin and id love to be able to play with it hahahaha
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Fixed below errors.
The error happens when register_3d_layers isn't called.
The error happens when register_3d_layers isn't called.
- Attachments
-
- camera.zip
- (28.32 KiB) Downloaded 295 times
- Duchess
- Regular
- Posts: 61
- Joined: Sat Aug 08, 2015 7:26 pm
- Projects: Garden of Seif; Old Lucid9 Creative; Content Writer for VN Game Den
- Organization: Foxdrift Studios
- itch: foxdrift-studios
- Location: Las Vegas
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hi! I'm trying to figure out an issue I am having with the 3D camera. I have no errors, and clicking at a regular speed plays the animations smoothly. However, if I skip or rollback, the sprites and backgrounds will be in a completely different and incorrect position (completely irrelevant to the coded coordinates). Sometimes even transparent even though the alpha is set to 1.
Again, I don't have any error codes... this is simply something that happens only when rolling back or skipping.
Here is the code for one of my animations where the issue occurs:
image below showing the background and sprite in an incorrect position.
correct placement:
Again, I don't have any error codes... this is simply something that happens only when rolling back or skipping.
Here is the code for one of my animations where the issue occurs:
Code: Select all
$all_moves(camera_check_points={u'y': [(-591, 0.0, u'linear'), (2947, 0.25, u'linear')], u'x': [(2217, 0.0, u'linear'), (3413, 0.25, u'linear')]})
correct placement:
Duchess aka Suna back in the olden days.
https://foxdrift-studios.itch.io/garden-of-seif Just Making a visual novel about romance, assassins, a badass MC, and an anti-fairy godmother.
https://foxdrift-studios.itch.io/garden-of-seif Just Making a visual novel about romance, assassins, a badass MC, and an anti-fairy godmother.
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hello, Sunasrose.
Do you use latest version?
If so, That problem also happens with Sat Feb 24, 2018 version?
Do you use latest version?
If so, That problem also happens with Sat Feb 24, 2018 version?
-
- Regular
- Posts: 26
- Joined: Sat Apr 27, 2019 7:17 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hi,
thank you for this great script.
I have one problem with it (don't know if it's bug or I'm doing something wrong).
When I rotate 3D camera lets say I rotate 5 degrees. Rotation automatically jump to number like -5640 and it rotates like crazy.
I'm usng renpy 7.0.0 so I don't know if it's because I'm using older version.
thank you for this great script.
I have one problem with it (don't know if it's bug or I'm doing something wrong).
When I rotate 3D camera lets say I rotate 5 degrees. Rotation automatically jump to number like -5640 and it rotates like crazy.
I'm usng renpy 7.0.0 so I don't know if it's because I'm using older version.
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hello, bambino358.
Can you upload sample game or video?
Can you upload sample game or video?
-
- Regular
- Posts: 26
- Joined: Sat Apr 27, 2019 7:17 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
When you start it press shift+P. Then when I try to rotate 3D camera it doesn't work how it probably should.
I use RenPy 7.0.0
I use RenPy 7.0.0
- Attachments
-
- tutorial.zip
- (27.83 MiB) Downloaded 283 times
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
I opend your tutorial project with renpy 7.0.0.196, But I can't find problems.
https://www.youtube.com/watch?v=kb8UO01 ... e=youtu.be
https://www.youtube.com/watch?v=kb8UO01 ... e=youtu.be
-
- Regular
- Posts: 26
- Joined: Sat Apr 27, 2019 7:17 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
At the begining when you use ratation tool. Rotate for example 20 degrees and press play. Rotation number will jump to 5500.
Example:
shift+p
3D camera
time 1s
rotate 20
press play
everything else is default
Example:
shift+p
3D camera
time 1s
rotate 20
press play
everything else is default
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
OK, I found the problem and fixed.
Thank you.
Thank you.
- Attachments
-
- camera.zip
- (28.33 KiB) Downloaded 337 times
- layerto
- Regular
- Posts: 44
- Joined: Sat Jun 09, 2018 6:25 am
- Completed: Learn To Code RPG (Art, https://freecodecamp.itch.io/learn-to-code-rpg), Sinsations(18+) (colourist, https://whitehand.itch.io/sinsationsvn)
- Tumblr: layerto
- Deviantart: layerto
- Location: Ontario, Canada
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hello! This is the first time I'm using your camera. Thank you for sharing it. I have a question.
Is it possible to define specific camera_move coordinates into a variable/function? I would like to use the same camera movement multiple times and want to make the process faster. If there is a better suggestion to make this faster, I would appreciate it.
Thank you!
(Post edited to remove my last question, which was a typo on my end. Sorry!)
Is it possible to define specific camera_move coordinates into a variable/function? I would like to use the same camera movement multiple times and want to make the process faster. If there is a better suggestion to make this faster, I would appreciate it.
Thank you!
(Post edited to remove my last question, which was a typo on my end. Sorry!)
Portfolio | Lemmasoft Thread | Twitter | Instagram
Currently looking for work and commissions are open!
Email: layerto@hotmail.com
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
plan1. define functions
plan2, define moves list [(x, y, z, rotate, duration, warper), ...]
Code: Select all
def move_to_left():
camera_relative_move(-100, 0, 0, duration=.5)
Code: Select all
init python:
move1=[(0, 0, 0, 0, 0, "linear"), (100, 0, 0, 360, .5, "linear")]
label sample
camera_moves(move1)
- VimislikArt
- Regular
- Posts: 90
- Joined: Sun Mar 06, 2016 6:50 pm
- Projects: King of the Cul-De-Sac
- Deviantart: vimislikart
- itch: vimislikart
- Location: Rochester, NY
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
First off, let me just say that it's AMAZING that you've been updating the camera this entire time! I downloaded it almost 3 years ago to mess around with, and I just finished my first game that HEAVILY relied on creating animations using your camera to setup keyframes for my images! Absolutely fantastic!
With the support of Live2d, I'm hoping that will replace my use of the camera with something a bit more robust, but I still plan on using the camera as a regular part of my toolset.
The only big issue I've had with the camera is how much of the screen it obscures when it's in use - are there any variables I can manipulate in the .rpy files to give the bars some level of transparency, or change the color of the interface? This would help cases where I have smaller assets that need to be placed in the lower half of the screen.
Otherwise, again, thank you so much for maintaining this camera system!
With the support of Live2d, I'm hoping that will replace my use of the camera with something a bit more robust, but I still plan on using the camera as a regular part of my toolset.
The only big issue I've had with the camera is how much of the screen it obscures when it's in use - are there any variables I can manipulate in the .rpy files to give the bars some level of transparency, or change the color of the interface? This would help cases where I have smaller assets that need to be placed in the lower half of the screen.
Otherwise, again, thank you so much for maintaining this camera system!
- layerto
- Regular
- Posts: 44
- Joined: Sat Jun 09, 2018 6:25 am
- Completed: Learn To Code RPG (Art, https://freecodecamp.itch.io/learn-to-code-rpg), Sinsations(18+) (colourist, https://whitehand.itch.io/sinsationsvn)
- Tumblr: layerto
- Deviantart: layerto
- Location: Ontario, Canada
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Hello! Thank you so much for your help last time. I managed to make my game using your camera and it's been a great help. I look forward to using it more!
I have one question. I was exporting my game for release, but I can still access the camera developer screen (Shift+P). Is there a way I can turn this off so that a player won't see the camera screen by accident?
Thank you!
I have one question. I was exporting my game for release, but I can still access the camera developer screen (Shift+P). Is there a way I can turn this off so that a player won't see the camera screen by accident?
Thank you!
Portfolio | Lemmasoft Thread | Twitter | Instagram
Currently looking for work and commissions are open!
Email: layerto@hotmail.com
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
>> VimislikArt
Use Shift+I(style inspection) and rewrite camera.rpy directly.
https://www.renpy.org/doc/html/develope ... inspecting
>> layerto
Set config.developer as False.
Use Shift+I(style inspection) and rewrite camera.rpy directly.
https://www.renpy.org/doc/html/develope ... inspecting
>> layerto
Set config.developer as False.
Who is online
Users browsing this forum: Ahrefs [Bot]