SamSuka
thaumx
thaumx

patreon


Image Cartography

Well, I haven't had the best luck the last couple days; things keep seeming to pop up and interrupt my work or take up my time. Today it was a mini-crisis at work that took up most of the day. (Though I'm actually pretty thankful to have a job that normally has free time, which gives me extra time to work on AW.) Anyway, moaning aside, it wasn't an unproductive day.

So I've bemoaned the complications with image maps in twine before, but I've since figured out how to get them working, it was really just a matter of handling them slightly differently. In fact, it's not hard at all, I just wasn't looking in the right place.

So some of the neat things you'd commonly see on an image map--like hover highlights and title text--don't exactly work in twine. However, if you take the maphilight library for jquery, and modify it a bit, you can change it so that it works in Twine SugarCube. Then, you can use the script macro to run  a function using the library after the passage has finished loading. Using class designations in the standard html map element, you can call on that in the script to selectively alter your color and other settings. 

The pictures above demonstrate working hover highlights and text in AW. The image is of the tier-2 home, notice that for this test I colored the "leave your house" area red, which is different from the other areas.

So now, I'm going to eat something, and then get back to some more coding :)

Image Cartography

Comments

Probably not, because the player character is so customizable. There will be images (portrait and hopefully full-body) showing a customized PC though. Depending on funding and time, there will be greater possibility of art for general life scenes. :)

ThaumX

Will there be tiny images of the character showering, sleeping, cooking, eating and so on? I don't feel a need for them, personally. I'm just curious.

Jumpy James Johnson Junior

Thanks! I really appreciate the positive comments; I get a little anxious because it's hard to share what I've been working on in a meaningful way without spending a lot of time writing a long & boring explanation. This is the first time that I've really developed a game, though I've worked on plenty of other projects professionally, as well as things like game mods. It's really fun, but also really different. Unlike a normal project where you are focused on meeting very specific needs, and just worried about pleasing your boss or the business contracting you, it's a different game when working with patrons. Everyone expects something slightly different, but you want to make everyone happy. With game mods, you're completely free with no expectations. Working on AW has been a great experience so far, maybe because it strikes a fun balance between ordered professional stuff, and chaotic mod stuff. :)

ThaumX

Christ man, it's not very hard to tell this isn't your first rodeo. Solid work, as usual.

Chris Dahl

The SimbroTeam is a team of wankers. They can't code, they can't communicate, they can't do shit besides cheating people of their money. I can't believe how they still can get $11k in founding. How stupid are the people of today throwing away money for nothing?

ZaTsu

Thanks for the vote of confidence, I doubt it's something brand new. I know people have used image maps, so it's not a stretch to imagine that they also figured out hover zones

ThaumX

Yesterday the SimBro team delayed their release for like the eighth time and you came up with a brand new feature in Twine. I think you might actually be the best creator on this website.

Cody Renton


More Creators