Anzeige

Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Suggestion: Moving cars

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

  • hajo
  • Portrait de hajo
  • Hors ligne
  • Fresh Boarder
  • Messages : 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.
Dernière édition: 26 Jui 2015 09:23 par hajo.
L'administrateur a désactivé l'accès en écriture pour le public.

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

  • joel
  • Portrait de joel
  • Hors ligne
  • Administrator
  • Messages : 43
  • Remerciements reçus 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
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: ptitrainpaul
Modérateurs: joel, daniel, alan, françois

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