Go to advanced search

by Raspberry Pi Micro
Wed Jul 15, 2020 3:11 pm
Forum: Gaming
Topic: Installing - Silent Wings Gliding Simulator
Replies: 6
Views: 376

Re: Installing - Silent Wings Gliding Simulator

DougieLawson wrote:
Wed Jul 15, 2020 9:53 am
Perhaps you should ask the software developer https://www.silentwings.no/s/support/ if they would be willing to create a native RPi4/RaspiOS version. A RPi4 with RaspiOS64 would be a good target platform for them.
An email has been sent to Silent Wings Development Team, awaiting a reply.
by Raspberry Pi Micro
Wed Jul 15, 2020 1:44 pm
Forum: Gaming
Topic: Installing - Silent Wings Gliding Simulator
Replies: 6
Views: 376

Re: Installing - Silent Wings Gliding Simulator

Perhaps you should ask the software developer https://www.silentwings.no/s/support/ if they would be willing to create a native RPi4/RaspiOS version. A RPi4 with RaspiOS64 would be a good target platform for them. I have sent an email to Silent Wings Development Team, so will wait for a reply. Anot...
by Raspberry Pi Micro
Wed Jul 15, 2020 9:37 am
Forum: Gaming
Topic: Installing - Silent Wings Gliding Simulator
Replies: 6
Views: 376

Installing - Silent Wings Gliding Simulator

Does anyone else have Silent Wings Gliding Simulator installed on a Raspberry Pi.

I have a licence copy of this simulator, will be interested to see if I can get this to work on my Raspberry Pi 3 B+ or would I need to buy a Raspberry 4 8GB.

https://www.silentwings.no
by Raspberry Pi Micro
Wed Jul 15, 2020 9:33 am
Forum: Gaming
Topic: Installing FlighGear
Replies: 4
Views: 414

Re: Installing FlighGear

You would be surprised how many games from the Raspberry Pi repository are not usable on the Raspberry Pi computer. You can use the entire day solving problems with these Linux games. Here is what I realized about Linux games from the Raspberry Pi repository. These Linux games were not updated in o...
by Raspberry Pi Micro
Wed Jul 15, 2020 9:25 am
Forum: Gaming
Topic: Installing FlighGear
Replies: 4
Views: 414

Re: Installing FlighGear

Phoenixbyrd wrote:
Thu Jul 09, 2020 10:00 pm
sudo apt install flightgear works, but the game is pretty unplayable from what I've seen.
Will try - sudo apt install flightier and see what happens, but expecting it not to work.
by Raspberry Pi Micro
Thu Jul 09, 2020 6:11 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

Thonny is our in house supported Python IDE offering. So that is the one I would recommend! Ok, thank you, will take on your advice and start to use Thonny. On starting Thonny, I notice in the top right of Thonny window in blue text "Switch to regular mode". Should I click on this or leav...
by Raspberry Pi Micro
Thu Jul 09, 2020 2:45 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

To start with was going to just use it for learning and writing python code... what would you recommend type setup to have with someone in the early stages of learn python. You don't need to add anything at all. In fact, I'd even suggest that Visual Studio Code is an overcomplicated tool for this t...
by Raspberry Pi Micro
Thu Jul 09, 2020 12:13 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

Now that I have VSC up and running, is there a specific way that VSC should be setup. You havent really told us what you want to use it for. This program is very flexible and has so many available plugins that its unlikely two people have the same setup. Sorry,. To start with was going to just use ...
by Raspberry Pi Micro
Wed Jul 08, 2020 7:36 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

I have finally managed to get Visual Studio Code installed on my Raspberry Pi 3 B+ Opened Terminal, then type and enter the following. wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key app This had take a couple of minutes to complete, then again using the terminal I type...
by Raspberry Pi Micro
Wed Jul 08, 2020 5:30 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

Relevant thread.. https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=273070 I dont know if all the problems they had in that thread is ironed out or not. Starting point is here at least: https://code.headmelted.com/ I have a working install, with Pi OS 32bit, somethings don't work because ...
by Raspberry Pi Micro
Wed Jul 08, 2020 5:17 pm
Forum: Python
Topic: Syntax Error: invalid syntax
Replies: 3
Views: 188

Re: Syntax Error: invalid syntax

gordon77 wrote:
Wed Jul 08, 2020 5:11 pm
Try h = int(time.strftime("%I"))
That worked, thank you.
by Raspberry Pi Micro
Wed Jul 08, 2020 4:59 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Re: Installing Raspberry Pi Visual Studio Code

This is what I use, or I build it myself https://code.headmelted.com/ Thank you, I open the terminal then type the following below. wget -O - https://code.headmelted.com/installers/apt.sh Is this the correct way to install. When I press enter, I get the following error message from the Terminal. wg...
by Raspberry Pi Micro
Wed Jul 08, 2020 4:27 pm
Forum: Python
Topic: Syntax Error: invalid syntax
Replies: 3
Views: 188

