You are browsing as a guest. Sign up (or log in) to start making projects!

syntaxbrew_dev

@syntaxbrew_dev

Joined June 4th, 2026

  • 2Devlogs
  • 3Projects
  • 0Ships
  • 0Votes
A guy who devs
Open comments for this post

6h 20m 26s logged

I have started working on my new pseudo-3D raycaster project. Using raylib and C++, so far I have created the basic boilerplate code for the main window rendering loop for a basic 2D map. But most importantly during this first session, I created a basic, but working raycasting system which used an algorithm called DDA. (grid-traversal algorithm)To implement it, I worked through the underlying math and logic behind the algorithm, and went through some examples before implementing the code myself. I faced many bugs while coding it and it took a lot of trial and error before I finally had it working.. . The CastRay() function I created allows rays to traverse efficiently across grid cells, skipping over unnecessary positions and without missing any collisions. For the next dev log, I hope to have completed the actual Player object + movement + collision detection, and implement the 3D rendering loop that constructs the 3D scene using my CastRay function.

0
0
10
Open comments for this post

4h 8m 47s logged

Dev log #1

For the past 2-3 days I got started working on a python discord bot that I named Kairos, meant to be something that helps people (like myself) maintain or track their habits through the use of Discord pings, and streaks as a reward system.

I never actually built a Discord bot before :(, so I didn’t code much of the actual features yet. My first dev log is mostly about spending my time learning new tools/libraries such as discord.py, and SQLite (for storing user data).


Progress so far:

  • I made a new application on the Discord dev portal, configured bot intents and gave it administrator access to a test server
  • I created the initial discord bot boiler plate code, using classes and methods provided by discord.py: setup_hook, on_ready, on_message
  • I created a .env file to securely store and load the bot token
  • I implemented the aiosqlite library, that runs SQL commands to an SQLite database (.db file)
  • System that currently logs in new discord users who run a Kairos bot command for the first time
  • Created a command group for running slash commands related to managing user habits (only has 1 command currently tho)

Things I learnt:

  • Setting up a discord bot, and creating the boiler plate code
  • Usage of asynchronous functions
  • How bot slash commands are created and synced within discord’s command tree
  • First time using SQL, learning database concepts and understanding each of the clauses: INSERT, SELECT, FOREIGN KEY, was a bit confusing but I feel like I’m getting more of a grasp on it
0
0
1

Followers

Loading…