Pipes: spritesheet, quads

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
darkfrei
Party member
Posts: 1168
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 4143 times
2021-04-10T16_53_08.png
2021-04-10T16_53_08.png (23.21 KiB) Viewed 4143 times
pipes-02.love
(11.6 KiB) Downloaded 146 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
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: 1168
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 4101 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
darkfrei
Party member
Posts: 1168
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 4096 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
togFox
Party member
Posts: 763
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

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?
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
Ref
Party member
Posts: 702
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 151 times
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 18 guests