-
Notifications
You must be signed in to change notification settings - Fork 94
Added dragon mini-games #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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. |
|
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! |
|
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:
***@***.***>
|
|
I have updated the code, and now it works with Circuit Python |
|
Thanks for the tutourials. |
|
I have updated it, and now it is compiling, I am so sorry for the amount of times that the code did not work. |
|
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, |
|
Hi, it seems like I ran into the same errors. Try changing the file paths to "backgrounds/home.png" instead of "/backgrounds/home.png". |
|
Now it is done. |
|
The odd thing is that it is running on my end. It looks like you still have the same problem with the files |
|
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: |
|
I hope that this was the final update. |
|
Should work now. Last time, I promise. |
|
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