Python Forum
The graphic/simulator is not loading in OOP version
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The graphic/simulator is not loading in OOP version
#3
(Sep-05-2018, 06:13 PM)Gribouillis Wrote:
(Sep-05-2018, 06:07 PM)Caturix99 Wrote: Now I have the problem that the plantes of my solar system are not loaded anymore.
I don't understand this. Where should the planets be loaded? What your code does is creating 10 Planet instances and append them to the 'planets' list. Do you expect anything else? By the way, the sun is not a planet!
This is just an excerpt of my code. There are the variables and functions my solar system is working. But not with the OOP version. And I figured out that when it has to be in this part of the code. I thought I did something wrong with the OOP version. Because the planets are not loaded so I dont see them visually in the simulator, but in the normal version I see them. (And I know that the sun isn't a planet. lol)
Reply


Messages In This Thread
RE: The graphic/simulator is not loading in OOP version - by Caturix99 - Sep-05-2018, 06:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Graphic line plot with matplotlib, text file in pytho khadija 2 1,426 Aug-15-2022, 12:00 PM
Last Post: khadija
  elevator simulator...whats the wrong at this code? tasos710 5 5,960 Jun-11-2019, 01:38 AM
Last Post: micseydel
  Embedding Python into a simulator siggi 0 2,210 Apr-24-2019, 07:42 PM
Last Post: siggi
  Can I upload a new version without previously deleting ancient version sylas 6 4,294 Nov-08-2017, 03:26 PM
Last Post: Larz60+
  Graphic of total different connection opened by one ip (per seconds) by time FoxModem56k 0 3,208 May-25-2017, 03:27 PM
Last Post: FoxModem56k

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020