Pipes: spritesheet, quads

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
darkfrei
Party member
Posts: 227
Joined: Sat Feb 08, 2020 11:09 pm

Pipes: spritesheet, quads

Post 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?
Attachments
pipes-b3.png
pipes-b3.png (8.55 KiB) Viewed 1315 times
2021-04-10T16_53_08.png
2021-04-10T16_53_08.png (23.21 KiB) Viewed 1315 times
pipes-02.love
(11.6 KiB) Downloaded 40 times
eliddell
Prole
Posts: 20
Joined: Sat Dec 10, 2016 6:38 pm

Re: Pipes: spritesheet, quads

Post 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.
User avatar
darkfrei
Party member
Posts: 227
Joined: Sat Feb 08, 2020 11:09 pm

Re: Pipes: spritesheet, quads

Post 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.
Attachments
Screenshot_20210410-234459.png
Screenshot_20210410-234459.png (16.32 KiB) Viewed 1273 times
User avatar
darkfrei
Party member
Posts: 227
Joined: Sat Feb 08, 2020 11:09 pm

Re: Pipes: spritesheet, quads

Post by darkfrei »

On this device pixels with area 3x3 are really too big.
Attachments
Screenshot_20210411-032419.jpg
Screenshot_20210411-032419.jpg (128.33 KiB) Viewed 1268 times
togFox
Party member
Posts: 167
Joined: Sat Jan 30, 2021 9:46 am

Re: Pipes: spritesheet, quads

Post 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?
User avatar
Ref
Party member
Posts: 693
Joined: Wed May 02, 2012 11:05 pm

Re: Pipes: spritesheet, quads

Post 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.
Attachments
plumber.love
touch to select, touch to place
(59.37 KiB) Downloaded 42 times
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests