ScratchData LogoScratchData
Back to Locomule's profile

new Falling Embers scrolling tiled map engine test

LOLocomule•Created November 22, 2020
new Falling Embers scrolling tiled map engine test
11
9
64 views
View on Scratch

Instructions

Arrow keys to walk. There is no real game map, borders, etc yet, just colored tiles although you might be able to tell once you "walk off" the existing map data :) This is about as early a snapshot of my RPG world stamping engine as you will ever see. It uses pen stamping to stamp 48x48 tiles top to bottom, right to left in a grid pattern in two layers. The map data is stored in and read from list entries. When you walk the entire grid shifts slightly. Walk very far and the grid resets its position and changes the order of the stamped grid. The key to this system is stamping an extra row and column of map tiles so the entire grid can shift around without ever showing any bare stage. The player never sees this, to them it just looks like a smoothly scrolling world. Now I gotta try out a multi sprite game map stamping routine and see how much lag it creates when scrolling. If it works smoothly enough I can spread tile costumes out across a bunch of sprites, otherwise I gotta fit them all into 1 sprite which drastically reduces how many tiles I have to build the entire game with.

Description

all by me, Loco This is the 2nd iteration of my Kung Fu themed RPG Falling Embers. Here is the first.. https://scratch.mit.edu/projects/446720995/ Here is the animated intro.. https://scratch.mit.edu/projects/440933183/ As for this version of the engine, it still needs testing. I want to create a map stamping routine that uses multiple sprites to stamp the screen rather than just one. The issue is timing and lag, whether or not I can do it while smoothly scrolling and stamping all these tiles. If not then I'll probably make the tiles bigger and try to keep the full scrolling. Once I get this worked out I can begin creating the game world which I am mapping out separately on paper. I thought I had a group of Kung Fu movie experts to use as a think tank but that didn't work out so well.

Project Details

Project ID453218159
CreatedNovember 22, 2020
Last ModifiedJanuary 27, 2022
SharedNovember 25, 2020
Visibilityvisible
CommentsAllowed