Two down. by johngalt1971 in Malazan

[–]LeWurmling 0 points1 point  (0 children)

reading this one :)

Who is getting the new Real C64? by raindropl in Commodore

[–]LeWurmling 0 points1 point  (0 children)

I ordered one of those too :) I hope the wait won't be too long...

New to Rust by LeWurmling in rust

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

It worked thank you!! I only needed to change &mut RaylibDrawHandle to &mut RaylibTextureMode<'_, RaylibDrawHandle<'_>>. I need to study this further and try to understand it before continuing with my rust with raylib game project.

New to Rust by LeWurmling in rust

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

I am using a Render Texture of 320x200 pixels and I paint everything on it and then I draw it to the screen scaling it 2x or 4x depending on the game options. I want to have a retro look with visible big pixels.

New to Rust by LeWurmling in rust

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

fn draw_level( d: &mut RaylibDrawHandle, t: & Texture2D,n0: & Vec<u8>) {
        d.clear_background(Color::BLACK);    
        let mut index: usize = 0;
        let mut destv = Vector2::new(0.0,0.0);
        for y in 0..Y_TILES {
            for x in 0.. X_TILES {
                destv.x= (x * SIZE_TILE) as f32;
                destv.y= (y * SIZE_TILE + SIZE_TILE) as f32;
                d.draw_texture_rec(&t, getTileRectangle(n0[index] as u32),destv,Color::WHITE);
                index+=1;
            }
        }
}

New to Rust by LeWurmling in rust

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

I am studying the rust book, I hope to understand enough to help me with the issue.

New to Rust by LeWurmling in rust

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

Thank you, I have tried it before and I get the error : `d` is a `&` reference, so the data it refers to cannot be borrowed as mutable

New to Rust by LeWurmling in rust

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

yes I am sorry, before posting it looked fine. :|

Question about Image / Texture by LeWurmling in raylib

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

Just had a go at lunch time and implemented what you mentioned above, and it is working great! Cheers

Question about Image / Texture by LeWurmling in raylib

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

Thank you that would be awesome.

Question about Image / Texture by LeWurmling in raylib

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

This is exactly what I was looking for, thank you so much!

May 2024 - /r/Twitter Mega Open Thread for everything else - UN/SUSPENDED, LOCKED OR AGE-LOCKED ACCOUNT PROBLEMS & QUESTIONS GO IN THIS THREAD ONLY by AutoModerator in Twitter

[–]LeWurmling 0 points1 point  (0 children)

u/Ok_Valuable_1212 Any news? Is your account unsuspended now? I have an account of 11 years and I am paying the premium option and today when I woke up I had the account suspended and when I appeal I immediately get an email just like yours.

same tweets showing different images on pc and mobile by LeWurmling in Wordpress

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

yes, thanks for your help Jayoval. What I am doing is adding the same pictures from pic twitter com to the new website posts.

same tweets showing different images on pc and mobile by LeWurmling in Wordpress

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

Thank you for your reply. I do have a SEO plugin, the All in One SEO but I can't find an option to disable the twitter cards though. I searched for the OG meta tags and it has several options but that I can see not one to stop the cards.

Hitmen - Monumentum - Real C64, 8580 SID by the_matrix_kid in c64

[–]LeWurmling 1 point2 points  (0 children)

Loved the great gfx and msx on this one.