|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
Inf3rnal
Joined: 15 Jun 2006 Posts: 118 Location: Neverland
|
Posted: Thu Dec 28, 2006 1:18 pm Post subject: |
|
Lūk manas figūras definīcija:
Code: | Dim bgRECT As Rectangle = New Rectangle(koordinateX, koordinateY, 96, 128) |
|
|
Back to top |
|
|
bubu Indago Uzvarētājs
Joined: 23 Mar 2004 Posts: 3223 Location: Riga
|
Posted: Thu Dec 28, 2006 2:25 pm Post subject: |
|
Un? Es tak neprasu kā tu ko definē. Bet es tev prasu pēc būtības, kas tā par figūru tev ir.
Pie tam - kā lai zina, kas ir Rectangle klase? |
|
Back to top |
|
|
DeRatizators
Joined: 27 Apr 2006 Posts: 492
|
Posted: Thu Dec 28, 2006 3:11 pm Post subject: |
|
Ir aizdomas, ka tas ir parasts taisnstuuris ar koordinateem x1,y1,x1+w,y1 + h
Inf3rnal, centies peec iespeejas aatraak visu sagremot, jo bubu saacis kljuut kashkiigs
Cik saprotu, tu gribi atrast figuuras centru, lai to vareetu izroteet peec patikas, un ja vajag, peec tam arii paarvietot. _________________ Any PANCAKE has to be long and thin and short and fat. Not to mention being an excellent insulator and a superb conductor. |
|
Back to top |
|
|
Inf3rnal
Joined: 15 Jun 2006 Posts: 118 Location: Neverland
|
Posted: Thu Dec 28, 2006 7:06 pm Post subject: |
|
Mana figūra ir četrstūris - taisnstūris 96x128 pixeļi |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|