NoahS.

NoahS.

0-day streak
https://scrapbook-into-the-redwoods.s3.amazonaws.com/441bf27f-da93-4ec0-885e-ebc5872bfad2-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/7dd41839-9a03-47fb-bc58-c10bf0ecc280-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/89f8b897a0d9075582a78584b61c6b2f0afa7823c4400f5ede91fb4d207059ee/704dad8d-a2fc-4027-b8ca-aef7a0d765ba.png
thinking emoji
summer-of-making emoji
github emoji
I made a Discord utility bot for my friends and I server that can show TBA data and runs of ChatGPT
https://scrapbook-into-the-redwoods.s3.amazonaws.com/34c54d0a-af7e-46d7-b075-12ed2952056f-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/2c279c14-1082-4d7b-add1-ffc60c94901f-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/defa093b-0791-4c71-821a-59c02d888f01-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/fa2159e8-b2ef-468e-b94b-9c378006c179-image.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/cfbee9ae-54aa-43f8-bea5-7ae55d86e21e-ad1.gifhttps://imgutil.s3.us-east-2.amazonaws.com/675899468efe8efa664b73003cc73ea8152a0614e342e0f9dfab3f39ebf1ba17/693ab3df-1a17-4515-be4f-cd955f0f2ad7.png
github emoji
summer-of-making emoji
Made a datapack for Minecraft that makes it so you cant sleep under a specific light level
https://scrapbook-into-the-redwoods.s3.amazonaws.com/7e4f1f76-156e-41da-b2a9-f76d5f961a49-image-46.pnghttps://imgutil.s3.us-east-2.amazonaws.com/647fa7f397828ec95c7e050ac800f51a0dc2ae5cf015788d75a35a5f88069bb0/77b1f3cc-7059-433f-9755-743e6d0c34ec.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/4a9508ef-601c-49ea-a75b-a9078d0c4b31-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/e05c48f1970288c4d4291e878cb3f688814742a78d194a8c78c56075b82be43e/17cec12b-9a98-491f-b3d0-453ff362f8f6.png
I made a 2D gamemaker world gen prototype
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9e8d47e1-ac5e-40cf-81d9-d61181b286b3-gamemaker_perlin_project.gif
summer-of-making emoji
Worked a little bit on a new level for my game today. Also added the rough setup of a bossfight!
I updated my website to include an about me and proper article system for one of my projects! All code is up on my github and should be on fennecs.dev soon!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/40611cbb-ac17-4973-bf3b-928d281f1fc0-image.png
summer-of-making emoji
goose-honk-technologist emoji
github emoji
I made a quick (took 3 hours) game to learn Sprig
 /*
First time? Check out the tutorial game:
<https://sprig.hackclub.com/gallery/getting_started>

@title: 
@author: 
@tags: []
@addedOn: 2024-00-00
*/


const player = "p"
const noTile = "n"
const wall = "w"
const eatenTile = "e"
const goal = "g"
const spike = "s"

var dir = 0;
var pelletsEaten = 0;

setLegend(
  [ player, bitmap`
0000000000000000
0000000099009900
0000000099009900
0000000992099200
0000000922092200
0000000922092200
0000000999909090
0000000999909090
000000222222CC22
2229002222222222
2299999999999900
2999999999999900
0000999922299900
0000909000090900
0000C0C0000C0C00
0000000000000000` ],
  [ noTile, bitmap`
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000` ],
  [ wall, bitmap`
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555
5555555555555555` ],
  [ eatenTile, bitmap`
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666
6666666666666666` ],
  [ goal, bitmap`
0000000000000000
0000000660000000
0000666660000000
0066666660000000
0666666660000000
0066666660000000
0000666660000000
0000000660000000
0000000660000000
0000000660000000
0000000660000000
0000000660000000
0000000660000000
0000000660000000
0000066666600000
0006666666666000` ],
  [ spike, bitmap`
0000000330000000
0000003333000000
0000033333300000
0000333333330000
0003333333333000
0033333333333300
0333333333333330
3333333333333333
3333333333333333
0333333333333330
0033333333333300
0003333333333000
0000333333330000
0000033333300000
0000003333000000
0000000330000000` ]
)
setSolids([wall, player])

let level = 1
const levels = [
  map`
wwwwwwwwwwwwwwwwwwwwwwwwwwww
wffffffffffffwwffffffffffffw
wfwwwwfwwwwwfwwfwwwwwfwwwwfw
wswwwwfwwwwwfwwfwwwwwfwwwwsw
wfwwwwfwwwwwfwwfwwwwwfwwwwfw
wffffffffffffffffffffffffffw
wfwwwwfwwfwwwwwwwwfwwfwwwwfw
wfwwwwfwwfwwwwwwwwfwwfwwwwfw
wffffffwwffffwwffffwwffffffw
wwwwwwfwwwwwgwwgwwwwwfwwwwww
wwwwwwfwwwwwgwwgwwwwwfwwwwww
wwwwwwfwwgggggiggggwwfwwwwww
wwwwwwfwwgwwwggwwwgwwfwwwwww
wwwwwwfwwgwggggggwgwwfwwwwww
ggggggfgggwggggggwgggfgggggg
wwwwwwfwwgwggggggwgwwfwwwwww
wwwwwwfwwgwwwwwwwwgwwfwwwwww
wwwwwwfwwggggggggggwwfwwwwww
wwwwwwfwwgwwwwwwwwgwwfwwwwww
wwwwwwfwwgwwwwwwwwgwwfwwwwww
wffffffffffffwwffffffffffffw
wfwwwwfwwwwwfwwfwwwwwfwwwwfw
wfwwwwfwwwwwfwwfwwwwwfwwwwfw
wsffwwfffffffpgfffffffwwffsw
wwwfwwfwwfwwwwwwwwfwwfwwfwww
wwwfwwfwwfwwwwwwwwfwwfwwfwww
wffffffwwffffwwffffwwffffffw
wfwwwwwwwwwwfwwfwwwwwwwwwwfw
wfwwwwwwwwwwfwwfwwwwwwwwwwfw
wffffffffffffffffffffffffffw
wwwwwwwwwwwwwwwwwwwwwwwwwwww`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wwwwnwwnnwwwwwwnnwwnwwwwnw
wnwwwwnwwnnwwwwwwnnwwnwwwwnw
wnwwwwnnnnnwwwwwwnnnnnwwwwnw
wnwwwwnwwwnwwwwwwnwwwnwwwwnw
wnwwwwnwwwnwwwwwwnwwwnwwwwnw
wnwwwwnwwwnnnpgnnnwwwnwwwwnw
wnwwwwnwwnwwwwwwwwnwwnwwwwnw
wnwwwwnwwnwwwwwwwwnwwnwwwwnw
wnwwwwnwwnnnnwwnnnnwwnwwwwnw
wnwwwwnwwwwwnwwnwwwwwnwwwwnw
wnwwwwnwwwwwnwwnwwwwwnwwwwnw
wnnnnnnnnnnnnwwnnnnnnnnnnnnw
wwwwwwwwwwwwwwwwwwwwwwwwwwww`,
  map`
wwwwwwwwwwwww
wwwwwwwwwwwww
wwwwwwwwwwwww
wwwwwwwwwwwww
wwwwwwpwwwwww
wwwwwwwwwwwww
wwwwwwwwwwwww
wwwwwwwwwwwww
wwwwwwwwwwwww`
]

const levelText = [
  'PRESS D',
  'USE WASD',
  'DONT TOUCH RED',
  'FILL IN ALL SPOTS',
  'GOODLUCK',
  'RED SPOTS',
  'CAREFUL',
  'CAREFUL (pt2)',
  'NOAH',
  'IDEAS? NONE!',
  'ALMOST PACMAN',
  'YOU WIN!!!'

]

setMap(levels[level])

setPushables({
  [ player ]: []
})

onInput("s", () =&gt; {
  oldDir = dir
  dir = 1
})
onInput("w", () =&gt; {
  oldDir = dir
  dir = 2
})
onInput("d", () =&gt; {
  oldDir = dir
  dir = 3
})
onInput("a", () =&gt; {
  
  dir = 4
})

//Player movement





afterInput(() =&gt; {
})

const movePlayer = () =&gt; {
  const playerSprite = getFirst(player);

  // Check for collision with "pellet" sprite
  //const collidingPellet = getTile(playerSprite.x, playerSprite.y).find(sprite =&gt; sprite.type === "pellet");

  // Check for collision with "strongPellet" sprite
  const plX = playerSprite.x
  const plY = playerSprite.y

  const targetTile = getTile(plX, plY)
  if(targetTile.find(sprite =&gt; sprite.type == noTile))
  {
    console.log("FOUND TILE!")
    clearTile(plX, plY)
    addSprite(plX, plY, eatenTile)
    addSprite(plX, plY, player)
    pelletsEaten++;
  }
  if(targetTile.find(sprite =&gt; sprite.type == goal))
  {
    const hasSpecificTile = isSpecificTilePresent();
    if (hasSpecificTile) {
      console.log("The specific tile type is present on the screen.");
    } else {
      console.log("The specific tile type is not present on the screen.");
      level++;
      setMap(levels[level])
      clearText();
    }

  }
  if(targetTile.find(sprite =&gt; sprite.type == spike))
  {
    setMap(levels[level])
  }
  console.log(levels[level])

  // If collision with "strongPellet" sprite occurs, handle differently if needed

  // Update the player's position based on the input direction
  if (dir === 1) {
    getFirst(player).y += 1; // Move the player downwards
  } else if (dir === 2) {
    getFirst(player).y -= 1; // Move the player upwards
  } else if (dir === 3) {
    getFirst(player).x += 1; // Move the player right
  } else if (dir === 4) {
    getFirst(player).x -= 1; // Move the player left
  }

  
}

const drawGUI = () =&gt; {
  addText("Level " + level, { x: 0, y: 0, color: color`2` }); // Update score display
  if(levelText.length &gt; level-1)
  {
    addText(levelText[level-1], {x: 0, y:2, color: '2'});
  }
}
const isSpecificTilePresent = () =&gt; {
  for (let row = 0; row &lt; height(); row++) {
    for (let col = 0; col &lt; width(); col++) {
      const currentTile = getTile(col, row);

      // Check if the current tile contains the specific tile type
      if (currentTile.some(sprite =&gt; sprite.type === noTile)) {
        return true;
      }
    }
  }
  return false;
}




let playerMovementInterval = setInterval(movePlayer, 30);
let drawGUIInterval = setInterval(drawGUI, 1);
const playerSprite = getFirst(player);

addSprite(playerSprite.x, playerSprite.y, eatenTile)

//playTune(melody)
https://scrapbook-into-the-redwoods.s3.amazonaws.com/a2db6ddd-f42c-4089-8c14-b4407307be1d-image.png