Comments (3)
May i suggest instead of porting to SDL2, port to latest libtcod(which uses SDL2 under the hood already). Android port uses some tricks to work with Android devices which I think is redundant for the desktop (drawing to texture instead of screen directly e.g.). I already ported to newer libtcod and changes required is surprisingly minimal: https://github.com/bilgincoskun/brogue-libtcod-sdl2-fix . Note that there are 2 minor bugs I am aware of (double pressing numlock keys, not pressing non-alphanumerical keys requires shift (like '/'+shift -> '?) but I think It would be still easier to fix these instead of implementing a new console.
from broguece.
Thanks for the comment! I actually have started on an SDL2 backend and have basic functionality there - it's not much work, and I'd prefer to not depend on libtcod when we hardly use any code from it. I'm drawing the font bitmaps to the screen, just like libtcod does, instead of rendering TTF glyphs.
from broguece.
I see, OK then. Using bitmap certainly makes sense for the authentic look.
from broguece.
Related Issues (20)
- Let bloodwort pods cure ailments HOT 5
- Make negate temporary? HOT 1
- Lunge attack not triggered agains invisible enemy when telepathy is on
- Priority Issue of && and ||
- Another Priority Issue of && and II
- do resurrect altars duplicate phoenixes?
- Lumenstones in hand should contribute to final score HOT 2
- Allied kraken can't learn abilities HOT 1
- 1.12.0 - too much loot HOT 2
- i18n support
- Light level scaling wrong when using DEPTH_ACCELERATOR
- Unable to run 1.12 on macOS Big Sur 11.3.1 HOT 18
- Difficulties logging into Webbrogue. HOT 2
- Game crashes on seed 53438409 when generating depth 8 HOT 2
- Make monkeys even more annoying? HOT 1
- Change "treble" to "triple" HOT 2
- Dead code in architect.c
- Does finish walls actually do anything here? HOT 1
- Seed catalog header says "Dungeons unchanged since CE 1.9" but 1.11 and 1.12 different HOT 5
- Charms of protection above +18 have unpredictable effects
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 broguece.