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

El_Dindonnier

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

El_Dindonnier's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. It's ok you can delete the topic please :cheesy:
  2. http://www.touchofdeathforums.com/smf/index.php?topic=41320.0 How to : picscreen/width : 800 picscreen/height: 470 Can I help me please ? I don't understand :( Thanks you in advance.
  3. I use map scrolling 30*30 but I have changed my picscreen. the default : picscreen.width : 640 picscreen.height : 480 My picscreen : picscreen/width : 800 picscreen/height: 470 But, it's look bugued in the map, I have look in the client : ``` If Player(MyIndex).y - 7 < 1 Then NewY = Player(MyIndex).y * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = 0 If Player(MyIndex).y = 7 And Player(MyIndex).Dir = DIR_UP Then NewPlayerY = Player(MyIndex).y - 7 NewY = 7 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If ElseIf Player(MyIndex).y + 9 > MAX_MAPY + 1 Then NewY = (Player(MyIndex).y - (MAX_MAPY - 14)) * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = MAX_MAPY - 14 If Player(MyIndex).y = MAX_MAPY - 7 And Player(MyIndex).Dir = DIR_DOWN Then NewPlayerY = Player(MyIndex).y - 7 NewY = 7 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If End If If Player(MyIndex).X - 10 < 1 Then NewX = Player(MyIndex).X * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = 0 If Player(MyIndex).X = 10 And Player(MyIndex).Dir = DIR_LEFT Then NewPlayerX = Player(MyIndex).X - 10 NewX = 10 * PIC_X NewXOffset = Player(MyIndex).xOffset End If ElseIf Player(MyIndex).X + 11 > MAX_MAPX + 1 Then NewX = (Player(MyIndex).X - (MAX_MAPX - 19)) * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = MAX_MAPX - 19 If Player(MyIndex).X = MAX_MAPX - 9 And Player(MyIndex).Dir = DIR_RIGHT Then NewPlayerX = Player(MyIndex).X - 10 NewX = 10 * PIC_X NewXOffset = Player(MyIndex).xOffset End If End If ScreenX = GetScreenLeft(MyIndex) ScreenY = GetScreenTop(MyIndex) ScreenX2 = GetScreenRight(MyIndex) ScreenY2 = GetScreenBottom(MyIndex) If ScreenX < 0 Then ScreenX = 0 ScreenX2 = 20 ElseIf ScreenX2 > MAX_MAPX Then ScreenX2 = MAX_MAPX ScreenX = MAX_MAPX - 20 End If If ScreenY < 0 Then ScreenY = 0 ScreenY2 = 15 ElseIf ScreenY2 > MAX_MAPY Then ScreenY2 = MAX_MAPY ScreenY = MAX_MAPY - 15 End If sx = 32 If MAX_MAPX = 19 Then NewX = Player(MyIndex).X * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = 0 NewY = Player(MyIndex).y * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = 0 ScreenX = 0 ScreenY = 0 ScreenX2 = MAX_MAPX ScreenY2 = MAX_MAPY sx = 0 End If ``` But when I change the screenx to 24 (the width of the picscreen) don't work. Can I help me please ? I don't undestand (: Thanks you in advance. El_Dindonnier PS: I have already search in the forum but it's not easy, the search function is bugged.
  4. Im going to make a new game with éclipse engine. But, when the eclipse 3.0 release ? You think that I must wait the 3.0 or begin with 2.7 please ? Thanks you in advance. :) (sorry for my bad english, im french) (or can I have a the bêta of 3.0 for begin my game ? Im a good programmer.) EDIT : (I have already write the history of the game and co ….)
×
×
  • Create New...