Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remember Tileset position
#1
This tutorial remembers your mapeditor's scrlPicture.value. This way the tile set will be at the same spot between uses.

On your map editor, double click cmdSend and paste this code at the top:
Code:
EditorscrlPicture = scrlPicture.Value

Now, double click cmdCancel, and paste the same code:
Code:
EditorscrlPicture = scrlPicture.Value

Now, put this code in Form_Load, for whichever form you use for your mapeditor:
Code:
If EditorscrlPicture >= 0 Then
        scrlPicture.Value = EditorscrlPicture
    End If

And lastly, open modGameLogic and put this code with the other editor variables, I put mine under Public EditorWarpY As Long:
Code:
Public EditorscrlPicture As Long
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)