tankerguy05
@tankerguy1917
Python, Panzers, Floof, and GuP. What more could a person want.
1
KAJAM entryEntry for the KAJAM game jam 2021
28
2
1
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 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
Is there a way to use a function with x amount of arguments in another function without knowing what x is?
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 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
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 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
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
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 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
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
Pygame
2
ResourceGameA resource collecting game.
It will probably be easier to see here:
https://replit.com/talk/share/Resource-Game/141972
98
2
2
2
Doodle warsA game where you collect resources and gain wealth
256
6
2
VofaDev Lol.. for some reason I went on this and expected doodle jump, but battling. Welp, good Idea for you!2 years ago
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
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 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
7
PlaytestThis is the game I submitted for the Kaboom Jam a little while ago
489
12
7
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
Pygame
PixelRunner You guys think its ez to win by spamming space... thats bcs the goal is to die1 year ago
Moyosoreoluwa nic egame, but i foungd a way to rack up points, if you spam the shoot button
1 year 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
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
#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