Posts

Showing posts from December, 2022

Questions About Random Isolated Mirror Brush ( VER_043 )

Image
I am making an engine for an MMO. Original video here: https://www.youtube.com/shorts/_PCglEj-piY  A four second video isn't much time to explain. But hey, I am not famous. So I have the time to put this together since you two were curious. My engine uses a thing I call a "Hotel" , which is a levelpack storing 13 levels in the configuration below. ( "Hotel" isn't a technical term, I just make up my own words for things. ) Each level is 64x64 tiles, but each level also has all power of 2 tiles. So each level is actually 7 layers: Layer 0 : A 64x64 map of 1x tiles Layer 1 : A 32x32 map of 2x tiles Layer 2 : A 16x16 map of 4x tiles Layer 3 : A 8x8 map of 8x tiles Layer 4 : A 4x4 map of 16x tiles Layer 5 : A 2x2 map of 32x tiles Layer 6 : A 1x1 map of 64x tile, One giant tile the size of an entire level. The ISOLATED brush has an origin isolated to the level , see below animation: See Video Of Above : https://www.youtube.com/shorts/_PCglEj-piY The GLOBAL brush m

Fractal Brush For Game Engines

Image
Fractal brush is now clickable. www.tinyurl.com/BOMB-CODE These blog posts get zero views. Is it worth doing? Anyways, power of 2 tile sizes means that our brush had to snap to a grid. With this fractal brush, we now can use brush sizes that are: 1. NOT snapped to power of 2 position. 2. Sizes that are NOT a power of 2. 3. Brush size does NOT need to be square. -KanjiCoder

Fractal Brush Smoke Test

Image
Fractal Brush Smoke Test www.youtube.com/@KANJICODER The fractal brush is not done yet. The idea is to have any sized tile brush you want and the surface area of the brush is packed with the largest power of two tiles that can be set onto the canvas. The core code looks correct using KONAMI_ARROW_CODE+"I" . Eventually we need to create a "fractal mode" were any non-zero tile value uses the fractal brush. The zero tile will use the fractal eraser. And then also figure out how "fractal inserter" will fit into all of this.