Page 1 of 1

Pipes: spritesheet, quads

Posted: Sat Apr 10, 2021 2:56 pm
by darkfrei
Hi all!

I've made a small program with pipes, but now all pipes are hardcoded.

Is it possible to make it better?

Re: Pipes: spritesheet, quads

Posted: Sat Apr 10, 2021 6:46 pm
by eliddell
"Better" doesn't really tell us what you're trying to accomplish here. Do you mean you want to procedurally generate the pipe network, so that you'll have a different arrangement of pipes each time? That's certainly possible.

Re: Pipes: spritesheet, quads

Posted: Sun Apr 11, 2021 12:41 am
by darkfrei
How to know minimal possible resolution? Right now one pixel has area 3x3 pixels, but it looks to big for this device. I need to make one line less or set the pixel to area 2x2 pixels.

Re: Pipes: spritesheet, quads

Posted: Sun Apr 11, 2021 1:26 am
by darkfrei
On this device pixels with area 3x3 are really too big.

Re: Pipes: spritesheet, quads

Posted: Sun Apr 11, 2021 12:19 pm
by togFox
So ... make them smaller?

I'm not sure we are seeing the same problem you are seeing. You must have some idea or vision but we don't know what that is.

I think the pipes look good.

Are you talking about scaling on different devices?

Re: Pipes: spritesheet, quads

Posted: Tue Apr 13, 2021 1:24 am
by Ref
Off topic but does seem that everyone has to make an assembly type script.
Was going to add a save feature but came to the conclusion that it wasn't worth saving.
(TV was really quite poor so just a programming exercise.)
Touch to select, touch to place.