Language…
13 users online: Angel Miranda,  Anorakun, Ccarlos, Children's Playmate Magazine, cozyduck, Daldi, Golden Yoshi, kakisen, Oika7, PermaBan, Rykon-V73,  Segment1Zone2, Smiddster3 - Guests: 105 - Bots: 122
Users: 70,438 (2,474 active)
Latest user: Murder Luc

Autotile

UberASM Repository → Autotile

Submission Details

Name: Autotile
Author: CircleFriendo
Added:
Type: Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: An autotile utility for SMW. This utility allows you to build shapes in Lunar Magic using a single tile and it will merge the tiles in-game using the correct edges.

Tutorial with screenshots here: https://github.com/CircleFriendo/AutotileUberasm
Tags: lorom sa-1 tilemap
Comments: 7 (jump to comments)
Rating:
5.0 (1 rating)
No rating
Download 4.41 KiB | 100 downloads

Screenshots

Comments (7)

Theopold Link
Lookin' good! I wish this could work for individual levels instead of the entire game, due to the loading times, though
BlueSheep123 Link
Just tried using this in my level. Works amazingly so far and makes adding aesthetics to levels easier.
My only nitpick is that it doesn't "blend" on the level edges.
CircleFriendo Author Link
Yeah, I didn't want to second-guess whether people would or would not want to blend on the level edges. For some things they would and for others they might not.

You can still get the effect you want if you place the tiles manually along the level edge. As long as you use the tiles from the map16 page, they will still blend with the rest of the tiles.
HammerBrother Link
Originally posted by Fernap
First, having the extra examples and doc is certainly nice, but it would probably be better to include those in the zip, rather than relying on offsite hosting, if at all possible.


In case if you are wondering why should you avoid offsite hosting, it is because of linkrot (link works now, but 404s in the future), especially with file/image/cloud hosting sites. Oftentimes they have inactivity policy to delete your stuff after a certain period of time after your last login. They do not preserve your stuff. This have happened especially on old forums whose images no longer work.

Furthermore, if you are relying on free file hosting sites, they often don't have good track record of making their ads not dangerous/intrusive in any way. Mediafire, for example, DELIBERATELY opens random sites as a separate tab or a new window when downloading a file. There is a text that states "The download button will start your download and show a message from our advertisers in a new window." I get they're desperate, but I don't tolerate mandatory visits to unknown sites, as it is playing Russian Roulette with my PC/browser (tech support scam sites). Thankfully though, this is avoidable, just right-click that download button and "save link as". But still doesn't solve the linkrot problem.
 Fernap Link
Tested with:
- Lunar Magic 3.40
- SA-1 Pack 1.40
- Snes9x 1.62.3, Bsnes-plus 05
- UberASM Tool 1.6

Notes:

This is a pretty interesting application of UberASM. Ideally, something like this would be handled in-editor (but that's not likely with LM), or barring that, as a utility that could be run alongside of it (but that introduces other potential issues), so this is a nice middle ground.

For users of this, as mentioned in the description, note that there is some increased baseline level loading time. Some very quick testing that I did (level 106 only), added about an extra 8 frames of loading time on lorom, so it's noticeable, but not onerous. Larger levels will tend to add more and smaller levels less. And the more autotiles in a level, the more expensive this will be as well

Given that this is fairly expensive, I added a couple very basic optimizations (I think there's room for more, but these jumped out). First, it now runs the %invoke_sa1() macro for SA1 roms. SA1 Pack already runs level loading on the SA1 side for a big speedup, and you get a pretty significant speedup here as well. Second, all those LDA.ls have been changed to plain LDAs (which will use .w by default). As long as the DBR is set properly (more on this below), these take less cycles, and they run a lot of times, so it can add up here.

I also modified the way this is packaged slightly. Given that this was merely a single piece of code intended to be run once in GM 12, I simply included the main file in the zip, not inside a library/ subfolder. I also added a note to the readme to make clear that this should be added as GM 12, and that anyone using 1.x should also follow the FAQ instructions for the library workaround so that the DBR is set correctly.

Finally, a couple suggestions. First, having the extra examples and doc is certainly nice, but it would probably be better to include those in the zip, rather than relying on offsite hosting, if at all possible. And second, while I understand why you have this set up to work with the map16 pages this way, it may be inconvenient for users to work around this. So I'd recommend having a way to be more flexible with what map16 pages (or regions thereof) are used. Even if this adds extra processing time, it can be included as an option to give users the choice of that extra flexibility at the cost of a little extra loading delay, if it comes to that.
HammerBrother Link
Godot tile connector system for SMW.
zacmario Link
Hey that's awesome. I always hated all those different tiles lol.