over 1 year ago - Strange Loop Games - Direct link

Transcript (by Youtube)


0s for letters hello everyone I'm going to
4s do a small demonstration for the in-game
7s camera feature
8s so now we have uh an item that is called
12s the handheld camera
14s once you use it you will go to this UI
19s that will allow you to take pictures as
22s easy as just you click and that's it you
25s already have a pic
27s there is a a lot of details on on this
31s task that I wanted to to include so for
34s example
36s um once we do the animation there is a
40s kind of smooth transition but it is even
43s better when I have a lot of zoom and I
46s remove the UI
47s uh it the idea is to avoid like uh
51s strong movement so it does a small Zoom
54s as it returns to the third person and it
57s happens the same to the first person the
59s UI is open once the camera is close
62s enough and to make a smooth transition
66s it will also come back to the original
68s Zoom once you close it
72s so as I mentioned you just need to open
74s it and you can just press click to take
78s a picture but we also have a bunch of
80s different parameters to control so the
83s one that I already mentioned is zoom you
85s can open the advanced UI mode of the
88s camera using the F key or the key that
92s you have assigned for building
94s so when I press F and I move the scroll
98s wheel I can zoom in and zoom out
102s a lot
103s and I can also control the zoom here if
106s I want I mean if I don't want to scroll
108s or I don't have a scroll I can also move
111s directly the the UI for that
113s you also have a second a kind of slider
118s here it's more like a roulette that
120s allow us to control the depth of field
122s distance so when I we need this on the
125s max value it is just disabled but when I
128s it starts to move in this value it
130s starts to move the
133s uh this is required for the for the blur
136s so here I'm going to get it very close
138s and take this picture I can also change
143s the aspect ratio so there is a an
146s animation when I update the aspect right
149s here and there are also two kind of
151s grids uh the one that is used for for
154s portrait and one that is used for
157s landscape that is based on the rule of
159s dirt
161s so I'm going to go to uh portrait mode
164s and adjust the right amount of
169s distance for the blur
172s I think kind of here and take a picture
178s as we can see also the preview is
181s updated based on the aspect ratio the UI
184s also changes as there is part of the UI
186s that is
187s updated based on the aspect right here
190s so it's going to to change
193s all the pictures that I take are
195s restored on my computer so I can press
198s Advanced options press click here this
201s is a bottom to take me to a folder where
204s I can see all the pictures that I have
206s been taking
208s if I decide that I don't want this
211s picture to use a space in my computer I
214s can just go to escape menu
216s and limit the amount of photos to zero
219s if I have five for this for example what
223s will happen is that the oldest photo
225s will be updated so I'm going to take
229s another photo of some tomatoes
234s and once I go back to the folder I'll
238s notice that there are now five photos
240s including the tomatoes and the oldest
243s ones that I already have there are
244s delete it
247s so I'm going to go back and select
249s eliminate as I prefer to to have all the
252s copies of the of the images
254s so there is
257s um
258s oh of course there is also the option of
260s saving the image
262s as I mentioned all the images are
264s already saved on your computer so this
266s safe means safe to the server
270s so once I do that an item is created
273s that I can use on a frame but it is also
276s sent to the server to to evaluate but
279s server that means I mean depends on the
281s support configuration
283s there is
285s um
288s there is a photo once I go to a folder
291s new that is like uh the same photo that
293s I took but like with a low quality that
297s is because when you are on the editor I
299s mean this is going only happen to
301s developers you can see the compressed
304s version of the image that's going to be
306s uploaded to the server so you can decide
308s what is the right
311s the max value of compression you want to
314s set based on the kind of result result
317s you want to achieve
319s so there is this is most of the of the
323s features but we also have another one
325s that is the flash flash makes more sense
328s on the night so I'm going to
331s change this tonight I can still take my
334s pictures
337s still move the deeper feel
340s but I can say like not this is too dark
344s let me
345s this like this is too dark I like it to
348s be
350s brighter so what you can do is just come
353s here and active The Flash
355s once I press play take the photo we can
359s see that it's uh liked that it's enabled
362s for a
363s small period of time the light hasidos
367s is on shallow like in real life so we
370s can see here that the light projects a
373s shadow on the on the objects and similar
376s to the flash on the real world it has a
379s limited distance it's not like an
382s infinite distance that the has light
386s and it works fine with the
389s depofill configuration
392s there is uh this is the the modern
395s camera where we can set these parameters
397s uh also we can see the the durability of
401s the of the camera we can also close it
404s with the
406s durability is displayed on that battery
410s literally I mean I can change the
411s gravity of this item so that's uh
416s Factory durability
419s 25 and if I open the camera it's now a
424s smaller value here because the
425s durability is reduced in the current
428s version durability is only reduced when
430s I save the photo if I don't save the
434s photo it doesn't reduce durability
436s because it's the only moment where the
438s RPC isn't this is something that needs
441s to be Wi-Fi for the next iteration as
443s the idea I'd be to consume durability
446s every time this use whether it is safe
449s or not
451s um so as I mentioned this is the camera
453s but we also have a different camera that
456s is called the old-timey camera the item
459s is not set up yet
461s so I created a system that allowed us to
465s test different cameras so I just need to
468s press Ctrl 1 and when I do that I get a
473s message a selected bintouch because I
476s switch to the other camera and once I
478s open it we can notice that it's really
481s different
482s first when I go to the advanced mode I
486s can change the aspect ratio this is an
488s old camera that uses this fixed value if
491s we don't want that that's really easy to
493s to modify on the proof up I can't change
496s the flash this is like those old cameras
499s that you can see in the movies that work
502s with a light that is really bright and
504s burns every time you take a picture so
506s you can really control it the flash is
508s always going to be on also the flash I'm
512s sorry this Zoom is way more limited I
515s can only assume just a little bit and
516s it's slower I it really hits like it
519s really feels like it is heavier heavier
523s okay so I take the pictures and we can
526s see that it has a flash on also the
528s flashes way is lower than the other
531s Flash
533s so this kind of parameters can be said
535s on the editor
538s so
539s those are done using something that is
543s called a scriptable object
545s so here we have these scriptable objects
547s for the modern camera and for the
549s vintage camera I'm going to
552s show the vintage cameras is one that we
555s are using
556s on the vintage camera for example has a
559s different amount of field of view
562s allowed than the modern camera that's
565s why it has a zoom but also the speed is
568s reduced that's why it feels like it's
571s lower to zoom in and out we can also
574s control
575s how much
577s time the flash is on what is the
580s intensity of The Flash for example I'm
582s going to say that really high value for
584s that I'm going to increase the duration
587s of The Flash I mean how many how much
590s time is the light on
592s how much time it takes to go off that's
596s really exaggerated but just for the test
599s so you come here and I take the picture
601s I can see that the light was on for a
604s lot of time and it also take a lot of
606s time to to come back to the normal value
610s so this is it uh going to display data
614s how to create different cameras and
616s configure them but this is most of what
619s the feature already includes
622s thank you everyone bye bye





Recent Eco Posts

about 15 hours ago - SLG-Dennis
3 days ago - SLG-Dennis