hamsterready / love-console Goto Github PK
View Code? Open in Web Editor NEWSimple Counter-Strike-like console for LÖVE games
License: MIT License
Simple Counter-Strike-like console for LÖVE games
License: MIT License
I would suggest it should just do nothing.
There is a bug when you change the width, the height the x or y externally
console.x = 100
console.y = 200
console.w = 1000
console.h = 500
There are a variety of ways to fix this, that's why I'm not fixing this myself.
One way would be to make them locals so that they are not visible outside of the file, but that is not very nice since you cant read them either. Other way would be to check if they have changed on console.update, or create methods like setPosition, getPosition, resize and getSize. I leave this to you
When using the cursor there is two issues:
The first being that when you push LEFT the first time nothing happens... Every press after is fine.
The second being that you cannot go before the first character in the string.
I am assuming I'm supposed to for example type:
lua print("something")
That doesn't work. I've also tried:
lua "print('something')"
lua {print("something")}
And it does not work. I tried that last one because the error is saying that pairs() is getting a string instead of a table.
After inputting a few commands, press UP to go through the history and it will skip the very last command inputted.
Attempting to update the MOTD will say that it is updated, but will not update the MOTD.
To enter that character I need to press shift but shift is detected as other key so it doesn't work.
I suggest using a function key (F2 maybe?)
Thanks for your hard work!
Not issuing a PR because my changes are scattered and some of them are opinionated, but I've made a bunch of changes over at shakesoda/love-console that might be of interest.
It's not all super clean and I didn't update the docs yet, but it's as I'm using it in my own projects. Thanks for the lib :)
Hey, I am making a mod for mari0 and now the game wont open after i added the commands. Mari0 runs on love 0.8
Right now if you make a mistake or want to change text, you have to erase what you have written. It would be nice to be able to navigate the text to place a missed character or whatever.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.