TileMap v1.0

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
ZXDunny
Manic Miner
Posts: 317
Joined: Tue Nov 14, 2017 3:45 pm

Re: TileMap v1.0

Post by ZXDunny »

Just gonna add a vote for Auf Monty...
0 x

Pobulous
Dizzy
Posts: 60
Joined: Wed Nov 15, 2017 12:51 pm

Re: TileMap v1.0

Post by Pobulous »

I wonder how far it can be pushed.
How about:
Nonterraqueous
Tantalus
Explorer
0 x

User avatar
Morkin
Dynamite Dan
Posts: 1182
Joined: Mon Nov 13, 2017 8:50 am
Location: Bristol, UK

Re: TileMap v1.0

Post by Morkin »

Quite an intriguing idea. Nice for those of us who struggle to get off the first screen in Technician Ted.. :roll:
Pobulous wrote:
Tue Oct 30, 2018 12:21 pm
Explorer
:lol:
0 x

obo
Berk
Posts: 27
Joined: Sat Sep 01, 2018 11:08 am
Location: Nottingham, UK
Contact:

Re: TileMap v1.0

Post by obo »

Auf Wiedersehen Monty does seem well suited. Though I don't have an AY emulation at the moment, so no music :(

Tantalus shouldn't be a problem size-wise, though I'm not familiar with the gameplay, which useful to know it's working properly. I remember Nonterraqueous 1 from back in the day, which was big but pretty sparse.

I'm hoping tempt someone else to have a go at porting, once I've got a description of how to do it. Soon...
0 x

User avatar
druellan
Manic Miner
Posts: 695
Joined: Tue Apr 03, 2018 7:19 pm
Location: Argentina
Contact:

Re: TileMap v1.0

Post by druellan »

Something interesting might be Robin of the Wood, since it is a game based almost purely on random positions on the map.
I'm not sure if the positions are resolved before the player enters a room, but if that is the case, could be interesting to watch realtime 8-)
0 x

obo
Berk
Posts: 27
Joined: Sat Sep 01, 2018 11:08 am
Location: Nottingham, UK
Contact:

Re: TileMap v1.0

Post by obo »

All cases I've seen so far generate the item locations when the game starts, and that seems the best place to do when there are limits to the number of certain items types that can appear. That's certainly true for Dynamite Dan, Dynamite Dan II, Starquake, and Sabre Wulf. Dynamite Dan II does that for objects on all 8 islands at the start of the game, so you can look ahead to see where the record will be!

TileMap waits until the game state has initialised before cloning across all rooms, so they're given the same starting state. That ensures the same items are in each room when the player finally enters them.
0 x

User avatar
djnzx48
Manic Miner
Posts: 722
Joined: Wed Dec 06, 2017 2:13 am
Location: New Zealand

Re: TileMap v1.0

Post by djnzx48 »

Can this work for games where enemies and objects move between the rooms? I've got a game in mind that I'd be interested in porting with this if it's possible.
0 x

obo
Berk
Posts: 27
Joined: Sat Sep 01, 2018 11:08 am
Location: Nottingham, UK
Contact:

Re: TileMap v1.0

Post by obo »

djnzx48 wrote:
Fri Nov 02, 2018 4:20 am
Can this work for games where enemies and objects move between the rooms? I've got a game in mind that I'd be interested in porting with this if it's possible.
Yes, though it will require some knowledge of the data involved in the object's state, and maybe the code that manages it.

In Sabre Wulf the Wulf is effectively a global object that moves between rooms, as it runs back and forth at the bottom of the map. In TileMap the active room containing Sabreman owns the Wulf state data, and takes snapshots after it is updated. That data snapshot is global to the game, and before each room runs the Wulf code it takes a fresh copy to synchronise it. It gives the overall effect that there is only one and it's moving between rooms.

It might still depend on the game you have in mind, but I believe it should be possible. There's some flexibility to change the approach if that doesn't quite fit.
0 x

User avatar
djnzx48
Manic Miner
Posts: 722
Joined: Wed Dec 06, 2017 2:13 am
Location: New Zealand

Re: TileMap v1.0

Post by djnzx48 »

Thanks, I've got a build working now and found the room address, so I'll see if I can make any progress on this.
0 x

obo
Berk
Posts: 27
Joined: Sat Sep 01, 2018 11:08 am
Location: Nottingham, UK
Contact:

Re: TileMap v1.0

Post by obo »

If you're at the stage of building TileMap itself, make sure you've pulled the latest code. I simplified the code hooking yesterday, so existing hook handlers will need adjusting. There are still some build issues with the Z library it uses as a sub-module, which doesn't yet play nice with recent Visual Studio versions. It just means ignoring some link warnings until it gets fixed.

Shout if you need any more details.
0 x

Post Reply