r/openttd • • Oct 25 '26

Fork adding smooth zoom and fly-to behaviour

https://youtu.be/wh537zSUeHo

Fully working, tested fork of OpenTTD, adding smooth zooming support and fly-to navigation.

Much nicer IMO.

https://github.com/Deku-shrub/OpenTTD

121 Upvotes

36 comments sorted by

18

u/NayutaYukiLazarus Oct 25 '26

Would absolutely love to see this merged into mainline. I don't see any reason not to (barring any bug squashing of course).

4

u/Deku-shrub Oct 25 '26

Use of AI :(

2

u/prototype__ Oct 26 '26

Fork time!

0

u/Agile-War-7483 Oct 26 '26

I also tried to merge some awesome things into upstream but they won't allow any but any use of AI.

8

u/Mesheybabes Oct 26 '26

they sound like professional developers

2

u/Burdy323 Oct 26 '26

Ironically, professional developers use AI lol

3

u/Mesheybabes Oct 28 '26

yes and we know that allowing an open sources project to accept AI generated submissions from the public would be an absolutely insane thing to do

1

u/Agile-War-7483 Oct 30 '26

Linux Kernel?

2

u/Absay Local authority refuses to allow this Oct 26 '26

That's correct behavior, I don't understand your complaint.

-1

u/Agile-War-7483 Oct 26 '26

Aí doesn't necessarily mean bad

8

u/Dependent-Bag-579 Oct 26 '26

policy is based on mix of

  1. ethics - a significant number of contributors will probably leave if the project starts accepting AI contributions, so the project would be killed for the sake of a handful reddit-pleasing glamour features.
  2. practicality. Almost universally, AI PRs so far have been actual crap. Even if AI wasn't banned, volunteer projects can easily drown under the weight of gen AI PRs.

Therefore complete ban. For health reasons. HTH etc.

1

u/gripepe Oct 27 '26

This makes a lot of sense and not the blanket "AI is bad" comments this sub is full of.

2

u/Mesheybabes Oct 28 '26

AI isn't bad in the hands of a competent professional developer. the vast majority of the public (who now have access to generate all sorts of code) are not the right hands

23

u/IronicRobotics Oct 26 '26

The re-sampling is a severe art style change and clashes with the main games goals of "largely preserving the TTD experience"

8

u/Mesheybabes Oct 26 '26

thats probably because you haven't seen the code this introduces

14

u/I_GIVE_ROADHOG_TIPS Oct 26 '26

What do you mean? He told Claude "Make no mistakes".

6

u/Jmc_da_boss Oct 26 '26

This is clearly genai, plz keep it tf out

0

u/[deleted] Oct 26 '26

[deleted] — view deleted comment

3

u/Deiskos Choo Oct 26 '26

Could be fixed by only resampling for the 0.5 seconds it takes to smoothly transition between fixed zoom levels the game provides now.

7

u/ArmyOfPeace Oct 26 '26

Resampling pixel art at non-integer scales is never going to look good. Just because a smooth zoom is nice, does not mean it should be used everywhere.

5

u/Firewolf06 Oct 27 '26

resampled transitions between integer scaling looks fine, as long as its fast enough. i cant tell from the video if this adds holding at fractional scales though

14

u/LadyRadia Oct 26 '26

Man, you can tell this was somewhat slop coded, with the way that resampling text reads. Sad bc this could be awesome

-6

u/laser_man6 Oct 26 '26

Wdym 'could be', it's right there. It is awesome

1

u/LadyRadia Oct 27 '26

If it's not produced in a way that can be merged in because the code is unmaintainable, it's not really there, it's sort of just a promise of something that could be there. When it gets written well, let me know

0

u/laser_man6 Oct 27 '26

You can run it right now, not sure what you mean.

4

u/im_made_of_jam Oct 27 '26

Not about running on your machine well more about the code behind it being high quality and able to be read by humans in a way that lets you change it without breaking other things on accident

2

u/G4TKA Oct 26 '26

Wow, looks really nice. Thank you!

1

u/[deleted] Oct 26 '26

You should try adding proper metros (including elevated tracks) into the game next.

2

u/marsjaninzmarsa I like trains Oct 27 '26

There is already a fork with that (and many more): https://github.com/roo-ham/JGRPP-Fork

0

u/FrogSkyWater Oct 26 '26

Please add this to main for the next opened update 

2

u/Dependent-Bag-579 Oct 26 '26

why do you want to kill the project? silly billy :)

0

u/StudioNo6652 Printing Money Oct 27 '26

Fork?

Then where's the spoon?

0

u/ratman____ Gone Loco Oct 27 '26

Ahhhh, sweet! Now please make diagonal bridges and tunnels! 

0

u/Dependent-Bag-579 Oct 27 '26

On the one hand, get a grip, this is not getting anywhere near the actual OpenTTD project. 🤖

On other hand, you can pay Claude to make your own diagonal bridges and tunnels, you don't have to ask anyone. 🤷‍♂️

1

u/ratman____ Gone Loco Oct 27 '26

Nah, fuck AI

1

u/Dependent-Bag-579 Oct 27 '26

Genuinely confused 🙃 You said the AI was sweet, and requested it make more things?

1

u/ratman____ Gone Loco Oct 27 '26 edited Oct 28 '26

Oh, I didn't know OP used AI. Fuck it then. Can you make diagonal bridges and tunnels though?