I am using urn language bindings and i can not find setViewport and set-viewport in it.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
olegharput
Prole
Posts: 5
Joined: Sun Apr 11, 2021 8:29 pm

I am using urn language bindings and i can not find setViewport and set-viewport in it.

Post by olegharput »

Where is setViewport (set-viewport) in these bindings, I can not find it.
User avatar
zorg
Party member
Posts: 3469
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: I am using urn language bindings and i can not find setViewport and set-viewport in it.

Post by zorg »

I'm assuming you found this: https://gitlab.com/Lignum/urn-love2d-bindings from potentially here: viewtopic.php?t=84811

It's not really something that's official or anything, although the commit dates do imply it should support at least version 11.0

Anyway, considering there's only two methods with viewport in them (Quad:setviewport and Quad:getViewport), idk if they need to be defined in the bindings or not, considering they are part of Quad objects, and from what i've seen, no specific object-type bindings exist in that library, only for the "global" methods in the love module tables.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests