Gizmo199 / fauxton3D

A 2.5d Sprite-Stacking engine for Game Maker Studio 2
Other
46 stars 3 forks source link

feature request: camera matrices as public member variables of Camera? #3

Closed Aravind-Sundararajan closed 3 years ago

Aravind-Sundararajan commented 3 years ago

it looks like currently these are locally scoped in camera_update() using var, but maybe people want to use these to project things without building twice. not too sure if this will cause problems

Gizmo199 commented 3 years ago

Hey thanks for the suggestion! I really need to do a camera overhaul for sure.and it wouldn't cause any problems at all! You can make them local if you wish and it shouldn't mess with anything. :)

On Mon, Sep 27, 2021, 12:11 AM Aravind Sundararajan < @.***> wrote:

it looks like currently these are locally scoped in camera_update() using var, but maybe people want to use these to project things without building twice. not too sure if this will cause problems

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Gizmo199/fauxton3D/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCQVRS4C6DPWZMYJBWLUPDUD74HDANCNFSM5EZVQG7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Aravind-Sundararajan commented 3 years ago

Thanks for the reply. I'm playing with a couple things since last time, largely dealing with the html5 release and how tile layers are drawn and some minor things like automating the scaling of fauxton_texcubes. what I've hacked together right now is to render tile layers to surfaces otherwise you get strange disappearing tiles. If I think I have any considerable changes, I'll make a pull request

Gizmo199 commented 3 years ago

Sounds good. Yeah GMs internal tile system doesn't work well with orthogtaphic cameras when rotated/ pitched since GM internally occluded pixels outside the fulcrum. I think perspective cameras work though. Anywho glad you got some stuff working! I am working on some shadow casting stuff now so hopefully in the future that can be implemented.:)

On Sat, Oct 2, 2021, 9:43 AM Aravind Sundararajan @.***> wrote:

Closed #3 https://github.com/Gizmo199/fauxton3D/issues/3.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gizmo199/fauxton3D/issues/3#event-5398305452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCQVRTHLMI7ZN3MFMVZPI3UE4LCRANCNFSM5EZVQG7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.