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

Kadru maiņa
Goto page Previous  1, 2
 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Mon Aug 01, 2005 11:43 am    Post subject:

Jebkurš tips jādeklarē pirms lietošanas type daļā, vai nu tekošajā unitā, vai citā (ar uses pieimportējot to citu).
Kādai jāizskatās klasei - neparasi, nezinu :) Tev pašam tas būtu jāzin, ja jau gribi to izmantot (iespējams ka DelphiX klase, bet īsti jau nezinu, neesmu ar to neko programmējis).

P.S. iemācies postus Edit'ot :)
Back to top
View user's profile Send e-mail
ra001
Site Admin
Site Admin


Joined: 20 Jan 2003
Posts: 452
Location: Latvija

PostPosted: Mon Aug 01, 2005 1:00 pm    Post subject:

NocK wrote:
ra001
nosūtīju.


Nesaņēmu...
Pamēģini uz šo pastu
raimis@eos.lv
Back to top
View user's profile Send e-mail Visit poster's website
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Mon Aug 01, 2005 1:16 pm    Post subject:

btw, ra001, kamēr tu te - izbano noodle lietotāju. Šis spamot pasācis ;)
http://dev.gamez.lv/search.php?search_author=noodle
Back to top
View user's profile Send e-mail
NocK



Joined: 06 Jan 2005
Posts: 107

PostPosted: Mon Aug 01, 2005 1:41 pm    Post subject:

bubu wrote:
P.S. iemācies postus Edit'ot Smile

Un ko tev editot???
Back to top
View user's profile Send e-mail Visit poster's website
NocK



Joined: 06 Jan 2005
Posts: 107

PostPosted: Mon Aug 01, 2005 1:42 pm    Post subject:

ra001 wrote:
Nesaņēmu...
Pamēģini uz šo pastu
raimis@eos.lv

Gatavs...
Back to top
View user's profile Send e-mail Visit poster's website
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Mon Aug 01, 2005 2:07 pm    Post subject:

Divus postus pēc kārtas netaisīt!
Back to top
View user's profile Send e-mail
S1
Indago dalībnieks
Indago dalībnieks


Joined: 31 Jul 2005
Posts: 219
Location: Jelgava

PostPosted: Mon Aug 01, 2005 5:57 pm    Post subject:

Nock, mēģini neveidot jaunus tipus un klases, tas tev tikai sarežģis visu procesu.
Tu rakstīji, ka gribi slideshow uztaisīt, tad tiešām izmanto DelphiX, pēc šāda paņēmiena:
* vispirms notīri ekrānu DXDraw1.Surface.Fill(krāsa);
* izvadi uz ekrāna attēlu ar ImageList izmanto piem., drawAlpha.
Kā alpha parametru uzliec mainīgu lielumu. Reiķinies, ka liels fps nebūs
ar roku kopumā būs jāuzraksta kādas 5 rindas.
Back to top
View user's profile Send e-mail
NocK



Joined: 06 Jan 2005
Posts: 107

PostPosted: Mon Aug 01, 2005 9:06 pm    Post subject:

S1
Es ar DelphiX esmu uz Jūsu Augstība. Vai, lūdzu, nevarētu dot visu programmas tekstu?
Back to top
View user's profile Send e-mail Visit poster's website
S1
Indago dalībnieks
Indago dalībnieks


Joined: 31 Jul 2005
Posts: 219
Location: Jelgava

PostPosted: Tue Aug 02, 2005 10:00 am    Post subject:

Nosūtīju!
Back to top
View user's profile Send e-mail
NocK



Joined: 06 Jan 2005
Posts: 107

PostPosted: Tue Aug 02, 2005 10:05 am    Post subject:

Saņēmu, liels paldies!!!

Es ieliku savu bildi (daudzreiz lielāku) un tagad man tur tas viss process baigi lēni notiek! Kas jādara, lai nebremzē, kad bilde ir lielāka?
Back to top
View user's profile Send e-mail Visit poster's website
S1
Indago dalībnieks
Indago dalībnieks


Joined: 31 Jul 2005
Posts: 219
Location: Jelgava

PostPosted: Tue Aug 02, 2005 2:27 pm    Post subject:

jā, bremzē gan. Palielini mainīgo alpha.
Vispār labāk būtu izmantot windows api f-ju windows.AlphaBlend. Pameklē kādu piemēru i-netā.
Back to top
View user's profile Send e-mail
NocK



Joined: 06 Jan 2005
Posts: 107

PostPosted: Tue Aug 02, 2005 3:44 pm    Post subject:

Kurā īsti vietā ir jāpalielina? Šitā?-> alpha < 512 Tad sanāk mērenāka, taču lēnāka pāreja.
Back to top
View user's profile Send e-mail Visit poster's website
S1
Indago dalībnieks
Indago dalībnieks


Joined: 31 Jul 2005
Posts: 219
Location: Jelgava

PostPosted: Wed Aug 03, 2005 12:12 am    Post subject:

inc(alpha,3) -> inc(alpha,10). (alpha intervāls drawAlpha f-jā ir 0-255)
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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