Page 5 of 7

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Mon Mar 30, 2020 3:54 am
by WoLoLoiK
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

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Mon Mar 30, 2020 7:50 pm
by akakyouryuu
Fixed below errors.
The error happens when register_3d_layers isn't called.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Tue Apr 14, 2020 2:15 pm
by Duchess
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:

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')]})
image below showing the background and sprite in an incorrect position.
screenshot0001.png

correct placement:
screenshot0008.png

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Wed Apr 15, 2020 12:55 pm
by akakyouryuu
Hello, Sunasrose.

Do you use latest version?
If so, That problem also happens with Sat Feb 24, 2018 version?

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Apr 30, 2020 7:24 am
by bambino358
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.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Apr 30, 2020 8:12 am
by akakyouryuu
Hello, bambino358.
Can you upload sample game or video?

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Apr 30, 2020 9:21 am
by bambino358
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

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun May 03, 2020 4:25 am
by akakyouryuu
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

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun May 03, 2020 7:29 am
by bambino358
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

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun May 03, 2020 9:41 am
by akakyouryuu
OK, I found the problem and fixed.

Thank you.

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Tue Jun 02, 2020 6:56 am
by layerto
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!)

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Jun 11, 2020 2:04 am
by akakyouryuu
plan1. define functions

Code: Select all

    def move_to_left():
            camera_relative_move(-100, 0, 0, duration=.5)
plan2, define moves list [(x, y, z, rotate, duration, warper), ...]

Code: Select all

        init python:
            move1=[(0, 0, 0, 0, 0, "linear"), (100, 0, 0, 360, .5, "linear")]

        label sample
            camera_moves(move1)

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Thu Aug 20, 2020 10:07 am
by VimislikArt
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!

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sun Aug 30, 2020 6:06 pm
by layerto
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!

Re: 3D camera motion, Action Editor, Transform and Image Viewer

Posted: Sat Sep 05, 2020 11:31 pm
by akakyouryuu
>> 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.