Vieilles instructions réanimées

Vous débutez et vous avez besoin d'aide ? N'hésitez pas à poser vos questions
Avatar de l’utilisateur
SPH
Messages : 4945
Inscription : mer. 09/nov./2005 9:53

Vieilles instructions réanimées

Message par SPH »

DisplayTranslucentSprite (PB5.11) n'a pas l'air d'avoir un équivalent avec les instructions de PB6.04 !!
J'ai essayé mais ça échoue...

Si vous avez mieux, je vous écoute. En attendant, je demande la réintégration de cette instruction !

PS : pareil avec DisplayShadowSprite et DisplaySolidSprite

Image

Code : Tout sélectionner

If InitSprite() And InitKeyboard() And InitSound() And InitMouse()
Else
  MessageRequester("Erreur", "InitSprite(), InitMouse(), InitKeyboard(), InitSound() : non initialisés")
  End 
EndIf

win=OpenWindow(#PB_Any, 0, 0, 1000, 600, "Sprites",#PB_Window_WindowCentered);,  #PB_Window_Maximize |  #PB_Window_BorderLess )
scr_w=WindowWidth(win) : scr_h=WindowHeight(win)
OpenWindowedScreen (WindowID(win),0 , 0, scr_w, scr_h,0, 0, 0, #PB_Screen_SmartSynchronization)


CreateSprite(1,52,58)
StartDrawing(SpriteOutput(1)) 
For u=0 To 57
  For i=0 To 51
    Read.l c
    Plot(i,u,c)
  Next
Next
StopDrawing() 


DisplayTransparentSprite(1,100,200)
DisplayTransparentSprite(1,200,200,30,RGB(255,128,50))
DisplayTransparentSprite(1,300,200,127,RGB(255,128,50))
DisplayTransparentSprite(1,400,200,255,RGB(255,128,50))

Repeat
  While WindowEvent() : Wend;-  While WindowEvent() : Wend 
  ExamineKeyboard()
Until KeyboardPushed(#PB_Key_All)

End






;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DataSection
  dta1:  
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8290445,8290445,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7698308,8224908,9606561,10066856,10066856,7764101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7106426,8224651,9606304,10001062,10001319,10001319,10001319,10066856,8290701,7238013,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7106169,8158857,9540511,9935525,9935525,10001062,10001062,10001062,10001319,10001319,10001319,10001576,8225165,7172477,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7040376,8093064,9474973,9935268,9935268,9935268,9935525,9935525,5593187,5658724,10001318,10001318,10001319,10001319,10001575,10001576,8225421,7172733,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6974582,8027270,9474716,9869474,9869475,9869731,9869731,9935268,5592930,5592931,5593187,5593187,5593187,5593444,9935782,9935782,9936039,10001575,10001831,10001832,8225421,7172734,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,6908788,8027012,9408666,9803680,9803681,9803937,9869474,9869474,5527393,5527393,5527394,5527394,5527650,5593186,5593187,5593187,5593444,5593444,9936038,10001575,10001831,10001831,10001832,10001832,8225422,7172734,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,6908786,7961474,9343128,9737886,9803423,9803423,9803680,9803680,5461343,5461599,5461600,5527136,5527393,5527393,5527394,5527650,5527650,5527651,5593443,5593444,5593700,5659236,10001831,10001831,10001831,10001832,10001832,10001833,8225422,7238527,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,6908783,7961472,9343126,9737884,9737885,9737885,9803422,9803423,5461085,5461342,5461342,5461343,5461599,5461600,5461600,5461857,5527393,5527394,5527650,5527650,5593443,5593443,5593700,5659236,5659492,5659493,10001831,10001831,10001832,10001832,10001833,10067625,8291215,7238527,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,6908525,7961214,9343123,9737882,9737883,9737883,9737884,9737885,5461084,5461084,5461085,5461085,5461342,5461342,5461343,5461599,5461600,5461600,5461857,5461857,5527650,5527650,5593443,5593443,5593699,5659236,5659492,5659492,5659493,5659493,10001831,10001832,10001832,10067625,10067625,10067626,8357007,7304320,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,6842988,7895676,9342866,9737624,9737881,9737881,9737882,9737883,5395546,5395547,5461084,5461084,5461085,5461085,5461086,5461342,5461343,5461599,5461600,5461600,5461857,5461857,5527650,5527650,5593443,5593443,5593700,5659236,5659492,5659493,5659493,5659493,5659493,5659494,10001832,10067625,10067625,10067626,10133418,10133419,8357008,7304576,0,0,0,0,0
  Data.l 0,0,0,6842988,7895676,9277329,9672087,9737624,9737624,9737880,9737881,5395544,5395545,5395546,5395547,5461084,5461084,5461085,5461085,5461086,5461342,5461343,5461600,5461600,5461857,5461857,5461858,5527650,5527651,5593443,5593444,5593700,5659237,5659493,5659493,5659494,5659494,5659494,5659494,5659495,5725287,10067626,10067626,10133418,10133419,10133419,10133675,8422801,7370113,0,0,0
  Data.l 0,6842988,7895676,9277329,9672087,9672087,9672088,9737624,9737624,5395543,5395543,5395544,5395545,5395546,5395547,5461084,5461084,5461085,5461085,5461342,5461343,5461600,5461601,5461857,5461858,5461858,5461859,5527651,5527652,5593444,5593445,5593701,5593702,5659494,5659494,5659495,5659495,5659495,5659495,5659496,5725288,5725288,5725289,10133419,10133419,10133419,10133676,10199212,10199212,8357266,7304578,0
  Data.l 7566712,9672088,9672088,9672088,9672088,9672088,9672088,5395286,5395287,5395543,5395544,5395544,5395545,5395546,5395547,5461084,5461084,5461085,5461085,5461342,5461343,5461600,5461858,5461858,5462115,5462115,5462116,5527652,5527653,5593445,5593446,5593702,5593703,5659495,5659495,5659496,5659496,5659496,5659496,5659496,5725288,5725289,5725289,5791081,5791081,10133420,10133676,10199213,10199213,9607333,7304578,2830655
  Data.l 7500920,9672089,9672089,9672089,9672089,5329751,5329751,5395287,5395288,5395544,5395544,5395545,5395545,5395546,5395547,5461084,5461084,5461085,5461086,5461343,5461600,5461601,5461858,5462115,5462116,5462116,5462117,5527653,5527654,5593446,5593447,5593703,5593703,5659496,5659496,5659497,5659497,5659497,5659497,5659497,5725289,5725289,5725290,5791082,5791082,5791082,5791339,9672869,8028044,2830654,2830655,2830655
  Data.l 7500921,9672090,9672090,9672090,5329752,5329752,5329752,5395288,5395288,5395545,5395545,5395545,5395545,5395546,5395547,5461084,5461084,5461085,5461342,5461343,5461600,5461858,5461859,5462116,5462117,5462373,5462374,5527910,5527911,5593447,5593448,5593704,5593704,5659497,5659497,5659497,5659497,5659497,5659497,5659497,5725289,5725290,5725290,5791082,5791082,5791083,5791339,5856875,2896191,2830655,2830655,2830655
  Data.l 7500922,9672091,9672091,9672091,5329753,5329753,5329753,5395289,5395289,5395546,5395546,5395546,5395546,5395546,5395547,5461084,5461085,5461086,5461343,5461344,5461601,5461602,5461859,5462116,5462117,5462374,5462374,5527911,5527912,5593448,5593448,5593705,5593705,5659498,5659498,5659498,5659498,5659498,5659498,5659498,5725290,5725290,5725291,5791083,5791083,5791083,5791339,5856876,2896191,2830655,2830655,2830656
  Data.l 7500923,9672092,9672092,9672092,5329754,5329754,5329754,5395290,5395290,5395546,5395546,5395546,5395546,5395546,5395547,5461084,5461085,5461086,5461343,5461344,5461601,5461602,5461859,5462117,5462117,5527654,5527911,5527911,5528168,5593705,5593705,5593706,5593706,5659499,5659499,5659499,5659498,5659498,5659498,5659498,5725290,5725291,5725291,5791083,5791083,5791083,5791340,5856876,2896191,2830656,2830656,2830656
  Data.l 7500924,9672093,9672093,9672093,5329755,5329755,5395291,5395291,5395291,5395547,5395547,5395547,5395547,5395547,5395547,5461084,5461085,5461086,5461343,5461344,5461601,5461602,5461859,5461860,5462117,5527654,5527911,5527912,5528168,5593705,5593706,5593706,5593707,5659499,5659499,5659499,5659499,5659499,5659499,5659499,5725291,5725291,5725292,5791084,5791084,5791084,5791340,5856876,2896192,2896192,2896192,2896192
  Data.l 7566716,9737885,9737885,9737885,5395547,5395547,5395547,5395548,5395547,5395547,5395547,5395547,5395547,5395547,5395548,5461084,5461085,5461342,5461343,5461344,5461601,5461602,5461859,5461860,5462117,5527654,5527911,13210728,16777215,16777215,16777215,16777215,11527935,5659526,5659500,5659499,5659499,5659499,5659499,5659499,5725291,5725291,5725292,5791084,5791084,5791084,5791340,5856876,2896192,2896192,2896192,2896193
  Data.l 7632509,9738142,9737886,9737886,5395548,5461084,5461340,5461084,5395548,5395548,5395548,5395548,5395548,5395548,5395548,5461084,5461085,5461342,5461343,5461600,5461601,5461602,5461859,5461860,5462117,7559270,16770486,16777215,16777215,16777215,16777215,16777215,16777215,16777215,5674444,5725036,5725036,5725036,5725036,5725036,5725292,5725292,5725292,5791084,5791085,5791085,5791341,5856877,2896192,2896192,2896193,2896193
  Data.l 7698558,9803935,9803679,9803679,5461341,5526877,5526877,5526877,5461341,5461341,5395548,5395548,5395804,5395548,5395549,5461085,5461341,5461342,5461343,5461600,5461601,5461858,5461859,5461860,7559269,16770486,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,5736127,5725292,5725292,5725292,5725292,5725292,5725292,5725292,5791084,5791085,5791085,5791341,5856877,2896192,2896192,2896193,2896193
  Data.l 7764351,9869728,9869471,9869215,5526877,5527133,5527134,5527134,5526878,5461342,5461341,5461341,5461341,5461341,5461341,5461341,5461342,5461342,5461599,5461600,5461601,5461858,5461859,9525092,16777167,16777215,16777215,26294,65793,65793,6684672,16777142,16777215,16777215,16777215,11993087,5718650,5790828,5790828,5790828,5790829,5790829,5790829,5791085,5791085,5791085,5791342,5856878,2896193,2896193,2896193,2896193
  Data.l 7830145,9935521,9935264,9869472,5527134,5527134,5592670,5527134,5527134,5527134,5461342,5461341,5461341,5461341,5461342,5461342,5461342,5461343,5461599,5527136,16763545,16777215,16777215,16777215,16777215,9493503,58,65793,5587242,5593704,5659497,4021098,16758394,16777215,16777215,16777215,5148891,5791052,5791084,5791084,5791085,5791085,5791085,5791085,5791085,5791085,5791342,5856878,2896193,2896193,2896193,2896193
  Data.l 7961731,10066850,10001057,9935265,5592926,5592670,5592670,5592671,5527135,5527134,5527134,5527134,5527134,5527134,5527134,5527134,5527134,5527135,11433312,16777191,16777215,3840739,3801088,16767888,11993087,102,3150848,5527896,5593703,5593704,5659496,5659497,7691370,16768939,16777215,16777215,6731519,4928536,5791084,5791084,5791085,5791085,5791086,5791086,5791086,5791342,5791342,5856878,2896194,2896194,2896194,2896194
  Data.l 8093317,10132900,10066851,10001058,5593183,5592927,5592927,5592927,5592671,5527135,5527134,5527134,5527134,5527134,5527135,5527135,5527135,13210207,16777215,14745599,14998,65793,11098647,16777191,3839457,2162688,5527881,5527910,5593703,5593703,5659496,5659497,5725290,14922117,16777215,16777215,9493503,4073018,5791340,5856876,5856877,5856877,5856878,5856878,5856878,5856878,5856878,5856878,2896194,2896194,2896194,2896194
  Data.l 8290439,10329766,10198437,10067107,5658976,5658720,5592927,5592927,5592927,5592927,5592927,5592927,5592927,5592927,5592927,5592927,11499103,16777191,16777215,3838171,1245184,5589560,13276004,16777215,26298,4796951,5593446,5593446,5593703,5593703,5659496,5659497,5725289,11565674,16777190,16777215,9493503,3282234,5791325,5856876,5856877,5856877,5856878,5856878,5856878,5856879,5856879,5857135,2896450,2896450,2896451,2896451
  Data.l 8487562,10461353,10329767,10198437,5790306,5724513,5658720,5658464,5592928,5592927,5592927,5592927,5592927,5592927,5592927,7624544,16770483,16777215,11993087,102,4796695,5592931,13276004,16777215,3838171,5586728,5593702,5593702,5593703,5593703,5659496,5659496,5725289,9657449,16777168,16777215,9493503,3282234,5791325,5856876,5856877,5856877,5856878,5856878,5856878,5856879,5857135,5857135,2896450,2896450,2896451,2896451
  Data.l 8684941,10658731,10461353,10329767,5856099,5790306,5724513,5658720,5658720,5593184,5593184,5593184,5593184,5593184,5593184,13276000,16777215,16777215,6731519,2228224,5593159,5593187,9525348,16777167,6731519,4796951,5593702,5593702,5593703,5593703,5659496,5659496,5725289,11565673,16777191,16777215,6731519,3282176,5856861,5857132,5857133,5857133,5857134,5857134,5857134,5857135,5857135,5857136,2896451,2896451,2896451,2896451
  Data.l 8882320,10855854,10592940,10461353,5921893,5856100,5790306,5724513,5658721,5658720,5658720,5593184,5593184,5593184,5593184,15052925,16777215,16777215,26294,3941376,5593187,5593187,5593188,3954788,6710824,3941478,5593702,5593702,5593959,5659495,5659496,5659496,5725289,13276777,16777215,16777215,26294,4138496,5856876,5857132,5857133,5857133,5857134,5857134,5857134,5857135,5857135,5857136,2896707,2896707,2896707,2896707
  Data.l 9145235,11053233,10790318,10592939,6053479,5921893,5856100,5790307,5724514,5658977,5658977,5658977,5593441,5593441,5593441,16763801,16777215,16777215,26294,5586727,5593443,5593443,5593444,5593445,5593446,3948391,5593673,5593703,5593959,5659495,5659496,5659496,5725289,16764062,16777215,11993087,102,5849899,5856876,5857132,5857133,5857133,5857134,5857134,5857134,5857135,5857135,5857136,2896707,2896707,2896707,2896707
  Data.l 9342869,11250867,10987696,10724525,6185065,6053223,5921893,5856100,5790307,5724514,5658977,5658977,5658977,5593441,5593441,16763801,16777215,16777215,26294,5586727,5593443,5593444,5593444,5593445,5593446,5593447,5593703,5593703,5659495,5659495,5659752,5725288,11565673,16777191,16777215,3838171,2359296,5856844,5856876,5857132,5857133,5857133,5857134,5857134,5857134,5857135,5857391,5857391,2896706,2896706,2896706,2896706
  Data.l 9539992,11448246,11185075,10921904,6382187,6184808,6053222,5921893,5790564,5724771,5724770,5659234,5659234,5659234,5593698,16763802,16777215,16777215,6731519,5587239,5593699,5593700,5593701,5593702,5593703,5593704,5593704,5659240,5659496,5659496,5659752,5725288,16764062,16777215,9493503,58,4994328,5856875,5856876,5857132,5857133,5857133,5857134,5857134,5857134,5857135,5857135,5857135,2896450,2896450,2896450,2896450
  Data.l 9737370,11645368,11447989,11184818,6579309,6316394,6119272,5987686,5856357,5790564,5724771,5724770,5659234,5659234,5659234,15053183,16777215,16777215,14417919,3952784,5593700,5593700,5593701,5593702,5593703,5593704,5593704,5659240,5659496,5659496,5725288,15053187,16777215,14417919,14992,3282176,5856860,5856875,5856876,5857132,5857133,5857133,5857134,5857134,5857134,5857134,5857134,5857134,2896449,2896449,2896450,2896450
  Data.l 9868956,11842746,11579575,11316404,6711151,6513516,6250857,6119015,5922150,5856101,5790564,5724771,5724770,5659234,5659234,11499619,16777189,16777215,16777215,9821183,5655903,5659237,5659238,5659495,5659496,5659496,5659497,5659497,5659497,5725033,13276777,16777215,14483455,14992,1310720,5787708,5856875,5856875,5857132,5857132,5857133,5857133,5857134,5857134,5857134,5857134,5857134,5857134,2896449,2896449,2896449,2896449
  Data.l 10000541,11974332,11776953,11513782,6908273,6645358,6382187,6185065,6053479,5921894,5790565,5725028,5725027,5725027,5659491,5659491,14724224,16777215,16777215,16777215,10476799,5659510,5659494,5659495,5659496,5659497,5659497,5659497,5659498,16764062,16777215,14614527,14992,1310720,5787708,5856874,5856875,5856875,5857132,5857132,5857133,5857133,5857134,5857134,5857134,5857134,5857134,5857134,2896449,2896449,2896449,2896449
  Data.l 10132126,12105917,11908539,11645368,7039859,6776943,6513773,6316394,6119272,5987687,5856101,5790564,5725028,5725027,5725027,5725027,7691107,16769455,16777215,16777215,16777215,16777215,9620735,5659495,5659496,5659753,5659754,15053189,16777215,16777215,11993087,102,1310720,5787708,5791082,5856874,5856875,5856875,5857132,5857132,5857133,5857133,5857133,5857133,5857133,5857133,5857133,5857133,2896448,2896448,2896448,2896449
  Data.l 10197920,12237502,12040124,11776953,7171700,6908529,6645358,6382444,6185065,6053480,5921894,5856101,5790564,5725028,5725028,5725028,5725028,4873060,16759169,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,16777215,26294,65793,2359296,5790795,5791082,5856618,5856874,5856875,5857131,5857132,5857132,5857133,5857133,5857133,5857133,5857133,5857133,5857133,5857133,2896448,2896448,2896448,2896448
  Data.l 10263968,12303295,12105917,11908538,7303029,7039858,6711151,6448237,6250858,6053480,5922151,5856357,5790564,5790564,5725028,5725028,5725028,5725028,5725028,9543,16758374,16777215,16777215,16777215,16777215,16777215,11993087,102,65793,65793,5718827,5791083,5791083,5856619,5856619,5856875,5856875,5857131,5857132,5857132,5857132,5857132,5857132,5857132,5857132,5857132,5857132,5857132,2896447,2896448,2896448,2896448
  Data.l 10263969,12303552,12171710,11974331,7369078,7105907,6777200,6514030,6316651,6119273,5987687,5856358,5790565,5790564,5725028,5725028,5725028,5725028,5725028,5725028,5725028,9544,65793,65793,65793,65793,65793,2228224,5725516,5725547,5791084,5791084,5791084,5856619,5856619,5856875,5856875,5857131,5791596,5791596,5791596,5791596,5791596,5791596,5791596,5791596,5791596,5791596,2830911,2830911,2830911,2830911
  Data.l 10263969,12303552,12171966,11974588,7369079,7105908,6842737,6514286,6316652,6119530,5987944,5921895,5856358,5790821,5725285,5725285,5725285,5725285,5725285,5725285,5725285,5725285,5725285,5725285,5725286,5790824,5790825,5791082,5791083,5791083,5791340,5791340,5791340,5856876,5856876,5856876,5856876,5857132,5791596,5791596,5791340,5791339,5791339,5791339,5791339,5791339,5791339,5791339,2830655,2830655,2830655,2830655
  Data.l 10198433,12238016,12106174,11908796,7303543,7040372,6777201,6514287,6251372,6119530,5987944,5922151,5856358,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790822,5790823,5790824,5791081,5791082,5791083,5791340,5791341,5856877,5856877,5856876,5856876,5856876,5857132,5791596,5791596,5725804,5725803,5725803,5725803,5725803,5725803,5725803,5725803,2765118,2765118,2765118,2765118
  Data.l 10132641,12172224,12040382,11843004,7237751,6974580,6711665,6448495,6251116,6053995,5987945,5922152,5856359,5790822,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790822,5790823,5856617,5856618,5856619,5856876,5856877,5856877,5856877,5857133,5857133,5857133,5857133,5791597,5791596,5725804,5725803,5725803,5725802,5725802,5725802,5725802,5725802,2765118,2765118,2765118,2765118
  Data.l 10066848,12040895,11909053,11185331,7106166,6843251,6580337,6382958,6185580,6053995,5922409,5856616,5856615,5790822,5790822,5790822,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790821,5790822,5790823,5856616,5856617,5856619,5856876,5856876,5856877,5856877,5856877,5857133,5857133,5857133,5791597,5791596,5725804,5725803,5725803,5725802,5725802,5725802,5725802,2765117,2765117,2765117,2765117,2765117
  Data.l 9935263,10724779,11251124,9343384,4014152,3750981,6514288,6251630,6119788,5988459,5922666,5856873,5856616,5856615,5856614,5856614,5856614,5856613,5856613,5856613,5856613,5856613,5856613,5856613,5856613,5856614,5856614,5856615,5856617,5856618,5856875,5856876,5856877,5856877,5856878,5857134,5857133,5857133,5791597,5791596,5725804,5725803,5725803,5725802,5725802,2765117,2765117,2765117,2765117,2765117,2370359,1975601
  Data.l 0,3750721,3948101,4079945,3882566,3619652,3422274,3225152,6054252,5988459,5922666,5856873,5856616,5856615,5856615,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856615,5856616,5856617,5856875,5856876,5856877,5856877,5856878,5857134,5857134,5857133,5791597,5791596,5725804,5725803,5725803,2765117,2765117,2765117,2764861,2764861,2764861,2370103,1975345,0
  Data.l 0,0,0,3224379,3356223,3553603,3356481,3159359,3028030,2962238,5922666,5922409,5922153,5922152,5922151,5856615,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856614,5856615,5856616,5856617,5856874,5856875,5856876,5856877,5856878,5857134,5857134,5857134,5791597,5791597,5725804,2765119,2765118,2765118,2765117,2765117,2764861,2370103,1975345,0,0,0
  Data.l 0,0,0,0,0,2698294,2895930,3159359,3028030,2962238,2961981,2961725,5922153,5922152,5922151,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856616,5856873,5856875,5856876,5856877,5856878,5857134,5857134,5857134,5791597,2830912,2765120,2765119,2765119,2765118,2765118,2370359,1975345,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,2369842,2633272,2962238,2961981,2961725,2961725,2961724,5922408,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856871,5856872,5856873,5856874,5856875,5856876,5856878,5857134,5857134,2896449,2830913,2830913,2765120,2765120,2765119,2370361,1975602,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,2172722,2567224,2896189,2896189,2895932,2895931,2895931,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856615,5856616,5856617,5856618,5856619,5856876,5856878,2896449,2896449,2896449,2830913,2830913,2765121,2370362,1975604,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,2106673,2501431,2895933,2895932,2895931,2895931,2895931,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856617,5856618,5856619,2896191,2896193,2896449,2896450,2896450,2830913,2436155,1975605,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,2106417,2501174,2895931,2895931,2895931,2895931,2895931,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856616,5856617,2895933,2895934,2896191,2896193,2896449,2896450,2501692,2106934,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106416,2501173,2895931,2895931,2895931,2895931,2895931,5856616,5856616,5856616,5856616,5856616,5856616,5856616,2895931,2895932,2895933,2895934,2896191,2896193,2567227,2106934,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106415,2501173,2895931,2895931,2895931,2895931,2895931,5856616,5856616,5856616,2895931,2895931,2895931,2895932,2895933,2895934,2501433,2172469,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106415,2501173,2895931,2895931,2895931,2895931,2895931,2895931,2895931,2895931,2895931,2895932,2501175,2106674,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106415,2501173,2895931,2895931,2895931,2895931,2895931,2895931,2501174,2106417,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2106414,2895930,2895931,2895931,2501174,2106416,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  Data.l 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3093054,3093054,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 
  
EndDataSection




!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Intel Core i7 4770 64 bits - GTX 650 Ti
Version de PB : 6.12LTS- 64 bits
Avatar de l’utilisateur
Ar-S
Messages : 9540
Inscription : dim. 09/oct./2005 16:51
Contact :

Re: Vieilles instructions réanimées

Message par Ar-S »

DisplayTransparentSprite(#Sprite, X, Y [, Intensite [, Couleur]]) donc ça remplace bien translucentsprite

PB 5.20 !!! en 2013.. Faudrait rester à la page de 2 ou 3 ans au moins :twisted:
- Removed: DisplayTranslucentSprite() -> replaced with 'Alpha' parameter for DisplayTransparentSprite()

Mets cette page dans tes favoris : https://www.purebasic.com/french/news.php
et regarde à 5.20
Comme ça tu sauras par quelle commande a été remplacée et par quoi :mrgreen:
~~~~Règles du forum ~~~~
⋅.˳˳.⋅ॱ˙˙ॱ⋅.˳Ar-S ˳.⋅ॱ˙˙ॱ⋅.˳˳.⋅
W11x64 PB 6.x
Section HORS SUJET : ICI
LDV MULTIMEDIA : Dépannage informatique & mes Logiciels PB
UPLOAD D'IMAGES : Uploader des images de vos logiciels
Avatar de l’utilisateur
SPH
Messages : 4945
Inscription : mer. 09/nov./2005 9:53

Re: Vieilles instructions réanimées

Message par SPH »

Pour faire une DLL, je code ça :

Code : Tout sélectionner

ProcedureDLL.q DSolidSprite(Sprite,x,y,Couleur):DisplaySolidSprite(Sprite,x,y,Couleur):EndProcedure
ProcedureDLL.q DShadowSprite(Sprite,x,y):DisplayShadowSprite(Sprite,x,y):EndProcedure
ProcedureDLL.q DTranslucentSprite(Sprite,x,y,Intensity):DisplayTranslucentSprite(Sprite,x,y,Intensity):EndProcedure
ProcedureDLL.q DRGBFilter(x,y,w,h,r,g,b):DisplayRGBFilter(x,y,w,h,r,g,b):EndProcedure
Et je règle ça comme ça :
Image

Ma manip est elle bonne ?

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Intel Core i7 4770 64 bits - GTX 650 Ti
Version de PB : 6.12LTS- 64 bits
Répondre