I am creating a AI backgammon bot and have written some code using an arcade to show the board, pieces, etc. I have a function that will run a simulation game between two versions of the AI. When I use a button that advances the game by one turn,…
I'm trying to build a simulation on python.
I want a grid of 50x50 cells of different colors
And balls that spawn on the grid and move until they collid a cell of another color.
When a ball collide a cell of another color, the cell change her color…
I'm making a top-down racing game that has local multiplayer. I want each player to have their own view on the screen. The problem I'm having is that it seems you can't change a camera's position within the window. Ideally, I want to be able to have…
I'm trying to draw a isometric Tiled-Map with the python arcade library.
How can I project an isometric tiled-map grid onto the screen-space with arcade?
The following naive top-down 2d approach is not working:
import arcade
class…
Hello this is My first post on stackoverflow, so I apologize in advance if my post is irrelant or problematic.
I am using the python libraries Arcade and Arcade.gui.
Currently I try to add GUI widgets in a Section instance (named popup in the code…
I'm trying to run pyglet in headless mode in a docker container but even though I use pyglet.options["headless"] = True I still get this error:
2023-03-12T09:05:13.655921692Z ImportError: Library "GL" not found.
This is the dockerfile:
#…
I was writing a simple ping pong game as an introduction to arcade and in the loop on line 51. It is supposed to stop the sprites moving but it just isn't happening. I tried to remove the self., but got an error, tried replacing self. with arcade.,…
I'm trying to adapt a big radiative transfert code written in python to use the GPU capacities, as I perform a lot of times the same computation which can be done in parallel. I'm a newbie when it comes to shaders, but found this, which seems to…
im working on a game in python arcade, where the player runs around, shoots zombies, etc. very basic game. just recently, i started implementing the spawn over time part, but i get an error that just makes no sense:
AttributeError: 'MyGame' object…
im trying to make the enemies in my python arcade game to spawn over time, and progressivley spawn faster, rather than all just spawning at once, cause i want it to be a "how long can you last" kind of game, rather than one with an end goal. i cant…
I'm trying to add a gui with play game, settings, and quit buttons for my basic 2d zombie shooter game for a school assessment, but when i run the code, it has this error:
line 195, in on_draw
self.manager.draw()
AttributeError: 'MyGame' object…
I have installed Python Arcade using
pip install arcade
which ran successfully.
When trying to run the example code, or even just trying to import arcade from the Python command line, I receive an error
>>> import arcade
Traceback (most recent call…
I am getting this error when trying to run my code, the error.
Traceback (most recent call last):
File "D:/Colin Lewis/pythonProject3/Lib/import_tileset.py", line 264, in
main()
File "D:/Colin…
I'm trying to change the background texture in an Arcade app, however, even though I requested Arcade not to cache textures, it seems as though it does. This is my code:
class Application(arcade.Window):
# ...
def on_draw(self):
if…
Hello I'm new in Python and this is my first post here!
I am creating a small game using arcade library. One of the methods called draw is used to display the game images on the screen and it works fine. However, I'm reusing it in different files…