dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

Transformations
Goto page Previous  1, 2, 3
 
dev.gamez.lv Forum Index -> Grafikas programmēšana un teorija
View previous topic :: View next topic  
Author Message
Inf3rnal



Joined: 15 Jun 2006
Posts: 118
Location: Neverland

PostPosted: 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
View user's profile Send e-mail
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: 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
View user's profile Send e-mail
DeRatizators



Joined: 27 Apr 2006
Posts: 492

PostPosted: 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 Very Happy
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
View user's profile
Inf3rnal



Joined: 15 Jun 2006
Posts: 118
Location: Neverland

PostPosted: Thu Dec 28, 2006 7:06 pm    Post subject:

Mana figūra ir četrstūris - taisnstūris 96x128 pixeļi
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Grafikas programmēšana un teorija All times are GMT + 2 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
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