I am New to Rust and come from another programming language. here are my dependencies I am having a problem with the manual type hinting when I l ...
I am New to Rust and come from another programming language. here are my dependencies I am having a problem with the manual type hinting when I l ...
I want to draw a lot of cells based on 2d array in rust piston library. I try to edit hello world example and have function like so: fn render(&m ...
Like Normal, Busy or Text Select. I want to create a desktop Windows applcation and I need to change its icon. ...
I am trying to render text in a separate function using piston2d / piston_window. I am able to draw text just fine, but I can't figure out how to pass ...
hi i have a function like that and a HashMap and the probleme is i want to iter and edit the HashMap but i have too much erro with a clone the code co ...
i want to create something like a square of square like a a square composed of 4 small squares (4x4) for a Tetris I know how to create a simple square ...
I wanted to try to make a game in Rust using Piston. This is the first time I have used this library. I took this code from the official doc to test i ...
Piston has draw_2d function, and it can accept results from the function image which returns image made from the texture. There is a 'transformation' ...
I am relatively new to rust and I was trying to build a game using an online tutorial when I encountered this error. Can someone please tell me what t ...
I was trying to create an application that opens a full-screen window using the piston crate. How can I retrieve the physical screen size in pixels ...
I've developed a maze game using Piston in Rust in order to teach myself graphics/UI programming. The game mostly works fine, but when I run it with a ...
Using the Piston image crate, I can write an image by feeding it a Vec<u8>, but my actual data is Vec<Rgb<u8>> (because that is a lo ...
I'm using Piston's image crate, with this code: However I get this error: error[E0599]: no function or associated item named `from_vec` found for ...
I am trying to write a separate function to render text using piston2d. Taking the hello_world.rs example, I am trying to extend that to allow me to r ...
I was following a tutorial on how to setup the piston library, but when I tried to compile it I got the following error message: error[E0658]: slice ...
I am using the Piston image package to generate images. I have a hyper web server, from which I would like to serve dynamically-generated images. ...
I am trying to write a game in Rust using piston_window(0.77.0) library. Starting from their hello world example I thought I would start by separating ...
Consider two programs, and the difference between them: $ diff flashes/src/main.rs doesnt_flash/src/main.rs 22,23c22 < < let mut i = 0; --- ...
All the examples I've seen for getting access to a texture object is to do something like the following: This gives the impression that in order to ...
Piston's graphics library provides a function for drawing a line between two points, but nothing for more than two. How do I efficiently draw a path t ...