# Coneguy 64 devlog & stuff

**URL:** https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461
**Category:** Collaboration
**Tags:** game
**Created:** [January 29, 2024, 11:26pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461 "2024-01-29T23:26:54Z")
**Posts on this page:** 20
**Page:** 7

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [May 28, 2024, 2:40am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/124 "2024-05-28T02:40:56Z")

</div>

Hm, then I’m stumped!

---

<div class="post-metadata">

### Author: ![mcodez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mcodez/32/30743_2.png) [@mcodez](https://forum.makecode.com/u/mcodez)
#### Post date: [May 28, 2024, 5:46pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/125 "2024-05-28T17:46:25Z")

</div>

> [@TheConeGuy](#):
>
> pinball!!11!!1 (Pinball Zone)

sonic reference?  
 ![download](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/6662d1ac3d70fa63f16b1cf2a2a4410422d4a17d.jpeg)  
 ![download](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/476ddd223ce15699ead2407697c406f307a9315c.jpeg)

---

<div class="post-metadata">

### Author: ![mcodez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mcodez/32/30743_2.png) [@mcodez](https://forum.makecode.com/u/mcodez)
#### Post date: [May 28, 2024, 5:47pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/126 "2024-05-28T17:47:22Z")

</div>

yo need some help with taunts?

 ![pixil-frame-0 (6)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/ff4a0e450c64c74fce8efeb7cdffb1079cb4152b.png)

---

<div class="post-metadata">

### Author: ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)
#### Post date: [May 28, 2024, 5:56pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/127 "2024-05-28T17:56:46Z")

</div>

> [@Josef](#):
>
> As I said, all the levels in a world in ONE tile map just far away from each other. Then when a player collects a coin, destroy it

As I said, use this

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 29, 2024, 2:41am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/128 "2024-05-29T02:41:26Z")

</div>

@richard Sorry to ping you, but do you know how to fix this?

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 29, 2024, 2:41am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/129 "2024-05-29T02:41:57Z")

</div>

If I do that, the game lags because of how big the tilemap is. Also I think the max tilemap size is 200x255, which is smaller than the size nessecary to make levels.

Thank you for the suggestion, though!

---

<div class="post-metadata">

### Author: ![mcodez](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mcodez/32/30743_2.png) [@mcodez](https://forum.makecode.com/u/mcodez)
#### Post date: [May 29, 2024, 2:52am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/130 "2024-05-29T02:52:10Z")

</div>

yo Coneguy lore  
he likes lemonade

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 29, 2024, 4:59pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/131 "2024-05-29T16:59:28Z")

</div>

@TheConeGuy can you give me a little more context on what you’re trying to do? not sure i get it from the code snippets. give me as much detail as you can

---

<div class="post-metadata">

### Author: ![babol](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/babol/32/27355_2.png) [@babol](https://forum.makecode.com/u/babol)
#### Post date: [May 29, 2024, 10:01pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/132 "2024-05-29T22:01:02Z")

</div>

> [@Coneguy 64 devlog & stuff](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/100):
>
> Welp, my finals are done and my school year is over. That means… It’s coding time. 
> 
> > **WOAH**
> >
> > New stuff coming soon! Turtle Tops and a playable Pixeldoodle are in the works, along with some moveset changes. Stay tuned! Also have this big drawing of testing Coneguy’s expressions. It was made on \<a href="https://kleki.com/" rel="noopener nofollow ugc"\>this website,\</a\> if you wanted to know. \<a class="lightbox" href="https:/…

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/98f5599813dfde71a211462314f4e13b8bf931a5.jpeg)  
here’s a list of all the sprites traced here :  
noise’s old escape HUD  
some drawing of noise that mcpig made that has a jacket which i suppose was what coneguy was based of off?  
a noise drawing from the “??? comics #1” comic (the one with the hat)  
a pizelle taunt  
peppino’s pepper pizza intro animation  
noises idle animation  
a sprite of noise after stepping on the water in the sewer and the beach stages.  
couldnt find the rest

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 29, 2024, 10:01pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/133 "2024-05-29T22:01:10Z")

</div>

So, to summarize:

I’m making a first level for my game, which is split up into 7 rooms. I created 2 variables for this room system, with the former being a 'room" variable that keeps track of which room the player is in, and a “level” variable that determines which level the player is in so that the “room” variable can be changed accordingly (there is only one level at the moment). I created a function that handles the tilemaps of the rooms. This function is called when the player touches a room-changing tile.

Most rooms have different types of tiles that can be “updated”, in a way. For example, you can have coins that can be collected by touching them, blocks that require speed to bust through, or blocks that change their solidity once touching a wooden pillar at the end of the level.

For some reason, though, when I remove a collectible/destroyable tile in-game (i.e. collecting a coin or destroying a block, if I leave the room and come back, that tile is still there.

I created this function that is meant to update the coins, as an example, but it just doesn’t work. Here it is.

 ![Screenshot 2024-05-26 134258](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/83529d871e00b1b5928a23449e5b9dad337363f3.png)

This next screenshot is the block that handles when a coin is collected, and also sets the values seen in the previous function. Note that the “value1” variable was not used due to a change I made before I wrote this post.

 ![Screenshot 2024-05-27 073051](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9f1ae7e99e8203c87e649ebedf6ef781a6b1b082.png)

I have absolutely _zero_ idea how to fix this.

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [May 29, 2024, 11:18pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/134 "2024-05-29T23:18:42Z")

</div>

Happy birthday!!

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 30, 2024, 12:20am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/135 "2024-05-30T00:20:17Z")

</div>

@TheConeGuy hmmm… how are you storing your tilemaps? in order for tiles to save their state like that, you need to assign your tilemap to a variable (or put it in an array assigned to a variable). the tilemap block returns a new tilemap every time you call it.

for example, a function like this won’t persist changes because it’s calling “set tilemap to” with the tilemap block directly so that each time a level is set it’s loaded with a fresh tilemap:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/16c055a2f87ba79b80050b82b473237255690174.png)

however storing your levels in an array like this _will_ persist changes because you’re not getting a fresh tilemap each time:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/aa242dbd43d75dd4dde27cd9677bca27ecb61e0d.png)

here’s a sample project that uses variables to switch between rooms and persist state:

> **[item-pickup-sample](https://arcade.makecode.com/S23657-29239-59307-07806)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)
#### Post date: [May 30, 2024, 5:23am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/136 "2024-05-30T05:23:22Z")

</div>

He did it!!!

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 30, 2024, 4:39pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/137 "2024-05-30T16:39:31Z")

</div>

I added a new “room” parameter with the same name as the room variable, but now the game will not run and just gives me a “reading\_fields” error.

Here’s the code. I put it in an image because Makecode refused to let me share it as a link.

 ![arcade-platformer-64-build-009-WIP-sombrero-update](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/24bf5371cdf4e47ea5f7b4c66f7dca94b7a12ece.png)

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 30, 2024, 4:40pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/138 "2024-05-30T16:40:20Z")

</div>

@TheConeGuy that’s happening because you are trying to check what tile a sprite is on in your forever loop before you actually load a tilemap. Make sure you set the tilemap before calling any blocks that try to check what a tile at a location is

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 30, 2024, 9:33pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/139 "2024-05-30T21:33:54Z")

</div>

**Devlog 0.6:**

Some moves that I implemented over a couple days. These are all images because I could not compress a video to the max file size of 4MB for the life of me.

Also, **s o m b r e r o.**

 ![wow a cool new slide move](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c81a3b4340aebc2ab85b3486f2412ea985d2bbb1.png)

 ![dash attack, kung fu, whatever you wanna call it](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/97947e9e7d273bd1892564fe4c094b106b1f705d.png)

 ![reworked long jump (it gives you speed now)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/2425702a2c09574ac66fd859726398a819d3fa8b.png)

---

<div class="post-metadata">

### Author: ![\_jupiter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/_jupiter/32/28012_2.png) [@\_jupiter](https://forum.makecode.com/u/_jupiter)
#### Post date: [May 31, 2024, 12:56pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/140 "2024-05-31T12:56:56Z")

</div>

happy birthday mate

---

<div class="post-metadata">

### Author: ![pecan4pi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pecan4pi/32/20940_2.png) [@pecan4pi](https://forum.makecode.com/u/pecan4pi)
#### Post date: [May 31, 2024, 1:00pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/141 "2024-05-31T13:00:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b172ef2766f474f1e46a97c1644b4b93f9193dc1.png)  
Woah, I didn’t know that was a thing the forum automatically did.

Happy birthday @TheConeGuy! 🥳

---

<div class="post-metadata">

### Author: ![Future\_Knight](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/future_knight/32/22166_2.png) [@Future\_Knight](https://forum.makecode.com/u/Future_Knight)
#### Post date: [May 31, 2024, 1:04pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/142 "2024-05-31T13:04:46Z")

</div>

Hey @TheConeGuy you know you could now be able to make paper coneguy because @AqeeAqee updated the extension to have text box support so you could make it using the story extension

---

<div class="post-metadata">

### Author: ![TheConeGuy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theconeguy/32/13840_2.png) [@TheConeGuy](https://forum.makecode.com/u/TheConeGuy)
#### Post date: [May 31, 2024, 1:05pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/143 "2024-05-31T13:05:50Z")

</div>

Okay.

So I got the new room system working, but when I change rooms, the tiles still go back to their original versions.

[Previous page](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461.md?page=6)

[Next page](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461.md?page=8)
