Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EsportToys
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
EsportToys
3y ago
I had written a Windows script for adding three-finger drag[0] that I use daily, perhaps it could provide some inspiration. Basically, it is an independent subscriber to RawInput messages that only keeps track of whether or not to send thre
32.
▲
by
EsportToys
3y ago
Fun fact: every videogame on Windows is potentially a userspace keylogger if you let it run in the background while, e.g. browsing the web etc. Basically, any application that uses the Raw Input API can request to receive raw device events
33.
▲
by
EsportToys
3y ago
With the TPMouse script, I implemented the activation shortcut as [LShift][RShift][C (trackball mode) / G (grid mode) / Q (quit)], which I felt had a nice balance between deliberateness and easy-to-reach (since you are using it wi
34.
▲
Framerate-agnostic damped spring model, in 16 lines of Lua
(esporttoys.pages.dev)
3 points
by
EsportToys
3y ago
|
0 comments
35.
▲
by
EsportToys
3y ago
if you are only every gonna use critical damping, you can do something like: function crit_response(dt,pos,vel,rate) local dissipation = math.exp(-dt*rate) local disspatePos = pos*dissiptation local disspateVel =
36.
▲
by
EsportToys
3y ago
I posted a much more concise derivation (and implementation, in just 16 lines) on HN a while back but didn't gain much traction: https://news.ycombinator.com/item?id=35899215 Here are the 16 lines in full: functio
37.
▲
Timestep-independent mass-spring-damper in 16 lines of Lua
(esporttoys.pages.dev)
3 points
by
EsportToys
3y ago
|
0 comments
38.
▲
Modernizing RTS Camera Controls
(github.com)
3 points
by
EsportToys
3y ago
|
1 comments
39.
▲
by
EsportToys
3y ago
The automatic edge-panning of topdown games is a behavior inherited from 90s RTS games that has remained largely unchanged. While it is sufficient for ball-mouse era casual players, it is actually a detrimental mechanic largely avoided by c
40.
▲
by
EsportToys
3y ago
AutoIt is also great especially for quickly prototyping GUIs. I recently built a proof-of-concept for a modernized method of interacting with RTS cameras[0], which unfortunately could not be achieved with frameworks like SDL due to their ab
41.
▲
by
EsportToys
3y ago
I came across this very interesting bit of history while looking for an image to illustrate my RTS camera control concept[0] as an analogy. It's interesting how a lot of the wartime "computational drudgery" frequently employ
42.
▲
Plotters (RAF)
(en.wikipedia.org)
1 points
by
EsportToys
3y ago
|
2 comments
43.
▲
A more natural way of controlling RTS cameras
(github.com)
1 points
by
EsportToys
3y ago
|
1 comments
44.
▲
by
EsportToys
3y ago
I posted this yesterday but got blocked by the automated filter, attempting again. I had also made a post on the gamedev subreddit that spurred a discussion with many interesting counterpoints raised: https://old.reddit.com/
45.
▲
by
EsportToys
3y ago
In games like League of Legends, novice players are often derided for poor camera control leaving unnecessary screen real estate for where there is no danger, while obscuring the vision for where the threats are. I believe that this tendenc
46.
▲
Show HN: A more natural camera control scheme for RTS games in the modern era
(github.com)
1 points
by
EsportToys
3y ago
|
1 comments
47.
▲
Ask HN: Does your Windows Precision Touchpad work the same way?
2 points
by
EsportToys
4y ago
|
0 comments
48.
▲
by
EsportToys
4y ago
I dunno, I find AHK's syntax really hard to wrap my head around, whereas AutoIt is simplistic enough that I never had to even bother with the forums in the first place, the built-in helpfile basically has everything I needed.
49.
▲
by
EsportToys
4y ago
Oh, interesting, I wasn’t aware of how the community were, since their documentation is quite thorough and self-contained that I’ve never had the need to check their forums (on top of the language being quite straightforward). I learned ent
50.
▲
by
EsportToys
4y ago
I personally use AutoIt a ton as a super fast way to quickly prototype GUIs. It's basically a really simple entrypoint for WinAPI. Shameless plug: my script for emulating a trackball with your keyboard [0], and my tray app for quickly
51.
▲
by
EsportToys
4y ago
Does AutoIt count? https://github.com/EsportToys/MouseTray
52.
▲
by
EsportToys
4y ago
Pretty much all the time, whenever I'm not on my ThinkPad keyboard I use it in place of the trackpoint when I need to make small text selections etc without moving my hands away from the homerow.
53.
▲
Show HN: TPMouse - A Virtual Trackball for Windows, controlled from the homerow
(github.com)
3 points
by
EsportToys
4y ago
|
2 comments
54.
▲
by
EsportToys
4y ago
Thanks, the TikTok style subtitles are a good idea.
55.
▲
Ask HN: Tips for making concise demo clips?
5 points
by
EsportToys
4y ago
|
2 comments
56.
▲
by
EsportToys
4y ago
A bit late to the party, but I’ve just released v1.0 of TPMouse, for Windows: https://github.com/EsportToys/TPMouse
57.
▲
TPMouse: homerow-driven mouse navigation for Windows
(github.com)
1 points
by
EsportToys
4y ago
|
0 comments
58.
▲
by
EsportToys
4y ago
Working on a keyboard-based inertial cursor navigation script[0] inspired by rvaiya/warpd[1]. I have just finished the inertia system yesterday but trying to figure out which default key combos to use as to avoid colliding with common
59.
▲
by
EsportToys
4y ago
It's like AutoHotKey but designed to be more programming- rather than scripting-oriented. It is astonishingly easy to create GUIs in AutoIt in comparison, I use it to rapidly prototype UX ideas. In fact, historically AHK is actually a
60.
▲
by
EsportToys
4y ago
Added rudimentary README to the repo
More ›