ssh authontication not working
Today, I got an error with ssh authontication not working.
I honestly have no idea and will look into it.
At first, I read
because this page was introduced with the error text.
I always make a key by RSA.
But after OpenSSH 8.8 released, RSA signatures using SHA-1 hash have been discounted.
I change type of key to ECDSA and SSH authontication was successful.
Android <Service>
I 'm trying to connect Firebase Messaging Cloud.
Then, I had to write <Service> in AndroidManifest.xml.
I'll look into <Service>, Today.
According to this site, <Service> is used to perform operations on the background such as playing music, handle network transactions, interacting content providers etc.
Also, the service runs in the background indefinitely even if application is destroyed.
FCM is need to run in the background, so it is a one of the services.
Choose nice color for a slot game
I made a slot machine image, but I feel it's color is DUMP.
I'll choose good color in this site.
I like this one.
https://colorhunt.co/palette/ffd36efff56d99ffcd9fb4ff
I created several partterns and choose orange, green and blue pattern.
I put on shadow and light.
Most difficult thing is to put shadow on red ball (lever).
It made by Illustlator's find path and spilit function.
At first I tried to use the spilit function from an effect button on top tab, but could not get it to work.
However, I found the button with three dots in a row on the Propeties Tab, and using the split button, I was able to use function.
I would like to put text on a button next.
set a Unity .gitignore file
In Febluary I made an eye tracking game app for HoloLens.
One of my friends, Horomoto san also participated in the hackathon.
Horomoto san made Yubimoji HoloLens App and Release.
Having been Influenced by Holomoto san, I'm also interested in realease App!!
First I'm going to list the tasks.
1. Managing an eye tracking app on GitHub
2. Making stages of Level2 and Level3
- Learning Scene management system of MRTK
3. Changing Clear Effects
4. Find out how to release
Today I'll start on the github management task.
There are already a lot of commits in my project (455 commit), and some file's size are large.
What is a Git LFS
画像を含めると1GB以上あったので、Git Large File Storageを使ってみた | satoyan419.com
Without using gitLFS and continuing the operation, some files could not be commited and an error occured.
Some files may not need to be commited. I have not managed git ignore before, so I don't know if this is related, but I will take this opportunity to look into it.
It seems to be a git ignore file available for Unity.
I saved the .gitignore file in the same folder where the asset folder is located, and set up is completed.
According from the reference site, there are some files that should be excluded from git management like cashe , solution file which are made by Unity IDE.
Reference
https://nekojara.city/unity-gitignore
Making Slot Machine by Unity
I'd like to make a slot machine game until 8th May.
I have been learning how to use illustrator these days.
So I decide to make a slot game by 2D.
Today, I researched the way and found this site very useful.
https://tomoarch.com/2019/07/04/unity_how_to_make_slot_machine/
I did some tasks today.
・1.making a slot body and Reels by Illustorator
・2.making reel flow from top to bottom
- get an initial position of the reel
- lower the reel location along the y-axis
- when the top side of reel's position is same as the bottom of the slot machine, reel position is initialized
・3.when I tap a button, a reel stop
I made simple 2d pictures and refered to the site to understand codes for making a slot game.
A slot game has not been completed.
The other thing that needs to be fixed is.
1. Pictures which exported from Illustorator become crunchy
2. Add layers to adjust image overlap
Studying Illustrator for the first time
Today I learn Illustrator.
* shotcut
- Zoom in out : ctrl & alt etc
*tips
- Line
- Curve
- Circle,Star,
- Color
Shader Circle Drawing
When you draw a Circle, you need to measure dot's distance from origin of circle.
If distance from origin is longer than circle's radius, return 1(white),
if distance from origin is shoter than(when the radius is below 0.2) its radius, return 0 (brack).
fixed4 frag(v2f i) : SV_Target
{
fixed radius = 0.2;
fixed distanceFromOrigin = distance(i.uv, fixed2(0.2, 0.2));
return step(radius, distanceFromOrigin);
}
Reference