Pipes: spritesheet, quads

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
darkfrei
Party member
Posts: 1204
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 4933 times
2021-04-10T16_53_08.png
2021-04-10T16_53_08.png (23.21 KiB) Viewed 4933 times
pipes-02.love
(11.6 KiB) Downloaded 209 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: 1204
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 4891 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
darkfrei
Party member
Posts: 1204
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 4886 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
togFox
Party member
Posts: 828
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?
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
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 199 times
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests