Day 79 of my #100DaysOfC
โ Studied chapter 4 of 3D Mathematics for Game Dev
โ Learned about quaternions and why theyโre often preferred over Euler angles and rotation matrices for representing rotations
โ Euler angles can cause gimbal lock (loss of a degree of freedom)
Day 78 of my #100DaysOfC:
Focused on shaders today.
Shaders are small programs that run on the GPU, using math to control how graphics are drawn (colors, lighting, shapes, effects).
Learned why shaders are so important in WebGL, and how JavaScript talks to the GPU by passing data
@alishata128 Thank you bro.
Yes... I plan to do that. But I wanna try and see how some other parts would play out... Like making the map modular(So I can update gameplay using custom maps with little changes).
Day 12 of my #100DaysOfCode(5):
First prototype for my retro-styled gangster game: Ghost Line. ๐ซก
No art yet โ just rectangles and systems.
Focused on gameplay + world simulation first.
Day 11 of my #100DaysOfCode(5):
My attempt... Used a 3D model as the lamp...๐ฅฒ๐๐๐
Used gopher's curve to create the chain๐ซ
Used verlet concept to implement the spring.๐
Used p5js for the eye movement to make them natural.
My implementation<->Inspo
Current features:
โข Player movement around the city
โข Collision system for buildings/obstacles
โข NPCs with idle/random movement states
โข Cars driving around the map
โข Functional minimap system
โข Dynamic day/night cycle every 30s with smooth ambience blending
Almost done with phase one.
All hand-coded... I learnt how to control the frame of my animations.
If I had used AI... It would've fixed it for me and I wouldn't even know that's something one should think about.
I wanna see how long I'll last.
Itโs changing how I structure game logic:
โข More modular
โข More scalable
โข Easier to extend without breaking systems
This feels like a foundation Iโll keep using moving forward in game development.