Uh oh!
There was an error while loading. Please reload this page.
Added dragon mini-games - #53
Conversation
@Rikhav21 is attempting to deploy a commit to the Hack Club Team on Vercel. A member of the Team first needs to authorize it. |
acornitum
commented
Jan 31, 2025
Hey - no worries! I took a peek at your code - would it be possible for you to add CircuitPython to it? The actual hackapet hardware device only runs CircuitPython - we only use pygame in order to make it display on PC screen. Go to setup here to learn how to install circuitpython: https://hackapet.hackclub.com/setup Code guide here! https://hackapet.hackclub.com/guide The main difference in circuitpy and pygame is how you load the images in. You shouldn't need to change that many lines of code - the gameplay loop should mostly still remain the same! Let me know if you have any questions :D Note: don't open a new PR, just commit changes to this current thread + send a comment when changes have been made! |
Rikhav21
commented
Jan 31, 2025
via email
OK, I will do it over the weekend. …On Fri, 31 Jan, 2025, 11:25 acon, ***@***.***> wrote:
Hey - no worries! I took a peek at your code - would it be possible for
you to add CircuitPython to it? The actual hackapet hardware device only
runs CircuitPython - we only use pygame in order to make it display on PC
screen.
Go to setup here to learn how to install circuitpython:
https://hackapet.hackclub.com/setup
Code guide here! https://hackapet.hackclub.com/guide The main difference
in circuitpy and pygame is how you load the images in. You shouldn't need
to change that many lines of code - the gameplay loop should mostly still
remain the same!
Let me know if you have any questions :D
*Note: don't open a new PR, just commit changes to this current thread +
send a comment when changes have been made!*
—
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BH3E3VI2WCSFOU2UBA7YIST2NOPYTAVCNFSM6AAAAABWH4OVH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRXG42DENJXGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Rikhav21
commented
Jan 31, 2025
I have updated the code, and now it works with Circuit Python |
Rikhav21
commented
Jan 31, 2025
Thanks for the tutourials. |
acornitum
commented
Feb 1, 2025
Rikhav21
commented
Feb 1, 2025
I have updated it, and now it is compiling, I am so sorry for the amount of times that the code did not work. |
acornitum
commented
Feb 2, 2025
Rikhav21
commented
Feb 2, 2025
That looks like it is because you did not install the folders with the sprites and backgrounds. Try downloading the entire file again, or check if the directory is the same, because it is working on my end, |
DominicTYLau
commented
Feb 6, 2025
Hi, it seems like I ran into the same errors. Try changing the file paths to "backgrounds/home.png" instead of "/backgrounds/home.png". |
Rikhav21
commented
Feb 6, 2025
Now it is done. |
acornitum
commented
Feb 9, 2025
Rikhav21
commented
Feb 9, 2025
The odd thing is that it is running on my end. It looks like you still have the same problem with the files |
Rikhav21
commented
Feb 9, 2025
acornitum
commented
Feb 10, 2025
Rikhav21
commented
Feb 10, 2025
Yes it does, which makes the errors weird. I think you might be having problems with downloading the image files, so try doing that again. |
I think the issue is that your images and the ones uploaded dont match. can you re upload the troublesome images and try again? Also make sure the code matches, I got it to run by changing these lines: |
Rikhav21
commented
Feb 25, 2025
I hope that this was the final update. |
Rikhav21
commented
Feb 25, 2025
Should work now. Last time, I promise. |
Rikhav21
commented
Mar 27, 2025
Hi! I just wanted to ask if I could close the request because right now it is more than a month past the due date, and I have not been able to find the problem. |





This is the hackapet game that I made, I am not sure of this is how I was supposed to code it, but if there are any problems please let me know. My slack user name is Rmardia