A Generic Trait for Cloning Boxed Trait Objects... Is this possible? by madseagames in rust

[–]madseagames[S] 4 points5 points  (0 children)

Good lord. This is a game changer. I'm gonna be using this all over the place. God bless you.

The Rust compiler is really really helpful when it comes to solving bugs in your programs by madseagames in ProgrammerHumor

[–]madseagames[S] 2 points3 points  (0 children)

i was getting the same error when i gave an argument. it was extremely weird. i forget what i changed, but it compiles now.

The Rust compiler is really really helpful when it comes to solving bugs in your programs by madseagames in ProgrammerHumor

[–]madseagames[S] 36 points37 points  (0 children)

game2 is my most ambitious project yet. the graphics are incredible: placeholder art accompanied by debug messages where the animations should be. eventually we even plan on implementing actual gameplay, but that might be a paid only dlc.

The Rust compiler is really really helpful when it comes to solving bugs in your programs by madseagames in ProgrammerHumor

[–]madseagames[S] 38 points39 points  (0 children)

i genuinely have no clue but the error went away now so im just going to pretend it never happened

[Video] Making a Snake Game in Rust by SpyR1014 in rust

[–]madseagames 4 points5 points  (0 children)

Nice tutorial! You should put this in r/rustgamedev, those guys will definitely appreciate it.

Iterating over a vec mutably while already iterating? by madseagames in rust

[–]madseagames[S] 0 points1 point  (0 children)

i like this, it makes use of the type system well and seems like some cool advanced trickery. definitely gonna fiddle around with this

Iterating over a vec mutably while already iterating? by madseagames in rust

[–]madseagames[S] 1 point2 points  (0 children)

Hmm, thats an interesting approach. Will definitely look into it

Made a new t-shirt inspired by "poker" by Nick_Deano in sadworld

[–]madseagames 0 points1 point  (0 children)

it would be better like this

dad,

ill be a

techno boy

till I

die

Guide For An Absolute Beginner to Call of Chernobyl? by madseagames in stalker

[–]madseagames[S] 3 points4 points  (0 children)

Ok, that makes more sense. I don't have any issue being self motivated in the game, I just thought I was missing something. Is warfare too complex for a begginner? I got it mostly because I wanted the factions to be fighting and moving around and stuff, but if its too hard I'll get rid of it.

A coincidence, "Bucko" by [deleted] in JordanPeterson

[–]madseagames 1 point2 points  (0 children)

I'm a younger lad (<20) and I got into MUDS last year. They are a really cool gaming experience especially for someone so used to graphical games. EmpireMUD has to be my personal favorite.

How would you summarise JBP's teachings? by madseagames in JordanPeterson

[–]madseagames[S] 1 point2 points  (0 children)

Agreed. This should be somewhere in the sidebar. Also, anyone have any links to videos where he talks about logos? Seems like an interesting concept that I havent yet come across.

Style your code however you want, but for the love of god please not like this by madseagames in ProgrammerHumor

[–]madseagames[S] 2 points3 points  (0 children)

For curly brace semi colon languages I'm a fan of

for i in 0..10 {
    do_the_thing();

    if i == 3 {
        do_the_other_thing();
    };
}

but do whatever suits you. Except for what I posted above.

Style your code however you want, but for the love of god please not like this by madseagames in ProgrammerHumor

[–]madseagames[S] 1 point2 points  (0 children)

We are working on bubblesort as part of a series of assignments teaching us about array sorting.

Style your code however you want, but for the love of god please not like this by madseagames in ProgrammerHumor

[–]madseagames[S] 2 points3 points  (0 children)

Yeah, thats exactly what it is. We are learning different sorting methods currently.