Game
Split Mind
8 years ago

Camera (Nightmare)


— English Ver. —
Hi! “The Story Maker” here, or what remains of me (hard weeks D:)

This entry will revolve around the game camera, and the nightmares I have with it, so is a somewhat more technical entry.
First let’s see the final result of a week of hard work. (By the way, plenty of WIP assets and lacking animations.)

5d0a0fd9e7876.gif

It could be improved of course, but I am pretty happy since is the first camera script I’ve made!

Behind that smooth movement, or at least what I think is smooth enough, are a couple of things running behind the scene, telling the camera where to move at what pace.

Let’s see this other gif with a little extra info.

5d0a0fe25a87a.gif

Here you can see three different points, which the camera uses to position itself. The orange and red dots are there so that one of them is always on the same spot as the player, or on its way to him, whether it targets one or the other depends if the player is going left or right, so it always leaves more screen towards that direction.
The yellow dot is for vertical movement, if the player surpasses it, it moves so that it is at the center of the player height.

All this is controlled so it doesn’t reacts to suddenly to movement, or too quickly when it moves, so players don’t get dizzy or anything. It’s a hard thing to make it feel nice and good, and I am sure that I will work on it when we advance more in the development, but for now we think is good… not like the other attempts… it was hard getting here.

But yeah, so far, so good!

See ya!

— Spanish Ver. —
¡Hola! Aquí “The Story Maker”, o lo que queda de mí (semanas duras D:)

Esta entrada girará entorno a la cámara del juego, y las pesadillas que tuve con ella, así que es una entrada un poco más técnica.
Primero, veamos el resultado final de una semana de duro trabajo. (Por cierto, hay bastantes cosas en desarrollo aún, y no hay animaciones)

5d0a0fe8baef9.gif

Se puede mejorar claro, ¡pero estoy bastante contento ya que es el primer script de cámara que hago!

Detrás de eso suave movimiento, o al menos yo creo que es lo suficientemente suave, hay un par de cosas detrás, diciéndole a la cámara donde moverse y a que velocidad.

Veamos esto con otro gif que tiene más información.

5d0a0fec083b3.gif

Ahora se pueden ver tres puntos diferentes, la cámara usa esos puntos para posicionarse.
Los puntos naranja y rojo están para que uno de ellos siempre esté en el mismo lugar que el jugador, o moviéndose hacia él, si usa uno u otro depende de si el jugador va hacia la izquierda o hacia la derecha, para que siempre tenga más visión en la dirección en la que mira.
El punto amarillo es para el movimiento vertical, si el jugador lo sobrepasa, se mueve de manera que esté en el centro de la altura del jugador.

Todo esto está controlado de manera que no reaccione muy bruscamente al movimiento, ni vaya muy rápido cuando se mueve, para que los jugadores no se mareen. Es algo complicado de hacer que se sienta bien, y estoy seguro de que trabajaré en ello cuando avancemos más en el desarrollo, pero por ahora pensamos que está bien… no como los anteriores intentos… fue difícil llegar hasta aquí.

¡Pero sí, por ahora todo bien!

¡Nos vemos!



1 comment

Loading...

Next up

This Satuday we invite to watch another #speedpainting of our artist Daniel Faiad.

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

So

i may or may not make an full art of some person or i may just leave this like that-

Path of Kami: The Evolution of the Lore

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

The whole squad is here!

Interested? Follow me!

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Showing off player 2 😎

What do you think?

a drawing I did because I was bored😪. But I love how it turned out.😊