First devlog
I started this project before I made the website, so i will just share what i have done so far for: Crayzzy Marblez 4.11.3-pre-alpha. This is probably going to be one of the larger dev logs I do...
General Information
Crayzzy Marblez is being built on Godot 4.6.2 (originally 4.7, but I accidentally downgraded so i stuck with 4.6.2)
and i made that decision purely because im
shit at most other languages and engines, so Godot was a natural fit for me
(not to say that it's any lesser, I absolutely love it compared to THE HELLSCAPE THAT IS UNREAL ENGINE AND UNITY).
To go on a tangent, I have been interested in the game development scene for a relatively long time (compared to my old age of 20) for about 9 years now,
and I distinctly remember going through the tedium of creating a slenderman-esque game in Unity 4 around 2017. After some more on and off projects that i've honestly forgotten about
i moved to UE4 in 2021, where I attempted to make an overly ambitious sci-fi game, after being inspired by Elite: Dangerous and Star Citizen. As you could probably guess, that didn't take off,
and I have since sworn off purely C-family programming languages.
Anyway, i decided to use the compatibility renderer,
so there is as less of an entry barrier to the game as possible, hardware wise. I recently bought a raspberry pi 4 1GB version, and it is my end goal to get this game to run on that.
My current idea I have for the game's price is currently no more than $5 on platforms like steam
(which means 30 sales to make me happy!)
What's been done so far...
at the current moment, there are no custom made assets for tracks specifically since the game is at, in its current state,
a glorified prototype. However, that's not to say it's going to remain like that forever! I have currently
commissioned someone to make assets for the game, and the prospects look promising!!
In the style of "retro" or "Y2k", I decided to render the game in 320x240px resolution in hand with the below code to give a low-colour PS1-ish look. (obviously, the assets would play a large part in selling that aesthetic though)
This first bit of code would be dithered colour quantisation:
shader_type canvas_item;
uniform sampler2D screen_texture: hint_screen_texture, repeat_disable, filter_nearest;
const float dither[16] = float[16](
-4.0, 0.0, -3.0, 1.0,
2.0, -2.0, 3.0, -1.0,
-3.0, 1.0, -4.0, 0.0,
3.0, -1.0, 2.0, -2.0
);
void fragment() {
vec3 screen_color = texture(screen_texture, UV).rgb;
int x = int(FRAGCOORD.x) % 4;
int y = int(FRAGCOORD.y) % 4;
int index = y * 4 + x;
float dither_offset = (dither[index]/8.0);
vec3 quantized_color = floor((screen_color*255.0) / 8.0 + dither_offset) / 31.0;
This second bit of code is basically pixelation of the screenspace:
shader_type spatial;
render_mode unshaded;
uniform int pixel_size = 4;
uniform sampler2D SCREEN_TEXTURE : source_color, hint_screen_texture, filter_nearest;
//To make the mesh cover the camera always.
void vertex(){
POSITION = vec4(VERTEX.xy, 1.0, 1.0);
}
void fragment(){
float x = float(int(FRAGCOORD.x) % pixel_size);
float y = float(int(FRAGCOORD.y) % pixel_size);
x = FRAGCOORD.x + floor(float(pixel_size) / 2.0) - x;
y = FRAGCOORD.y + floor(float(pixel_size) / 2.0) - y;
ALBEDO = texture(SCREEN_TEXTURE, vec2(x, y) / VIEWPORT_SIZE).xyz;
}
I'd argue the effect comes across pretty well. Although the first shader may not be the best I still think it sells the idea of what I'm trying to convey and as a general philosphy I don't really care whether it's "wrong", as long as it works and it looks good to my own conscience.
Here are some images showing what it looks like:
Screenshot of the main menu
Screenshot of the debugging level
another screenshot of the debugging level
Trials and errors
- Laptops :((
The bane of my existence is laptops because, to be frank, I have no idea what I'm doing. At the current moment laptops are pissing me off because of the battery performance modes on laptops and also thermal throttling (i think). This is still an ongoing issue, though at the moment I am somewhat rectifying this with a makeshift fix of allowing a keybind to enable/disable low_processor_mode; though this will most likely cause more performance issues in the future.
- Marble tunnelling :((
If you don't know what tunnelling is, it's basically when one collision object goes so fast towards another, that it clips through. So, obviously that's an issue because you don't want to fall through the map if you're going too fast. To rectify this issue, I increased the tick rate to 66 Hz from 60 Hz, and to be honest I don't have a real reason, it was just trial and error and it seems to work just fine at the moment. Whether this is the correct long-term solution, I don't know, but for now I'm happpy with it.
Perpetual to do list
- Research and development of networking
- Level designs
- Bug fixes and OPTIMISATION!!!
keep checking back here for more updates, and thanks for following the development of Crayzzy Marblez :)