#
Cleaned up everything a bit and added a floor. All still in debug colors. Next will be to create proper UV coordinates to enable texturing.
Personal Blog about anything - mostly programming, cooking and random thoughts
Cleaned up everything a bit and added a floor. All still in debug colors. Next will be to create proper UV coordinates to enable texturing.
Library to get a framebuffer for directly drawing to the screen.
Combined the Delaunay triangulation with the Bezier curves to create the "walls" of a room. Next step will be figuring out how to create surfaces between curves.
Result of some recreational graphics programming:
I've just one-shotted an iterator with a lifetime in #rust. Is this what it feels like when the language finally clicks?
#gamedev progress on hotel game:
Not sure if I should be proud or embarrassed about this #rust code :D
// mark building tile
if let Some(mut r) = match game.mouse_action {
    MouseAction::BuildGrill => Some(Room::new_grill()),
    MouseAction::BuildStairs => Some(Room::new_stairs()),
    MouseAction::BuildBedroom => Some(Room::new_bed_room()),
    MouseAction::BuildCorridor => Some(Room::new_corridor()),
    MouseAction::BuildRestaurant => Some(Room::new_restaurant()),
    MouseAction::BuildWineCellar => Some(Room::new_wine_cellar()),
    _ => None,
} {
    // rendering code
}
    Insights from the weekend:
--release.#gamedev progress on unnamed hotel game: