Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Damian1992

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by Damian1992

  1. I know this but if i don't using Camera in bltfast minimap move with me when I Move on the map. When i use BltTodc code looks like this : ' ************ ' *** Nada *** ' ************ With NadaRect .top = 7 .Bottom = .top + 7 .Left = 0 .Right = .Left + 7 End With ' Defini-lo no minimap For x = 0 To MapX For y = 0 To MapY With Position .top = 7 * y .Bottom = .top + 7 .Left = 7 * x .Right = .Left + 7 End With Engine_BltToDC DDS_MiniMap, NadaRect, Position, frmMain.Picminimap, False Next y Next x ' ************** ' Normal With PlayerRect .top = 0 .Bottom = .top + 7 .Left = 7 .Right = .Left + 7 End With ' Pk ' Defini-los no minimap For i = 1 To Player_HighIndex If IsPlaying(i) Then Select Case Player(i).PK Case 0 x = Player(i).x y = Player(i).y With NadaRect1 .top = 7 * y .Bottom = .top + 7 .Left = 7 * x .Right = .Left + 7 End With Engine_BltToDC DDS_MiniMap, PlayerRect, NadaRect1, frmMain.Picminimap, False All looks good but when player are on map and minimap show this then this point where is player blink
  2. For X = 0 To MapX For Y = 0 To MapY CameraX = Camera.Left + 25 + (X * 4) CameraY = Camera.top + 25 + (Y * 4) Engine_BltFast CameraX, CameraY, DDS_MiniMap, NadaRect, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY This code draw minimap in picScreen like this http://img717.imageshack.us/img717/149/minimapn.png and this code is from tutorial Tutorials->Suorce->(EO) Minimap 1.2 I need help because i want to draw this minimap in new picbox , when i using BltToDc its draw only 1 point in upper right corner on this picbox and i dont know how to change position to draw ;/
  3. How to draw minimap in pic box ? Bltfast draw only on picScreen , i Try use BltToDc but it draw only each point in upper right corner ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons//sad.png) This is bltfast code For X = 0 To MapX For Y = 0 To MapY CameraX = Camera.Left + 25 + (X * 4) CameraY = Camera.top + 25 + (Y * 4) Engine_BltFast CameraX, CameraY, DDS_MiniMap, NadaRect, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY If you want to see more code from this minimap check Tutorials->Suorce->(EO) Minimap 1.2 Sorry for my English
  4. Can someone tell me how to use BltToDc on this tutorial? , I want have minimap on picbox not on picScreen.
×
×
  • Create New...