Cazka / diepAPI

An API for https://diep.io
MIT License
15 stars 8 forks source link

Add a pseudo console as a rudimentary API for player interaction #26

Closed nopeless closed 1 year ago

nopeless commented 2 years ago

Listening for keys is a good idea but having a text input seems even better.

nopeless commented 2 years ago

Thanks for your review

nopeless commented 2 years ago

Meanwhile, can we discuss about the UserConsole API? I would like to add some sort of global command handler. I would like some future visions from you so we can coordinate our projects

nopeless commented 2 years ago

image this is how I use it

nopeless commented 2 years ago

@Cazka I'm looking at the canvas kit api right now

Is there a way to "dump" every canvas call? So I can map it

nopeless commented 2 years ago

@Cazka bump

Cazka commented 2 years ago

This looks cool but why do we need this in diepAPI. can't you just use the dev console?

I think that this is not relevant enough to be in diepAPI and should be implemented entirely as an userscript similar to entity_debug_tool.user.js

nopeless commented 2 years ago

currently you use keys to toggle modules. I think future projects can benefit from an html based in game console. it is certainly more maintainable than having multiple user scripts trying to use a letter in your keyboard