Syntax Error: invalid syntax

I'm still currently learning Python and picking up a few things each day, the line of code below is part of what will produce an analog clock display. h = int(time.strftime(%I)) When I try and run the complete code, I get the following error message. SyntaxError: invalid syntax This is pointing to t...
by Raspberry Pi Micro
Wed Jul 08, 2020 2:49 pm
Forum: Python
Topic: Installing Raspberry Pi Visual Studio Code
Replies: 21
Views: 1356

Installing Raspberry Pi Visual Studio Code

What are the steps for installing Visual Studio Code on a Raspberry Pi using RPiOS.
by Raspberry Pi Micro
Sun Jul 05, 2020 7:09 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

bensimmo wrote:
Sun Jul 05, 2020 3:29 pm
if you haven't already, then check out wireframe.
Free pdf to get to know it, then buy if you wish to support it.
https://raspberrypipress.imbmsubscripti ... -magazine/

and have a look at

https://store.rpipress.cc/collections/b ... e-classics
Ok, thank you.
by Raspberry Pi Micro
Sun Jul 05, 2020 6:32 pm
Forum: Gaming
Topic: 1980s Classic Arcade Games
Replies: 8
Views: 576

Re: 1980s Classic Arcade Games

The list I am showing you is not a list of python program language games. The games are open source which means you can browse the source code of the game. Here is a link to Debian arcade games: Debian Games Arcade packages https://blends.debian.org/games/tasks/arcade Most of these games are either...
by Raspberry Pi Micro
Sun Jul 05, 2020 4:59 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

There is another difference that could cause miscalculations when running Python 2 code with Python 3. In Python 2 an integer divided by an integer results in an integer so 5 / 2 = 2 , whereas in Python 3 it will give the correct floating point number 5 / 2 = 2.5 . This only happens if both the num...
by Raspberry Pi Micro
Sun Jul 05, 2020 3:45 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

Thank you, there were approx 12 lines of code with the same <> these were all changed, there were also a couple of print errors where no brackets were used (). The code was definately written for Python 2, print bring used without brackets is probably the most visible difference between 2 and 3. In...
by Raspberry Pi Micro
Sun Jul 05, 2020 3:11 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

Where have you downloaded this from? Without knowing that we can't check it. It's likely an error on the previous line which is causing the if to be a syntax error (python is expecting something else). Or it might be a case where the program is written for python 2 and you are running it with pytho...
by Raspberry Pi Micro
Sun Jul 05, 2020 3:00 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

is this the one on the blog? arcade classic book ? mixer is sound... is it the change in the sound in RPiOS. I can have a look later. This is where I downloaded the game from. https://www.pygame.org/project/1049 Then clicked on this link. https://sourceforge.net/projects/asteroidsinf/ I'm very much...
by Raspberry Pi Micro
Sun Jul 05, 2020 2:57 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Re: Asteroids Infinity Game - Error message

The not equal operator for Python is != and not <>. Also, you do not need to check for None. You can do the following: if Pygame.mixer.get_init(): # whatever follows Thank you, there were approx 12 lines of code with the same <> these were all changed, there were also a couple of print errors where...
by Raspberry Pi Micro
Sun Jul 05, 2020 2:12 pm
Forum: Python
Topic: Asteroids Infinity Game - Error message
Replies: 12
Views: 469

Asteroids Infinity Game - Error message

I have downloaded the Asteroids Infinity Game, one of the classics from the 1980s, when I try to run the game from the Terminal or using Thonny, I get the following error message, the error message comes from line 65. Line 65 : if Pygame.mixer.get_init() <> None: if Pygame.mixer.get_init() <> None: ...
by Raspberry Pi Micro
Sun Jul 05, 2020 8:21 am
Forum: Gaming
Topic: Installing FlighGear
Replies: 4
Views: 414

Installing FlighGear

Could someone please explain the full process of installing FlightGear Flight Simulator at https://www.flightgear.org on the Raspberry Pi.
by Raspberry Pi Micro
Sat Jul 04, 2020 7:07 pm
Forum: Python
Topic: Installing Arcade
Replies: 5
Views: 334

Re: Installing Arcade

Try this (for python3) from a Terminal, logged in as pi: sudo pip3 install arcade Thank you, using the terminal I typed sudo pip3 install arcade, after approx 2 mins looks like the process was completed. The lines of code in my short program. """ Show a timer on-screen. If Python and...
by Raspberry Pi Micro
Sat Jul 04, 2020 6:09 pm
Forum: Python
Topic: Installing Arcade
Replies: 5
Views: 334

Installing Arcade

I'm new to learning Python. In the one line of core below. import arcade When I run the short program using Thonny, I get the following error message. Traceback (most recent call last): File "/home/pi/timer.py", line 8, in <module> import arcade ModuleNotFoundError: No module named 'arcade...

Go to advanced search