Maciah Lawson
@MaciahLawson
Follow me on instagram @moomootooslick
https://open.spotify.com/playlist/4GIKoGRQwHAbW1EvXYyDdK?si=f78eff0e5fef4aaf
Hello everyone, today is the last day of school for me and I am not going to be on repl for a while.
I hope all of you have a wonderful summer!!
Python
Hello, this is my BEST game yet!
This has taken my partners and I a few weeks where we only worked on this an hour a day, sometime more for me, ( Vir
Python
I have seen some profiles with a "content creator" and moderator tag? Can someone pls explain to me what those are?
Dart Hi! The moderator tag means that user is a moderator and they moderate this board that you just posted to. And the content creator tag is given to people that make great tutorials on the tutorial board. :)2 years ago
WELCOME TO LIFE!!
Please answer every question with UPPERCASE or this won't work properly.
UPVOTE IF U WANT MORE!!
This is an add on to my high-sch
Python
Bunnytoes error if you get far enough. Also I might make this in c# is that ok with you @MaciahLawson2 years ago
Ok, so I am trying to recreate the classic game of pong to challenge myself.
I was hoping that the problems with this program would sort themselves o
WELCOME TO HIGHSCHOOL
Be sure to upvote
Be sure to answer everything in UPPERCASE
UPVOTE IF YOU WANT MORE PARTS TO THE STORY
Python
I have created this myself. I have tried to involve some social issues to help people. This has taken me around 3 hours to code.
UPVOTE IF YOU LIKE
Python
ok, why is the user input overlapping. There is no syntax errors or anything.
Python
CreedWarrior567 Do /n at the end of the input - it should create a new line for your input!2 years ago
I have created this BETA High School game. Its made out of python. This took me an hour and a half just for this code.
UPVOTE IF U LIKE IT
ONLY THE J
noway15 No offense but there's a lot of if's and that kind of takes up a lot of space. I mean you could always use the class attribute and write the entire story in that from that specific character's POV in order to save coding space. This game isn't too bad though.2 years ago
How do I make a link so people can play my game on full screen? I have posted a game on share btw.
TheBest156 from tkinter import *
from PIL import Image, ImageTk
def showPIL(pilImage):
root = Tk()
w, h = root.winfoscreenwidth(), root.winfoscreenheight()
root.overrideredirect(1)
root.geometry("%dx%d+0+0" % (w, h))
root.focus_set()
root.bind("", lambda e: (e.widget.withdraw(), e.widget.destroy()))
canvas = Canvas(root, width=w, height=h)
canvas.pack()
canvas.configure(background='black')
imgWidth, imgHeight = pilImage.size
if imgWidth > w or imgHeight > h:
2 years ago
So, I am trying to repl.cate (hehe see what I did there). Anyways, I am trying to recreate Agar.io using Repl.it's pygame software. I have got the cod
Pygame
Ok, so I have the game code all done. Except that its saying I don't have a file even though I do. It's at line 25.
This is just an experimental test
Bookie0 Hmm it says that pygame.error: Unsupported image format, but .pngs should be supported by pygame.
Maybe make sure the image is correctly uploaded? I don't see anything (unless that's supposed to be the image?)
Screen Shot 2021-04-28 at 6.12.55 PM
Screen Shot 2021-04-28 at 6.12.32 PM
Also, I've heard that pygame isn't really working that well (bugs and stuff), so perhaps that may be a reason?
Good luck! :)2 years ago
robowolf You don't have any images in your repl. Add images corresponding to the file names. You can do this by clicking the three dots next to the new folder and then click upload file.2 years ago
Why is it doing this when I enter the which period I want to go to??
You will understand when you see all of the code.
FloCal35 in that if/else statement, else means if grades aren't 50. Also, you can't have more than one variable being "measured" in an if/else statement. Here's what I think your trying to do
if grades <= 50:
print("You failed")
else:
...
if health == 0:
print("How do you die in high school")
else:
...
`2 years ago
IMayBeMe To get a user input just use the input() function like this with a variable:
x = input('Enter your num: ')
y = input('Enter your second num: ')
`2 years ago
What are cycles?
Im a noob so i dont really know.
Bookie0 Cycles are sort of internet points (that don't have any use), like reputation on StackOverflow or karma on Reddit. You can get 1 cycle when someone upvotes your post:
Screen Shot 2021-04-22 at 6.34.48 PM
You also get 5 cycles when someone marks your answer as correct, if it helped and was good.
Screen Shot 2021-04-22 at 6.35.14 PM2 years ago
This satisfies most of ur calculating needs.
This took me around an hour to code. It prob the fastest code I have written.
Try it out or don't.
Look
Python
DynamicSquid The trig functions are a little inaccurate. I was expecting to enter a degree or radian, not the side lengths...2 years ago
This is so stupid. Will this crash ur computer?
So, I am creating a "Rock-Paper-Scissors" program for my programming class. This is the most advanced thing I have done so far. It hurts my brain to t
Muffinlavania HOLY GOD THIS IS THE MOST COMPLICATED ROCK PAPER SCISSORS I HAVE SEEN
do you have to use all these fancy imports for your class2 years ago
ok, so I have posted before about something small...
But this is "big" (to me)... and I don't really understand how to do this. Can someone help?
fro
figglediggle If you want to share code, add a repl to the post. We'll be able to help you more from there.2 years ago
I know a few good game engines for JAVA and C++ but I haven't really heard of any game engines for Python
I am fluent in Lua programming language if
SixBeeps Pygame is the most popular option, and it's really easy to get it set up. If you're looking for a heavier game engine, Godot also has support for Python.
For Lua, LÖVE is pretty neat.2 years ago