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

How can I change page title when I use full page components-Livewire

dynamic title here - {{ config('app.name') }} if you try this, please let me know.
Shekh Saifuddin
  • 470
  • 2
  • 6
  • 27
0
votes
1 answer

Laravel Livewire Same Component Two Items Sync in One Page

I made follower component. If visitor follows a author, then component will show Following and if not, it will show Follow. I put follower component in two places of page. -follower component.
LoveCoding
  • 1,121
  • 2
  • 12
  • 33
0
votes
1 answer

laravel livewire showing Constant expression contains invalid operations, how to fix this error

showing Constant expression contains invalid operations i am new in laravel livewire when i was trying to pass function value it showing Constant expression contains invalid operations. im trying this function 'suppliers_master_id' =>…
user12380208
  • 519
  • 7
  • 26
0
votes
0 answers

AttributeError: 'int' object has no attribute '_erase' Python 3.1

I am working in Python 3.1 and I want to make a game of avoiding falling objects. I always get a module error. My livewires is 1.9.1.. games.screen.background = games.load_image("boaj.jpg") budala = Budala() games.screen.add(budala) …
0
votes
0 answers

AttributeError: 'int' object has no attribute '_erase'

I am trying to make a game where you have to avoid objects falling from the sky. I am a beginner programmer (14yrs old) so I make a lot of mistakes. I solve all of them(for this program) but i dont know how to fix this one. The error is in title.…
0
votes
2 answers

Python 3.6.5 won't install pygame or LiveWires for Windows 10 (pip doesn't work either)

I have Python 3.6.5 for class and need to install pygame and LiveWires. I have Windows 10 and I cannot for the life of me get them to install. I am on day 4 trying everything I can and everything I find. I cannot get them. I read that Python…
0
votes
1 answer

First time programming in livewires module, How do I make a start page for my executable game?

I want my game to go to a title slide first and return to that slide when the character dies (its an asteroids clone) any help would be much appreciated.
0
votes
1 answer

How to reference Sprite object property in one class from another?

I dont know how to reference the 'top' property of the Sprite object in Livewires in one class, from another class??
Paris
  • 97
  • 1
  • 2
  • 7
0
votes
0 answers

is it possible to create a sprite class with out image?

I am trying to make a simon says game, and I don't need my User sprite to have image, but is it possible to make sprite with out calling image? like below? Or it is always required to call image whenever programmer creates a sprite? #example class…
Tom_the_cat
  • 159
  • 12
0
votes
1 answer

get value from livewires.games.Text object

I have a livewires.games.Text object called score which I am trying to get the value out of. I have tried converting it to a doing scores = str(self.scores) and even a for loop: scores = str(self.score) for item in scores: print(item) All I am…
DarthOpto
  • 1,640
  • 7
  • 32
  • 59
0
votes
0 answers

cannot import name 'games'

I'm using Pygame and livewire to practice some basic graphics manipulation. I run into a little error: RESTART: C:\Users\Timothy\AppData\Local\Programs\Python\Python35-32\Scripts\NewWindow.py Traceback (most recent call last): File…
Timothy Jao
  • 13
  • 1
  • 3
0
votes
1 answer

counting movement with livewires

so here is my question. i have an image that i want to continuously move side to side on the screen. and i want to display a count each time it does. ive tried to clean up my code to before i messed it all up. can someone help me with what i need to…
0
votes
1 answer

pip install livewires gets no matching distribution found for pygame

I am getting the following errors when run pip install livewires: Collecting livewires Using cached LiveWires-2.1.tar.gz Collecting pygame (from livewires) Could not find a version that satisfies the requirement pygame (from livewires) (from…
Liu
  • 1
  • 1
0
votes
1 answer

Adding a Sprite to screen in pygame

I'm a beginner and I'm been set a challenge to make a 'Simon says' game. However, I can't get 'yellow_tile' to appear on the screen in the code below. What am I missing. I know it must be something very elementary, but I'm stuck. Thanks. Code(under…
Michael Johnson
  • 470
  • 6
  • 18
0
votes
1 answer

Python Livewires - from livewires import games

Well, here I am again. My unluck with python never seems to end... I am following the book, 'Python Programming for the Absolute Beginner' and I managed to use its '.bat' file thanks to you community. Turns out instead of: setup.py pause the guy…
Lixerman99
  • 151
  • 1
  • 2
  • 11