Current Version on
Visit the chat
What would be useful is the ability to select a clipping area, so that anything outside this area isn't displayed. This is somewhat different to viewports as a clipping area doesn't modify the current origin of graphics.
On the shoulders of giants.
You can do this with POLYVECTOR. OK, it' not as easy as selecting a rect (or other shaped) area, but it's not that much harder.
I came. I saw. I played.
VIEWPORT cant been used. Yes its does move x/y to its top corner on that VIEWPORT, but you can easy calculcate that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 -
Indeed, VIEWPORTS cant always be used as multiple overlapping viewports arent always allowed (OpenGL is very weird about that, although DirectX can be fine with it)
Premium User :)
: 2015-Oct-14 by Schranz0r
On a Tilemap?
You can draw a 1.000.000 tiles map with a simpl trick:
(btw. Old Code)
simply draw things on the Screen not the outside one!
AMD Ryzen 7 3800X email@example.comGHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard
: 2015-Oct-15 by MrTAToad
No, this is for objects on a pseudo 3d track, where multiple objects can overlay each other (which is why VIEWPORT wouldn't work).
I have been testing VIEWPORT, and another problem has cropped up with it, namely fractional parts (or rather a width or height < 1), mess up the positioning
Terms and Rules
Go Up ▲
SMF 2.1.3 © 2022
ProCurve Theme Made By : TwitchisMental