18.01.2024 thu
DefiniBus development diary. Definibus is a space "simulation" written in in Python and pygame.
Wednesday, January 17, 2024
Linux test
Tuesday, January 16, 2024
Station Managment, part 1
===============
Saturday, January 13, 2024
NPC flight and other
I have been implementing NPC flight system now. Quite a struggle, but got it to work now somehow. Next up in the endless task list will be Station Management, meaning that player will be able to buy a station and follow and (micro)manage station issues and also hopefully earn cash in the progress, when things go well.
I though it could be fun to show my raw dev notes from my VS code project. So these notes are for myself to remember and organize things. The content is really "raw"/unedited :) So here they are
Sunday, January 7, 2024
NPC development
Christmas break over now and works to be started (both day-job and this hobby-project ) :)
Some random ramblings about things done and to be done.
Already started to implement NPC flying mechanism. Firstly, NPCs must buy ships and related stuff, like fuel for ships. Some randomness had to be added to the procedures so that not every NPC goes to buy ships and start to fly around at the same time. Actual travel destination selection need to be done based on what NPC is doing (trading or completing other missions). Flying logic need to include some kind of smooting / filtering algorhitm for direction selection, so that ship movement does not appear to be "jerky" when direction is applied continuously based on calculated heading.
Saturday, December 23, 2023
Christmas update
Added a video clip to Youtube which demonstrates draft of ship market.
Link here: https://youtu.be/5EoGdLnp5vc?feature=shared
Next thing to do is add those poor NPCs stuck in stations paying residential taxes the "brains" to buy ships and fly around Galaxy :)
Time for Christmas break.
Merry Christmas!
Thursday, December 14, 2023
Ships, docks and more
Some changes to ship docking. Ships are pulled "inside station" and are not visible when docked. Nice zooming out/in as a bonus :)
Also started to design NPC ship system and also general improvements for Ship logic. Player now starts with no ship in possession, so he must buy one to be able to travel between stations.
More on this later after I have managed to implement my plans..
Friday, December 8, 2023
Bulletin board, NPC "AI" and missions
I have been implementing Bulletin Board System to stations. It is used for general communication between player and NPCs and also for providing tasks and missions for player (and other NPCs). Also first mission type, delivery missions now implemented, or rather first subset of delivery missions.
System is quite complex, in that mission instances pass between, for example NPC -> station -> Player -> other NPC, with loosely coupled handling logic. I think it provides good ground for more complex scenarios still.
Also started to implement NPC "AI". NPCs now can set messages within a certain set of rules to BBS system. Also, stations are owned by an NPC.
Graphics are still "programmers art", but that have to do at least for the time being.
Below is a screenshot from Bulletin board system in action..
![]() |
BBS in action |
Also, made a Youtube -video demonstrating the BBS and a delivery mission. Link: https://youtu.be/xIgxCIkWahE?feature=shared
.
A while since last post. DeFinibus project has not been progressing at all, but it is not dead yet. Planning to revive the doings soon. Mean...
-
# 29.01.2024 mon NPC station time depends now on time acceleration ( as it should) TODO next: Station manage screen must be sketched..It m...
-
18.01.2024 thu ============== Smoke tested DeFinibus on Linux, only few changes related to file system paths being handled differently be...
-
Implementing menu system and station Stock market and shipyards functionality. Below is a screenshot of first prototype of menu system. Not ...