Απάντηση στο σχόλιο

SetBackground("background file");

Sets the background of the room to the image passed as parameter. The image file must be in the resources\backgrounds folder of the unit which contains the room. The background change often needs to change the value of the Table variable that sets the y plain of the room. These changes are made before the StartPhysics() call.

Παράδειγμα: 

//Change background
SetBackground("NewRoom.jpg");
//Change the Table variable
Table=650;
//Start physics library
StartPhysics();
//The rest of the code of the room

Απάντηση

  • Διευθύνσεις ιστού και e-mail μετατρέπονται αυτόματα σε παραπομπές.
  • Επιτρεπόμενες ετικέτες HTML: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Αυτόματες αλλαγές γραμμών και παραγράφων.

Περισσότερες πληροφορίες για τις επιλογές μορφοποίησης

By submitting this form, you accept the Mollom privacy policy.