Giter Club home page Giter Club logo

highrestext_plus_pixelart_viewport_bubble's Introduction

HighResText_plus_pixelart_viewport_bubble

Godot example showing high resolution text with pixel art using viewport (animated example with speech bubble)

This is not my own work.

I created this repository from code found at the "Download here" link below found on the page: https://www.reddit.com/r/godot/comments/fd33b4/pixel_perfect_rendering_with_high_resolution_ui/

If you really want a pixel perfect game scene, as far as I know the "viewport stretch mode" plus "ViewportContainer+Viewport" is still the best option. If you instead go with 2D stretch mode, setting your scene up is much easier, but you also loose the pixel perfectness in your game scene. Just the other day I made this little demo for u/MungMoongYi in this discussion here. You can download the viewport version here, and the stretch mode 2D version here. I also made a version with moving UI elements and pixel perfect rendering, you can download here. I did not manage to add a camera and still keep the bubble at the player location though, maybe someone else can help with that. I would also like to know the solution. If you >don't need HD UI that moves with the player, adding a camera is no problem. You place the camera as child of the world instead of your character and tween to the player position or enable "smoothing", however this will most likely result in Sprite jitter >you can read up on it here. Apparently there has been a fix implemented but unfortunately it seems like it is scheduled for the 4.0 release and not the 3.2.1 maintenance release.

highrestext_plus_pixelart_viewport_bubble's People

Contributors

richardnheck avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

boyquotes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.