AdamsLair / duality-companion

A community-developed Duality plugin implementing experimental or commonly requested features.
MIT License
3 stars 5 forks source link

Infinite scrolling renderer #3

Closed SirePi closed 7 years ago

SirePi commented 7 years ago

Since I managed to do the CheckeredBackground for diagnostics, I was wondering if it would be helpful to implement a generic infinite scrolling SpriteRenderer, that could be used as background for a game.

Properties that it should expose:

Should I go for it?

ChristianGreiner commented 7 years ago

Yes, please!

The default SpriteRenderer of Duality supports already this feature in some ways, but some properties and stuff are not designed for this purposes, so you have to implement your own renderer with some tweaks...

I used this infinite scrolling renderer for my space game to display an infinite star background.

Maybe we could name this renderer like "PlaneRenderer" or something like that...?

Original Issue https://github.com/AdamsLair/duality/issues/325

SirePi commented 7 years ago

Ooh, didn't know there was an issue about this.. alright, will do

mfep commented 7 years ago

Just tried it, very smooth so far!

SirePi commented 7 years ago

Fixed one final issue. Still to document the properties. Closing anyway.

SirePi commented 7 years ago

Reopening to implement some of the missing requirements described in https://github.com/AdamsLair/duality/issues/161

SirePi commented 7 years ago

Forgot to close..