Comments (4)
ill check it when i get some time
from console_engine.
One of the first goal of the project is to have a procedural approach, I didn't intend to do events due to me being unskilled at first (I learned Rust with this project) and also due to potential variable access problems.
For example, how can I give you access to your variables in the event function ? We may need to define something in the middle to allow that. 🤔 This may require async
properties to the project
Do you have by any chance any experience in it ?
By the way, we capture inputs when the engine is idling, so only on wait_frame
😉
from console_engine.
Hello @razaqq !
I made a pull request that add some sort of event handling. Can you take a look at it and tell me if it's resolving your issue, please ?
from console_engine.
The pull request has been merged! see Release 2.1.0
from console_engine.
Related Issues (12)
- Code Review Needed !
- How to see errors from console engine? HOT 5
- Emojis causing trouble HOT 14
- Bump crossterm version to 0.25
- in ConsoleEngine::init, a target_fps > 1000 results in a division by 0 error HOT 3
- What about Backslash? HOT 1
- On windows 10 you can't restart snake example if you hit left wall HOT 1
- Bold pixels HOT 3
- `is_key_released` gets triggered when the key isn't being released HOT 1
- Add support for Crossterm's FocusGained, FocusLost and Paste
- Is it possible to stop the buffer from overflowing if you re-draw the entire screen? HOT 4
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 console_engine.