One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-06-07 02:58:44

wondible
Member
Registered: 2018-04-19
Posts: 855

Client Mod: Edge Look and Edge Run

Following up on the click discomfort I posted about earlier, I tried out screen edge push. It uses the same constraints as the base game's variable center, but doesn't require shimmying back and forth to move your view over if you want to see what is going on over there while you wait on a nice temperate spot.

https://www.twitch.tv/videos/270036544?t=02h36m15s

Then I tried to work out a form of auto-run triggered by a click at the edge. I ended up stumbling into a simple implementation that triggers the mouse-hold behavior - once triggered it works as if the button was held, without having to actually stress your wrist out holding the button.

https://www.twitch.tv/videos/270036544?t=03h07m07s

Main issue is UI feedback. I experimented with using the the dotted-line effect to indicate auto-run, but it might also need something to indicate when you are in the screen-edge zone.

https://www.twitch.tv/videos/270036544?t=03h38m07s

In any case I still need to actually try playing with it, and then see if it is worth recompiling every time there is a new release. Code is just on my fork so far.  https://github.com/JustinLove/OneLife/t … e-auto-run

I'm interested in what others think of this, and what kind of UI feedback other people would want.


https://onemap.wondible.com/ -- https://wondible.com/ohol-family-trees/ -- https://wondible.com/ohol-name-picker/
Custom client with  autorun, name completion, emotion keys, interaction keys, location slips, object search, camera pan, and more

Offline

#2 2018-06-07 03:15:48

Uncle Gus
Moderator
Registered: 2018-02-28
Posts: 567

Re: Client Mod: Edge Look and Edge Run

Dude, that looks great! I think I'll "borrow" it.

Man, that start area is so familiar, haha.

Offline

#3 2018-06-07 03:33:31

Anshin
Member
Registered: 2018-04-01
Posts: 614

Re: Client Mod: Edge Look and Edge Run

Add Edge-push to Joriom's Zoom-out mod.

https://onehouronelife.com/forums/viewtopic.php?id=1467

Better yet, mousewheel variable zoom + edge push!

Offline

#4 2018-06-07 07:46:09

Morti
Member
Registered: 2018-04-06
Posts: 1,323

Re: Client Mod: Edge Look and Edge Run

Thanks you, for being such a wizard.

All of you on this planet that code, you deserve a lot more recognition from the rest of us, simple, users.

Thank you, for what it is you do for the rest of us. Especially sharing the process like this, live.

As a former educator, you have a tremendous amount of my gratitude for sharing what you are learning with others.

Offline

#5 2018-06-10 12:04:11

wondible
Member
Registered: 2018-04-19
Posts: 855

Re: Client Mod: Edge Look and Edge Run

Added some UI feedback yesterday. Put in the path, because I want a mode indicator, and hijacked the home arrow for an edge-of-screen indicator.

https://www.twitch.tv/videos/271215220?t=02h09m


https://onemap.wondible.com/ -- https://wondible.com/ohol-family-trees/ -- https://wondible.com/ohol-name-picker/
Custom client with  autorun, name completion, emotion keys, interaction keys, location slips, object search, camera pan, and more

Offline

#6 2018-07-08 17:41:08

wondible
Member
Registered: 2018-04-19
Posts: 855

Re: Client Mod: Edge Look and Edge Run

Yesterday I tracked down the bug where auto-run would not work on live servers - turns out it was stopping the run when any player reached destination. Might still be a little too easy to trigger accidentally, so I'll have to think about the interface for that.


https://onemap.wondible.com/ -- https://wondible.com/ohol-family-trees/ -- https://wondible.com/ohol-name-picker/
Custom client with  autorun, name completion, emotion keys, interaction keys, location slips, object search, camera pan, and more

Offline

#7 2018-07-08 18:11:10

Joriom
Moderator
From: Warsaw, Poland
Registered: 2018-03-11
Posts: 565
Website

Re: Client Mod: Edge Look and Edge Run

Anshin wrote:

Add Edge-push to Joriom's Zoom-out mod.

https://onehouronelife.com/forums/viewtopic.php?id=1467

Better yet, mousewheel variable zoom + edge push!

Autowalk? Why not. But with higher field of vision autowalk can become a bit messy I think. You already see much more so you most likely see your destination and when traveling further you can click way less. Without clear "STOP" button it might kill you on a snake or wolf more often than you might admit - messy pathfinding + smaller tiles (and character) to mouse over for stop.

Edge push? Maybe with 1080p FHD client but I'd rather limit it to north/south or block screen moving around altogether while you already have increased vision. It becomes very obvious on 4k client that server does not send you enough tiles to populate entire screen even if its centered.

Offline

#8 2018-08-19 12:01:00

wondible
Member
Registered: 2018-04-19
Posts: 855

Re: Client Mod: Edge Look and Edge Run

I've switched to double click, but have not found a good double click detection time. It's currently both sometimes hard to activate and sometimes goes off by accident. And now seems to be interacting with roads a bit.

Also removed the edge arrows. Edge push still works, but it works well without the visual indicator.


https://onemap.wondible.com/ -- https://wondible.com/ohol-family-trees/ -- https://wondible.com/ohol-name-picker/
Custom client with  autorun, name completion, emotion keys, interaction keys, location slips, object search, camera pan, and more

Offline

Board footer

Powered by FluxBB