Hey 👋 I made my portfolio a little retro desk you can play with.
Floppies are projects, cartridges are real games, and yes the lamp works.
Come say hi: c-na.dev
Read the features here: discourse.threejs.org/t/my-p…
Thanks @mrdoob & @bruno_simon 🙏
Day 24/100 #100DaysOfCode #threejs #buildinpublic
As I mentioned yesterday, moving delete btn to object controller was a good idea, so, here we are 🫴
Day 23/100 #100DaysOfCode #threejs #buildinpublic
Rotating access was a bit tricky, so wanted to make it easy.
Now, I’ve added object control and rotation control is included too
i’m thinking to move remove object btn to object control too 🤔
what do you think?
Day 22/100 #100DaysOfCode #threejs #buildinpublic
Today, I decided to change “on long press” behavior
it was rotating the object, but, I think it’s better to move objects by holding them
and rotate, by clicking on them.
Day 21/100 #100DaysOfCode #threejs #buildinpublic
Since all items were facing the same direction, I decided to enable the rotation of objects by holding down the mouse button on them.
It’s day 20 of #100DaysOfCode challenge
I made good progress in 20 days, I think!
xitter.cf/c_na_dev/status/177111…
Hey guys!
I’m exited to let you know that I’m joining to the #100daysofcode challenge with #threejs
I want to work on a #Farm game
Today was the first day of the challenge and was working on custom grid system and custom pivot controller
stay with me🤝
Day 20/100 #100DaysOfCode #threejs #buildinpublic
Thanks to @RLG_App for his lock icon idea, Now it will show a lock icon on disabled items after adding them into the scene!🔒
plus, now, you can remove objects from the scene by dragging on trashcan btn🗑️
Day 19/100 #100DaysOfCode #threejs #buildinpublic
Today, I added limitations to adding items to the scene.
Currently, you can only add one barn into the scene.
Day 18/100 #100DaysOfCode #threejs #buildinpublic
Now, we can add items to the scene by dragging them into the farm, from the bottom section.
Doesn’t that look cool?
Day 17/100 #100DaysOfCode #threejs #buildinpublic
I spent today working on adding a HUD into the game.
It took some time to find assets that looked good, but I finally got it sorted.
Day 16/100 #100DaysOfCode #threejs #buildinpublic
Now, we are able to add objects wherever we want
But for now it is randomly choose the object
For future i have to add ui to pick a specific object to add🤌
Day 15/100 #100DaysOfCode #threejs #buildinpublic
I was trying to add camera control, but after coding for 3 hours, I couldn’t make it clean!
After 5 minutes of research, I found a camera control called MapController in drei, which does exactly what I wanted!
Day 14/100 #100DaysOfCode #threejs
I noticed sheep and pigs are thirsty, so I decided to add a lake!
As you can see sheep is happy! 😍
Day 13/100 #100DaysOfCode #threejs
Hey guys!
In yesterday’s update, we had fences, but you could place objects outside of them because there was no logic in place.
Now, everything is functioning properly, and users can’t place objects outside of the fences.
Day 12/100 #100DaysOfCode #threejs
Today, I worked on implementing fences with the intention of restricting users to placing objects only within their confines.
follow to see the result 😁
Day 11/100 #100DaysOfCode #threejs
Today, I’ve added a pig alongside the sheep so they can chill together,
and there’s a fenced yard!
I don’t know what I should do tomorrow 😂😵💫.
Day 10/100 #100DaysOfCode #threejs
We got sheep! 🐑😂
They can move around!😂😂
@Hesamx made them really cute!
They need walking and eating animations
but it’s a task for another day!




