Questions tagged [livewires]

LiveWires is a Python package designed to be used as part of the "LiveWires" programming course, a course intended to teach Python to young, first-time programmers. LiveWires might also refer to the course itself.

LiveWires is a Python package designed to be used as part of the "LiveWires" programming course, a course intended to teach Python to young, first-time programmers. It is built on top of and .

The LiveWires package is licensed under the

160 questions
0
votes
1 answer

pong program in python, cannot move paddle with mouse

Hey all im working on a homework assignment in which i have to create a single player pong game through pygame and livewire. I have the code mostly finished but I do have one issue. The screen does not update and in doing so the paddle doesn't move…
-1
votes
0 answers

Repeating same data in child / detail row in Master detail form(Parent -Child Form) in Laravel Livewire

I am developing application in Laravel livewire. When I add through button then automatically data get from previous child row but when I change in new row then automatically changing in previous child row. I referred code from this video…
abdul rahman
  • 9
  • 1
  • 4
-1
votes
2 answers

SPA on Livewire not loading js elements after 2nd page Render

My SPA based on livewire is not loading javascript events after second page rendering: For example, two cases : First page refresh in dashboard loads the charts plugin. After I render some other page and come back to dashboard, the chart does not…
-1
votes
1 answer

Is there a way to have a sprite follow another in a grid pattern?

I am trying to make a game of Snake. I have most of the functions (snake head, moving in grid, eating food). The problem I am having is making the snake grow after it eats a piece of food. I have made the head of the snake corrects it's path to the…
-1
votes
2 answers

Single player 'pong' game

I am just starting out learning pygame and livewires, and I'm trying to make a single-player pong game, where you just hit the ball, and it bounces around until it passes your paddle (located on the left side of the screen and controlled by the…
Jam
  • 223
  • 1
  • 7
  • 14
-1
votes
1 answer

How can I add a timer to my game?

I'm working on a game that is sort of like a simple Galaga-esk game. Although, they only move once in a while (something else I can't get working, but that's something different). So, since they don't move on their own, I want a way to add a timer…
-2
votes
1 answer

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar

composer require livewire/livewire Using version ^2.3 for livewire/livewire ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) PHP Fatal error: Allowed memory size…
-2
votes
1 answer

How can I move a sprite using the keyboard with Pythons PyGame?

I am making a remake of a video game to learn pygame and livewires. I am using livewires because it seems to be a good way to have the background graphics loaded with a sprite. I am trying to have a pre-loaded sprite move horizontally, while…
JohnC
  • 17
  • 3
-2
votes
2 answers

Can't assign to operator?

Several questions have the same error, but I'm just starting Python and don't understand it. I'm trying to create a program which generates two random numbers, nicknames these numbers, asks the user what the answer is, multiplies the two numbers and…
-2
votes
1 answer

Get a sprite to follow/chase another in Livewires python?

I am trying to make a top down shooter style game and am having a hard time getting a sprite to "chase" the player's sprite.
1 2 3
10
11