Details
-
Aboutvoid*
-
SkillsC, Vala, JS
-
LocationVictoria, Australia
-
Website
-
Github
Joined devRant on 5/5/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Who else is hitting up ludum dare this weekend?
I'm going to be cutting it fine with a late night dinner and jury duty but keen to get smashing in the morning1 -
Some days I feel like I really know what I am doing and today was not one of these days...
Working on a game engine using Vala and now using Raylib in the backend for rendering and input.
Wrote a VAPI for Raylib and when I was doing the 'Rectangle' struct... I made it's members integers when they are floats...
So this whole time; when using a camera everything would jitter like crazy.... because I was taking the transform which is all floats... rounding it then casting to an int only for the int to be cast into a float again....
Lo and behold; changing the members to floats and removing the rounding and casting makes everything silky smooth...
I have been debugging every bit of my current render loop trying to work this out when it was 100% unrelated.... I hate myself sometimes1 -
Yo it's been a while.
Forgot I still had devRant++ and thought it's high time I return :-)
Wonder how many of the oldies are still here5 -
Been a hot minute since I posted so let's get back into it!
Holy fuck developing on windows is so verbose and horrible!
I've been spoiled by using Meson on Linux and MacOS, going to visual studio to port my code is one of the most horrible experiences I have had with programming .-.
Why do people like visual studio so much, give me meson and vs code any day!!!4 -
So I have never done 'real' development on anything bar my current game engine Virgil, however found myself referring to C documentation for GLib and SDL2 rather than valadoc documentation.
Decided fuck it, I'm already converting everything to Vala's pointer syntax so I can have manual memory control, implementing stb_image and contemplating reworking SDL2_image into raw C so I'm not depending on extra libraries... Why do all this when I can just learn C and have more control.
Everything was going well and decided to buy the C programming language book, already knew about pointers and structs but ohhhhhhhhhhhhhhhhhhhh boi was I not ready for malloc .-.7 -
Either get some form of 'stable' release of my current gang engine or just grow a pair and finally teach myself C and go back to the drawing board and build my engine with complete portability.8
-
So a while ago I was complaining that tonnes of tutorials ignore CLI or alternative build methods like cmake or meson.
Was having trouble getting glew to link statically... Well only months fucking later do I realise that all I needed to do was add -DGLEW_STATIC to my fucking compiler arguments...
Why is past me such a fucking idiot! -
Well, guess I'm eating my shoe it seems .-.
(Trying to get font rendering working in SDL2 and for whatever reason, loading a direct TTF file works but as soon as I load it into RWops and pass to SDL, it suits the bed)9 -
So I'm bouncing between projects.at the moment and trying to get SDLTTF working and yeah, going well.
On that note. I think it's sleep time, 5 hours till I have to go pick up my series x .-.2 -
Me: oh cool, using OpenGL and GLFW makes it nice and easy to draw a triangle! Might look into using GLEW to start making things a bit more cross platform..
* 48 hours later *
Me: Oh joy, of course everyone uses fucking visual studio, why can't people just offer tutorials or documentation for people using meson or you know... literally anything else that isn't visual studio!
It's fairly easy for me to port C++ to C with my limited knowledge but fuck me am I sick of documentation and articles always targeting a single method...6 -
Been 122 days since my last post, since then I have been working on a game engine on Vala using SDL2 in my free time (Lol I have none)
Decided to put that on ice or just work on it when drunk (very common occurrence) and teaching myself C while working on a game or game engine, hopefully will have some quality rants inbound!3 -
Well after years of programming, I've hit my first runtime error that provides no info , the code fails prior to being able to generate an error so this is fucking fine :-)
And of course, the one time I need stack overflow, it tells you to initialise the class with data... Yet the class doesn't contain a fucking constructor... Smiley face7 -
Don't suppose anyone has experience with a pinebook pro?
Finally giving up hope on my chromebook and working on my game engine using the Linux VM built in is just getting slower and slower...
Trying to get some opinions before I put down $360 to get one imported .-.11 -
So currently working on a basic game engine written in Vala using SDL, fuck me it is such a rabbit hole!
Have a basic renderer and and was using the default SDL frame rate manager and decided to write my own so I could knock out using the SDL gfx package.
So now I have to create a window manager and renderer manager just to handle a basic framerate manager that isn't completely negated by VSYNC.... -
So.. You can't boot into recovery and wipe the partition? Like I have done multiple times on my macbook?22
-
All I want to do is open 1 fucking port... Why does my router have to make this so fucking difficult!25
-
Wait... Do people really think C is an accurate way to learn how a computer works... Please tell me it isn't so6
-
So how is everyone's day going, me?
Well i'm silently screaming because I just finished building a long class only to find out im trying to extend a compact class .-. -
Alright! so it's not much but my game engine is slowly gaining actually useful features, just finished implementing a basic sprite class that now renders basic sprites!
It may not be much but kind of proud at how well I have been able to just pick up Vala from scratch and start building something!12 -
PC component idea: a component that has build in memory that you can load up with a disc image file and have a software or hardware switch that you can use to have your BIOS detect whether it is in a DVD drive mode or Floppy risk drive mode so you can virtually mount ISO images for example and boot off of that device...
Niece but pls someone make7 -
Tonights goal, boot fuchsia on my old Pixel 2 XL... Wish me luck!
(Please prepare yourself for some very drunken posts about a bricked phone)6 -
So started building a game engine in Vala using SDL2, I have never built anything from scratch and decided to do it with no tutorials and just looking at the documentation on valadoc... So of course all of the pages for SDL2 and it's sub components show up fucking blank... Well isn't this dandy .-.
-
Stay safe all my other Aussie Dev friends currently getting pelted with all the storms in the east...
(Yes we are still on fire for anyone who isn't Aussie)13 -
So was walking through a display homes with my partner and found this gem...
Edit: I have no idea why this rotated1 -
On the toilet at work after dealing with a cunt of a customer, decided fuck it, let's install termux, nano and do some shit in both ways