Comments (2)
Idea: Generate two surfaces, one for the glyph RGBA, another for character/line position for use with typewriter effects. This isn't perfect, characters that overlap will have issues, but it seems sufficient for common use cases.
The question remains if this actually ends up being faster than vertex buffers as we need to set/reset an extra shader and sample/write a lot of pixels.
from scribble.
Gonna put this on the nope
pile for now. This would require a substantial change to the way Scribble works internally, effectively creating two different parsers and renderers. Not feasible for now.
from scribble.
Related Issues (20)
- Is there a way to detect a specific character in a scribble text? HOT 1
- Scribble fails to use the default font when using a specific custom color and trying to render a specific string HOT 5
- Question / Feature Req: Arguments for effects tags HOT 1
- Text not displayed when alpha test is enabled HOT 2
- Is there a way to adjust the texts position relative to the draw origin for each alignment, per font? HOT 5
- Best way to set default line height for a font? HOT 1
- Scribble not drawing text in same location as Game Maker's native text drawing in 8.7.1 HOT 9
- Scribble_kerning_pair_set effecting the space after the kerning pair not the space between them in 8.7.1 HOT 4
- Chance Text Shaking & Letter Spacing HOT 1
- Small typo making scribble_font_set_valign_offset() use scribble_font_set_halign_offset's settings HOT 3
- Can't get scribble method to recognize spritefont HOT 1
- In-line pin commands crashing game? HOT 2
- Question about regenerator methods. HOT 2
- Text color tag unintentionally interpreted as BGR instead of RGB in OpenGL builds. HOT 5
- Illegal use of undefined crash on dev-9 branch HOT 2
- Compile Error - Malformed Delcaration of Static HOT 5
- Latest gamemaker version has murdered Scribble in its sleep (For HTML5) HOT 2
- Embedded sprites ignore scribble_font_set_valign_offset() and scribble_font_set_halign_offset() causing misalignment with text.
- When using brackets with typist and .sound_per_char(), sounds are still made for text that isn't there and it takes a while to show. HOT 2
- "In-line sprites cannot have more than 64 frames" warning occurs at >= 64 frames rather than >64 frames. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribble.