# 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:** 5

<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 5, 2024, 11:11pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/84 "2024-05-05T23:11:48Z")

</div>

you could do what pizza tower did : a list  
basically make a list of every destroyed tile position like  
x,y  
100,10  
150,25  
etc.  
then when you re-enter the game will delete the tiles on those locations.  
make sure to do that before you create the sprites. since the tiles were removed in the previous script, there will be no tiles to check in the current script.

---

<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 6, 2024, 2:55am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/85 "2024-05-06T02:55:41Z")

</div>

Can you provide an example?

---

<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 6, 2024, 3:32pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/86 "2024-05-06T15:32:22Z")

</div>

lets say you got a coin at x 80 and y 8  
the position will get added to a list, and once you re-enter the room the game will run a script that removes those tiles  
so the coin at x 80 and y 8 will be gone  
how that script works is it divides the x and y by 8 and deletes the tile at that tile location, and when the next script is ran there are no tiles with the coin sprite so no coins are generated.  
i can make a game for this if you still dont get 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 6, 2024, 8:42pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/87 "2024-05-06T20:42:57Z")

</div>

I tried to create some code for this but I still don’t get it.

---

<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 7, 2024, 3:44pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/88 "2024-05-07T15:44:59Z")

</div>

Please Make 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 10, 2024, 8:50pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/89 "2024-05-10T20:50:27Z")

</div>

![Screenshot 2024-05-10 163325](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e5a510818d9986fc6ac30ea9972ad5bc8b9d6780.png)

Can someone please tell me why this code would not work?

Basically, when the player collects a coin (which is a tile,) the tile is deleted and two values named “coinvalueX” and “coinvalueY” respectively are set to the tile’s x and y values. Then, when the player enters a different room and comes back, this function is loaded to remove the tile.

However, this does NOT work, and I don’t know how to fix it.

---

<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 11, 2024, 2:10am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/90 "2024-05-11T02:10:00Z")

</div>

Simple! You used ‘value’ twice. It keeps being redefined!

---

<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 11, 2024, 2:11am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/91 "2024-05-11T02:11:51Z")

</div>

Ahhhh I see. You have one value number. Let’s say it’s 5y. You check if it’s the y coordinate. It is! But… you are using the same value for your x coordinate. So if x is 10 then it will not delete the x position.

**So, to summaries, you basically need value1 = x? And then value2 = y?**  
Also why am I suddenly @richard

---

<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 12, 2024, 1:00am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/92 "2024-05-12T01:00:38Z")

</div>

Ya you just gotta rename it to like value2313 or smthing

---

<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 12, 2024, 1:01am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/93 "2024-05-12T01:01:03Z")

</div>

I was here longer than rhe new users and yet i feel like an idiot

---

<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 12, 2024, 1:17am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/94 "2024-05-12T01:17:32Z")

</div>

I tried to create a “value1” and “value2” variable from the original “value” variable and it STILL didn’t work.

 ![Screenshot 2024-05-11 062411](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/8a4f364e0dbd5ca8fd11c332afe52be6010211ed.png)

---

<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 12, 2024, 1:29am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/95 "2024-05-12T01:29:14Z")

</div>

Drop the new value variable into the for element block

---

<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 12, 2024, 9:49pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/96 "2024-05-12T21:49:37Z")

</div>

It gives me an error if I do that.

 ![Screenshot 2024-05-11 214521](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/ce01300df9b6c5bffbffe29c46d2b052180c9e5f.png)

Should I be dragging the variable into the first “for element value,” the second, or both of them? I’m calling this function in a different function that sets the tilemaps for each room, and in an “on sprite of kind X overlaps tile at location” block that changes the “room” variable, if that needs to be disclosed.

---

<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 13, 2024, 2:07am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/97 "2024-05-13T02:07:36Z")

</div>

I don’t think you need to define what value 1 is

---

<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 13, 2024, 4:58pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/98 "2024-05-13T16:58:34Z")

</div>

I meant two variables. Or you could try this: make all the maps in a world in a single tile map. Just reeeeaaaly far away from each other. Then no need to do anything else.

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [May 13, 2024, 5:04pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/99 "2024-05-13T17:04:17Z")

</div>

Pull that value1 block out of the loop, and instead right click the `value` parameter. It should let you choose which variable to use then

---

<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 23, 2024, 2:47am UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/100 "2024-05-23T02:47:44Z")

</div>

Welp, my finals are done and my school year is over.

That means…

 ![lemonade but web-sized](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/418cac6ea32db8cd02c5fb3022c279ce76ed9f98.png) **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 [this website,](https://kleki.com/) if you wanted to know.
> 
> ![2024_05_22_0x7_Kleki](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3cc0c473320884999bea889b71c034537cf165dc.jpeg)

---

<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 23, 2024, 4:48pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/101 "2024-05-23T16:48:38Z")

</div>

MAKE A BABY CONEGUY pwease 🥺

---

<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 23, 2024, 4:55pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/102 "2024-05-23T16:55:43Z")

</div>

HEHEHE The little one on the middle left!  
🥺

---

<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 23, 2024, 4:57pm UTC](https://forum.makecode.com/t/coneguy-64-devlog-stuff/26461/103 "2024-05-23T16:57:49Z")

</div>

just randomly made this  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0fe29973b4d371602402601ec434e5f814ccb829.png)

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

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