Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Siky

Pages: [1] 2 3
1
Technick? f??rum / Re: glob??ln? pole
« on: June 26, 2007, 05:40:42 PM »
Jo diky, to bylo ono

2
Technick? f??rum / glob??ln? pole
« on: June 25, 2007, 08:18:01 PM »

3
Technick? f??rum / Re: 2D pole
« on: May 31, 2007, 07:01:33 PM »

4
Technick? f??rum / 2D pole
« on: May 31, 2007, 06:24:45 PM »
Code: [Select]
var array1 = new Array();

function napln_data()
{
var temp1;
var array2 = new Array();
for (var j=0; j<3; j=j+1)
{
  for (var i=0; i<3; i=i+1)
  {
    array2[i] = 10*i+j;
    Game.LOG(array2[i]);
  }
  temp1.array = array2;
  array1[j] = temp1;
}

}

function vypis_data()
{
var t;
var t2;
for (var j=0; j<3; j=j+1)
{
  t = array1[j];
  for (var i=0; i<3; i=i+1)
  {
    t2 = t.array;
    Game.LOG(t2[i]);
  }
}
Code: [Select]
napln_data();
Game.LOG("----------");
vypis_data();
Code: [Select]
19:16: 0
19:16: 10
19:16: 20
19:16: 1
19:16: 11
19:16: 21
19:16: 2
19:16: 12
19:16: 22
19:16: ----------
19:16: 2
19:16: 12
19:16: 22
19:16: 2
19:16: 12
19:16: 22
19:16: 2
19:16: 12
19:16: 22

5
Technick? f??rum / Re: dvojit? p?ehr??t? spritu
« on: May 15, 2007, 07:28:53 PM »

6
Technick? f??rum / dvojit? p?ehr??t? spritu
« on: May 15, 2007, 03:30:37 PM »
Code: [Select]
sp.Play();
sp.Reset();
sp.Play();

7
Technick? f??rum / Nova Hra
« on: February 01, 2007, 09:23:17 PM »

8
Technick? f??rum / Re: z-sou?adnice
« on: January 03, 2007, 10:29:11 PM »
Ukazku z projektu, kter?? pad??, jsem ti poslal emailem

9
Technick? f??rum / Re: z-sou?adnice
« on: January 03, 2007, 04:42:37 PM »

10
Technick? f??rum / Re: z-sou?adnice
« on: January 03, 2007, 04:12:30 PM »

11
Technick? f??rum / Re: z-sou?adnice
« on: January 02, 2007, 10:13:26 PM »
Code: [Select]
  var en = Scene.CreateEntity("jmeno");
  en.SetSprite("sprites/body.sprite");
  en.AttachScript("scripts/body.script");

  var sp = en.GetSpriteObject();
  Game.Msg("sp = " + sp );                     // toto je OK
  sp.CurrentFrame = 4;                         
  Game.Msg("sp.name = " + sp.Name);     // toto je OK
  Game.Msg("sp.curr = " + sp.GurrentFrame);  // toto vraci porad [null]

Prirazeni  sp.CurrentFrame = 4; proste nefunguje a sprit se mi cely prehraje a skonci na poslednim snimku (na desatem).                       


12
Technick? f??rum / Re: z-sou?adnice
« on: January 02, 2007, 08:15:14 PM »

13
Technick? f??rum / Re: z-sou?adnice
« on: January 02, 2007, 07:59:27 PM »

14
Technick? f??rum / Re: z-sou?adnice
« on: January 02, 2007, 07:14:14 PM »
Code: [Select]
 
  var en = Game.CreateEntity("jmeno_body");
  en.SetSprite("sprites/body.sprite");
  en.AttachScript("scripts/body.script");

  var sp = en.GetSprite(); 
  sp.CurrentFrame = 4;                    // tohle nefunguje
  Game.Msg(sp.CurrentFrame);         // tohle vraci null

15
Technick? f??rum / z-sou?adnice
« on: January 02, 2007, 06:02:49 PM »

Pages: [1] 2 3

Page created in 0.168 seconds with 22 queries.