Skip to content
Sign UpLog In
Profile icon

tankerguy05

@tankerguy1917
Python, Panzers, Floof, and GuP. What more could a person want.
Twitter
GitHub
YouTube
Repls
Community
tankerguy1917
tankerguy1917
shared a Post
1 year ago
Pygame collisions
tankerguy1917
tankerguy1917
shared a Post
1 year ago
Dcampb007
Dcampb007
Does the IDE show a linter error? Is this possible with repl.it?9 months ago
tankerguy1917
tankerguy1917
published a Repl
1 year ago
1
KAJAM entry
KAJAM entryEntry for the KAJAM game jam 2021
maxor
maxor
epic!1 year ago
tankerguy1917
tankerguy1917
shared a Post
1 year ago
Is there a way to import classes/variables from a separate folder/file using a function? I tried it this way as well as trying to returning the a, b,
Coder100
Coder100
hi, perhaps you are looking for the import function: https://www.geeksforgeeks.org/python-\\import\\-function/ also don't forget about the scope. Because you imported it in a function, it can't be used outside of the function. No way around this.* def custom_import(): from t import a as aa,b as bb, c as cc global a, b, c a, b, c = aa, bb, cc custom_import() print(a,b,c) `1 year ago
SixBeeps
SixBeeps
Is there any reason why you'd want to do that?1 year ago
tankerguy1917
tankerguy1917
shared a Post
1 year ago
Is there a way to use a function with x amount of arguments in another function without knowing what x is?
Coder100
Coder100
yes! def decorater(*args): print(*args) decorater("lol", "lol") `1 year ago
tankerguy1917
tankerguy1917
shared a Post
1 year ago
I am trying to get familiar with using js and kaboom.js for the upcoming jam, and I've ran into a little issue. When I make a kaboom project using one
MrVoo
MrVoo
Replit makes Kaboom a bit more automatic, you don't need to add things like kaboom() or loadSprite(). Also, you don't need to use Kaboom1 year ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
Does anyone know of any good UI libraries for python? I'm looking for things like buttons, sliders, dropdown menus, etc. I know about Tkinter, but I p
VulcanWM
VulcanWM
You can try Kivy, I’ve heard that is pretty good. You can try something new like making websites with Python with Flask so you can control everything with HTML, CSS and JS2 years ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
I was inspired a while ago to make this by 2 posts (I can't find them because they were so long ago). This isn't the most impressive thing, as I basi
ShizukoV
ShizukoV
Nice! Also to find your posts, just look in here2 years ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
Is it possible to loop through n number files using python? I am working on a project with my brother (not on replit) and one of the things we need to
Coder100
Coder100
Well, you can't just loop through an n number of files, you have to know what files they are! Here's something: https://careerkarma.com/blog/python-list-files-in-directory/2 years ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
#pygame
#python
#game
About Resource Game is a game where you collect and sell resources to collect as much money as you can It is sort of a graphical version of one of my
ResourceGame
Pygame
tankerguy1917
tankerguy1917
published a Repl
2 years ago
2
ResourceGame
ResourceGameA resource collecting game. It will probably be easier to see here: https://replit.com/talk/share/Resource-Game/141972
tankerguy1917
tankerguy1917
published a Repl
2 years ago
2
Doodle wars
Doodle warsA game where you collect resources and gain wealth
VofaDev
VofaDev
Lol.. for some reason I went on this and expected doodle jump, but battling. Welp, good Idea for you!2 years ago
maxor
maxor
Hey! I worked on this game IDK if u remember me, my name was funky at the time. I've gone back and fixed some bugs and made alliances, would be cool to make a pygame version of this, as I now have 5-7 months of pygame experience currently.1 year ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
I am using a class Player and I am getting an error saying that init() takes 3 positional arguments but 4 were given when I only put in 3 arguments. D
Coder100
Coder100
You forgot the self argument, here is the correct code class Entity: def init(self, hp, mp, name): self.hp = hp self.mp = mp self.name = name class Player(Entity): def init(self, hp, mp, name): self.hp = hp self.mp = mp self.name = name the self argument is used to refer to the class itself.2 years ago
tankerguy1917
tankerguy1917
published a Repl
2 years ago
7
Playtest
PlaytestThis is the game I submitted for the Kaboom Jam a little while ago
pygrammer123
pygrammer123
how to win: press spacebar till the end2 years ago
ThePythonCoder12
ThePythonCoder12
why does it say it was forked from someone elses repl?2 years ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
This is my submission for the Kaboom Jam. I wanted to use Kaboom, but with school, life and other things, I didn't have much time, so I used Pygame. I
Playtest
Pygame
PixelRunner
PixelRunner
You guys think its ez to win by spamming space... thats bcs the goal is to die1 year ago
Moyosoreoluwa
Moyosoreoluwa
nic egame, but i foungd a way to rack up points, if you spam the shoot button 1 year ago
Vivaanawesome
Vivaanawesome
Wow but kunda original1 year ago
tankerguy1917
tankerguy1917
shared a Post
2 years ago
Hey replers, hope you all are doing well. I made something in HTML5 for the first time in a few years, and I wanted to share it with all of you. Let
tankerguy1917
tankerguy1917
shared a Post
2 years ago
This isn't anything to special, just an idea randomizer. If any of you are trying to make a game but cant figure out any ideas, just run this a few ti
tankerguy1917
tankerguy1917
shared a Post
2 years ago
#About This is a simple AI I made for enemies in a game I'm making. They will move towards you and attempt to touch your player. #How After you press