Mirage Source http://miragesource.net/forums/ |
|
[Feature] Map editor "live" scrolling http://miragesource.net/forums/viewtopic.php?f=183&t=6248 |
Page 1 of 55 |
Author: | CuChulainn [ Sat Sep 26, 2009 9:34 pm ] |
Post subject: | [Feature] Map editor "live" scrolling |
Map editor "live" scrolling. Hi everyone. I've been pretty inactive the later year/s, hope somebody still remembers me hehe. This is a really simple feature, kinda bugs me nobody's done this before, especially with mirage, but hey, nothing's perfect. I'd rate this tutorial a 1/5 difficulty, it's simply copy-paste! First of all, open your Mirage.prj file in Visual Basic 6 1. Open up frmMirage.frm in the components window 2. Doubleclick scrlPicture 3. In the code, find a free spot and copy-paste this: Code: Private Sub scrlPicture_Scroll() Call MapEditorTileScroll End Sub Private Sub scrlTileSet_Scroll() Map.TileSet = scrlTileSet.Value lblTileset = scrlTileSet.Value 'Call InitTileSurf(scrlTileSet) Call BltMapEditor Call BltMapEditorTilePreview scrlPicture.Max = (picBackSelect.Height \ PIC_Y) - (picBack.Height \ PIC_Y) End Sub 4. Done! Now when scrolling for tiles the picture will follow the scroll instead of updating on let-go. What it does is simply just updating while scrolling instead on click - too simple. Cheers! |
Author: | Labmonkey [ Sun Sep 27, 2009 12:41 pm ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
I remember you. Xaden/Frozengod from chaos engine is claiming credit for a tun of your code. |
Author: | xp79 [ Sun Sep 27, 2009 2:50 pm ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
I remember you too has your msn changed? |
Author: | CuChulainn [ Sun Sep 27, 2009 8:04 pm ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Hehe, I know he is, but none of it is usefull nowadays, so it doesn't matter My msn has changed but I think it's in my profile, otherwise just PM me I'm kinda teaching my friend vb6 so I thought we might as well both join the MS community! Good to be back hehe |
Author: | wanai [ Sun Jan 09, 2022 4:14 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Econ |
Author: | wanai [ Sun Jan 09, 2022 4:16 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
125.4 |
Author: | wanai [ Sun Jan 09, 2022 4:17 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Bett |
Author: | wanai [ Sun Jan 09, 2022 4:18 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Bett |
Author: | wanai [ Sun Jan 09, 2022 4:19 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Cath |
Author: | wanai [ Sun Jan 09, 2022 4:20 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Alan |
Author: | wanai [ Sun Jan 09, 2022 4:21 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Bach |
Author: | wanai [ Sun Jan 09, 2022 4:22 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Taps |
Author: | wanai [ Sun Jan 09, 2022 4:23 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Henr |
Author: | wanai [ Sun Jan 09, 2022 4:25 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Epic |
Author: | wanai [ Sun Jan 09, 2022 4:26 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Brot |
Author: | wanai [ Sun Jan 09, 2022 4:27 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Delh |
Author: | wanai [ Sun Jan 09, 2022 4:28 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Mick |
Author: | wanai [ Sun Jan 09, 2022 4:29 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Orie |
Author: | wanai [ Sun Jan 09, 2022 4:30 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Tany |
Author: | wanai [ Sun Jan 09, 2022 4:31 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Eleg |
Author: | wanai [ Sun Jan 09, 2022 4:32 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Body |
Author: | wanai [ Sun Jan 09, 2022 4:34 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Fisk |
Author: | wanai [ Sun Jan 09, 2022 4:35 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
Fort |
Author: | wanai [ Sun Jan 09, 2022 4:36 am ] |
Post subject: | Re: [Feature] Map editor "live" scrolling |
McCo |
Page 1 of 55 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |