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.
- GreyWolfXx
- Regular
- Posts: 68
- Joined: Fri Jun 05, 2015 1:00 am
- IRC Nick: Grey
- Skype: GreyWolfXxII
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
To my surprise, I fixed it. Thank you, though! You're always very helpful.
- Belgerum
- Regular
- Posts: 110
- Joined: Thu Nov 06, 2014 12:24 am
- Skype: belgerum09
- Soundcloud: Belgerum
- itch: Belgerum
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
It looks like one of the newer versions of renpy may have messed around with transformations, and might have bugged something in the 3D camera. I've tested the issue mentioned in this thread a number of times, but it only seems to happen while I'm using the 3D camera layers. Is there some way of getting this fixed?
viewtopic.php?f=32&t=40283
viewtopic.php?f=32&t=40283
-
- Newbie
- Posts: 23
- Joined: Tue Mar 22, 2016 8:03 am
- Organization: Seventh Heart Sudios
- Location: Romania, Bucharest
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
Hello!
The code works wonder, but I want to ask: What are those variables defining? What are the units of measure?
for example:
or
What exactly do these larger numbers mean? I've noticed how the camera moves and I'm able to map them mentally, but would like to know how much the camera is moving exactly. Mostly to make sure I'm avoiding going over the bound of an image.
The code works wonder, but I want to ask: What are those variables defining? What are the units of measure?
for example:
Code: Select all
layer_move("background", 5000)
layer_move("background2", 3000)
layer_move("middle2", 2100)
layer_move("middle", 2800)
layer_move("fore", 1500)
Code: Select all
$ camera_move(4600, 0, 700, 0, 0)
$ camera_move(-4600, 0, 700, 0, 20)
Re: 3D camera motion, Action Editor, Transform and Image Vie
Thank you very much for such an awesome feature! It's very useful and looks amazing. You did a great job!
I just have one question about scenes.
I made up a scene, using the camera function, but then there should be another scene, so I need to clear all previous images... but I can't. The previous scene is still here and I can't clear it up. Here is my script:
First scene:
Second scene that supposed to be here:
I know that "scene" function is clearing all images, but here it's doesn't work. Maybe here is some camera's function that helps to do it?
I just have one question about scenes.
I made up a scene, using the camera function, but then there should be another scene, so I need to clear all previous images... but I can't. The previous scene is still here and I can't clear it up. Here is my script:
First scene:
Code: Select all
label first:
$ camera_reset()
$ all_moves(camera_check_points={'y': [(-1433, 0.0, 'easein'), (-249, 5.43, 'easein')], 'x': [(-984, 0.0, 'easein'), (5746, 5.43, 'easein')]}, layer_check_points={'forward': [(1394, 0.0, 'easein')], 'middle': [(1848, 0, None), (1869, 5.43, 'easein')], 'background': [(1848, 0, None), (1849, 5.43, 'easein')]}, subpixel=True, **{})
show 01_john onlayer middle:
subpixel True xpos 0.55 ypos 1.0 xanchor 0.5 yanchor 1.0 rotate None
parallel:
xpos 0.59
easein 5.43 xpos 0.65
show 01_lady onlayer middle:
subpixel True xpos 1.01 ypos 1.0 xanchor 0.5 yanchor 1.0 rotate None
show 01_bg onlayer background:
subpixel True xpos 0.5 ypos 1.0 xanchor 0.5 yanchor 1.0 rotate None
parallel:
xpos 0.5
easein 5.43 xpos 0.52
show 01_spots onlayer forward:
subpixel True xpos 0.58 ypos 0.8 xanchor 0.5 yanchor 1.0 rotate None
parallel:
xpos 0.49
easein 15.0 xpos 0.45
parallel:
ypos 0.8
easein 15.0 ypos 0.84
Code: Select all
label second:
scene bg forest at panoramright
show lady normal at center
with fade
U "Blablabla"
- Belgerum
- Regular
- Posts: 110
- Joined: Thu Nov 06, 2014 12:24 am
- Skype: belgerum09
- Soundcloud: Belgerum
- itch: Belgerum
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
The scene function clears all other images ON THE LAYER. Without the 3D camera, everything would normally take place on the Master layer, but with this code, you're using a number of others. you'll have to manually hide them all using code like:
Code: Select all
hide 01_john onlayer middle
hide 01_lady onlayer middle
hide 01_bg onlayer background
hide 01_spots onlayer forward
Re: 3D camera motion, Action Editor, Transform and Image Vie
Aaaah, I see! I never used layers before, so I didn't know how to work with it. Thank you very much, you helped me a lot!Belgerum wrote:The scene function clears all other images ON THE LAYER. Without the 3D camera, everything would normally take place on the Master layer, but with this code, you're using a number of others. you'll have to manually hide them all using code like:
Code: Select all
hide 01_john onlayer middle hide 01_lady onlayer middle hide 01_bg onlayer background hide 01_spots onlayer forward
- Arowana
- Miko-Class Veteran
- Posts: 531
- Joined: Thu May 31, 2012 11:17 pm
- Completed: a2 ~a due~
- Projects: AXIOM.01, The Pirate Mermaid
- Organization: Variable X, Navigame
- Tumblr: navigame-media
- itch: navigame
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
If you have a lot of images and layers to clear at once, you could also try using a loop like this:
Code: Select all
python:
for layer in config.layers:
renpy.scene(layer=layer)
Complete: a2 ~a due~ (music, language, love)
In progress: The Pirate Mermaid (fairytale otome)
On hold: AXIOM.01 (girl detective game)
In progress: The Pirate Mermaid (fairytale otome)
On hold: AXIOM.01 (girl detective game)
- noeinan
- Eileen-Class Veteran
- Posts: 1153
- Joined: Sun Apr 04, 2010 10:10 pm
- Projects: Ren'Py QuickStart, Crimson Rue
- Organization: Statistically Unlikely Games
- Deviantart: noeinan
- Github: noeinan
- Location: Washington State, USA
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
Wow, this looks so cool! I can't believe I didn't see it before now
Re: 3D camera motion, Action Editor, Transform and Image Vie
Great plugin! I was just wondering if there were any functionalities for repeat motions?
-
- Newbie
- Posts: 5
- Joined: Wed Apr 12, 2017 5:16 pm
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Vie
How do I go about moving only one layer like the first example video? I registered the layers as the instruction stated, but using camera_move shifts the entire screen (background included).
Apologies if the answer is straightforward, but I couldn't find exactly what I needed to do in the document.
Apologies if the answer is straightforward, but I couldn't find exactly what I needed to do in the document.
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Updated.
I improved keymap compatibility.
I improved keymap compatibility.
- Attachments
-
- camera.zip
- (26.16 KiB) Downloaded 757 times
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Thanks for the update! I haven't checked it out yet, but I'm really excited to!
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- KouhaiChan
- Regular
- Posts: 30
- Joined: Thu Feb 22, 2018 2:33 am
- Projects: He Heard Me
- Deviantart: KouhaiChan1
- Soundcloud: KouhaiChan
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
I am super confused, I am new to renpy and coding in general. What exactly is this for? Thanks.
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Do you have any ideas about new function or change for camera&viewer?
- akakyouryuu
- Regular
- Posts: 162
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: 3D camera motion, Action Editor, Transform and Image Viewer
Fixed the problem Spline interpolation didn't work.
- Attachments
-
- camera.zip
- (27.55 KiB) Downloaded 274 times
Who is online
Users browsing this forum: Ahrefs [Bot], Andredron