Android Day 7 Why calling Greeting multiple times don’t work?
Android Day 7 Why calling Greeting multiple times don't work? As someone who is new to composable, they may encounter some problem like this: class MainActivity : ComponentActivity() { override…
Android Day 6 Make an offline kotlin playground
Android Day 6 Make an offline kotlin playground If you want to practice kotlin with out android app running. You can do that in a "no activity project" like this:…
Unity 3D Game Dev Day 7: Why sometimes make bridge using the terrain brush make a huge hole to the bottom?
Unity 3D Game Dev Day 7: Why sometimes make bridge using the terrain brush make a huge hole to the bottom? Sometimes when we make bridge using the terrain brush…
Unity 3D Game Dev Day 6: Quick Mobile Migration of Our Game.
Unity 3D Game Dev Day 6: Quick Mobile Migration of Our Game. I just use my other project's joystick code and make it on the canvas. Change the input system.…
Unity 3D Game Dev Day 5: Why use _ in variable?
Unity 3D Game Dev Day 5: Why use _ in variable? class ExampleClass { int count; public void UpdateOurCount(int count) { this.count = count; } } this.count will be refer…
Unity 3D Game Dev Day 4: How to make a score system using onCollisionenter and make it show on the canvas?
Unity 3D Game Dev Day 4: How to make a score system using onCollisionenter and make it show on the canvas? using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public…
Unity 3D Game Dev Day 3:how to use onCollisionEnter to change the material of the object,how to change using serilizedfiled to have multiple material drag-ed in, and change according to onCollisioEnter?
Unity 3D Game Dev Day 3:how to use onCollisionEnter to change the material of the object,how to change using serilizedfiled to have multiple material drag-ed in, and change according to…
Android Day 5 Make Animation
Android Day 5 Make Animation package com.williamjiamin.greetingsfromwilliam import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.animation.core.Spring import androidx.compose.animation.core.animateDpAsState import androidx.compose.animation.core.spring import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import…
Unity 3D Game Dev Day 2: Collider and Rigidbody
Unity 3D Game Dev Day 2: Collider and Rigidbody Collider can serve as trigger or , as the name suggest, collider. But in order for collider to work(you actually bump…
Unity 3D Game Dev Day 1: Intro
Unity 3D Game Dev Day 1: Intro There is a quick demo of player control using Unity's old Input system: using System.Collections; using System.Collections.Generic; using UnityEngine; public class OriginalPos :…