heres a link to the project file
https://file.io/h0WxKBj5SLtO
what do i do next?
@Mr_Duck hereās your fixed project!
ā¦And here are detailed instructions on how I fixed this project, for reference. Note that this involves using a CLI, so it might be tough to follow these if you havenāt used a terminal before. I ran these instructions on Ubuntu (on Windows via WSL), but they should also work just fine on macOS.
Full Instructions
Note that you need Node.js installed to follow these instructions.
Prerequisites, install the pxt
and makecode
cli tools via npm:
npm install -g pxt makecode
Now follow these steps:
- Extract the zip file and move the relevant .mkcd file into an empty directory
unzip makecode-arcade-project-download.zip mkdir temp-directory mv arcade-2024-08-13-Backrooms-2D.mkcd temp-directory/ cd temp-directory
- Initialize the pxt CLI in that directory:
pxt target arcade
- Use the pxt cli to extract the project files:
pxt extract arcade-2024-08-13-Backrooms-2D.mkcd
cd
into the extracted projectās directory:cd Backrooms-2D/
- Open
pxt.json
in the text editor of your choice and make these two edits:- Delete the entry for the dependency in the
dependencies
object. Make sure you donāt leave any trailing commas behind! - Change
preferredEditor
from āblocksprjā to ātsprjā
- Delete the entry for the dependency in the
- Save the file
- Use the MakeCode CLI to create a share link for the project:
makecode share
- This will print out a share link. Open that link in the browser and select āEdit Projectā
- The project will open in the TypeScript editor. Youāll now need to fix any errors that were caused by removing the extension. In this case, there was one call to
stuff.SwitchSprites(mySprite2, myEntity)
that I had to delete - Switch to blocks and make sure everything looks good!
Thanks so much @richard! for a sec there I thot that I would lose my project
(it took me 1 years and iām not done)
@richard can you make a wall that isnāt affected by youāre shadow casting extension
@Mr_Duck no, not currently.
ok i donāt mind
A post was merged into an existing topic: Help needed please my game wont work
Hey @richard !
I am making a game (with the help of free templates from others) and decided to make a title screen, so I found one I liked and tried recreating in but it didnāt work.
The title screen is suppose to say the game name then a text saying āclick B to startā but none of that shows but instead its just a black screen!
Please help me with the game link right here: https://arcade.makecode.com/S60799-63049-42388-52853
uhm Iām trying to make a one piece based game and the enemyās wont workā¦
hereās the game linkhttps://arcade.makecode.com/S23398-95492-70064-81033
Also, when the player reaches zero health, the game is suppose to end, but it doesnāt, btw all the broken stuff is at the top right separated from the other code in blocks.
@Cdahr1 this is because you have the raycasting extension in your project. when you add that to the project, it changes how all sprites are rendered. @AqeeAqee might have tips on what you can do to make a title screen like this
Hi @Cdahr1
When start to design this plug, I assumed thereās a map already. But not, in some a little more complex cases, like yours.
So the easiest way of workaround is set a blank tilemap at first, before you set the real map.
And I guess you donāt want your text sprite shown as a 3d character, set its ārelative to cameraā to ON.
Ok, thank you @AqeeAqee
I will try it then get back to you soon!
Thank you very much @AqeeAqee
my game it fixed!
Hey @richard
there is a glitch I am currently facing. When I try to change the title map, its sticks to my mouse and doesnāt come off unless I refresh the page.
(Iām not holding my mouse button)
Thank you!
@Cdahr1 this is definitely a makecode bug! can you share a link to your project? also if you can open the dev tools and check for errors in the console i would appreciate it
sure @richard ! the link is here: https://makecode.com/_f2s5H7EAiU1F
Also, I dont know how to check dev tools, sorry!
Thanks!
can you change the z index of an image? (so you donāt go under the image)