| Mirage Source http://web.miragesource.net/forums/ |
|
| Remember Tileset position http://web.miragesource.net/forums/viewtopic.php?f=210&t=3698 |
Page 1 of 1 |
| Author: | Rian [ Wed May 07, 2008 6:42 pm ] |
| Post subject: | Remember Tileset position |
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
|
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|