Anzeige

Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Suggestion: Moving cars

Suggestion: Moving cars 26 Jun 2015 09:10 #1

  • hajo
  • hajos Avatar
  • OFFLINE
  • Fresh Boarder
  • Beiträge: 5
  • Karma: 0
I was wondering: would it be possible to treat the "roads"
as just another type of "rail", to be used by trains of type "car"?

No need to set directions at switches/crossings,
each car would have a setting like "go left/straight/right" 10% / 70% / 20%,
(with a setting of 0% / 0% / 100% for "follow-the-right-wall" maze-running)
and move until it finds a stop (garage, busstop, gas-station, parking-space etc.),
park there and activate a random other car (or one of its own type, e.g. another bus).
Also reversing at the end of roads, and stopping at railroad-crossings and traffic-lights.
Letzte Änderung: 26 Jun 2015 09:23 von hajo.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Suggestion: Moving cars 26 Jun 2015 21:14 #2

  • joel
  • joels Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 43
  • Dank erhalten: 12
  • Karma: 4
Moving the little cars on the screen would be for sure very attractive, but this is a whole project in itself!
The graphical capabilities of CATrain are extremely poor because of the technology available when it has been created. In 1992 only 16 colors were available and moving graphical "sprites" inside a window was still a performance not easy to achieve.
Adding new graphical elements is very tedious and time consuming.
The first step is to completely redesign the display routines, using true color and transparency management, in such a way that a user can easily design his own locomotives and cars.
But this is not an easy task and a first attempt failed...
Before trying again, after releasing the "Audio" version, the priority will be to extend the "Itinerary" capabilities, with "alternative" routing.

Joel
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: ptitrainpaul
Moderatoren: joel, daniel, alan, françois

Copyright (c) 2005 - 2015: www.catrain.org by Joël Bouchat & Daniel Merbecks