Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 11:08 pm

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1138 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next
Author Message
PostPosted: Sat Sep 26, 2009 9:34 pm 
Offline
Newbie
User avatar

Joined: Sat Aug 19, 2006 6:04 pm
Posts: 10
Map editor "live" scrolling.

Hi everyone. I've been pretty inactive the later year/s, hope somebody still remembers me hehe. :roll:

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

Image

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! :geek:


Top
 Profile  
 
PostPosted: Sun Sep 27, 2009 12:41 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
I remember you. Xaden/Frozengod from chaos engine is claiming credit for a tun of your code.

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Sun Sep 27, 2009 2:50 pm 
Offline
Regular

Joined: Thu Aug 13, 2009 7:06 pm
Posts: 39
I remember you too :)
has your msn changed?


Top
 Profile  
 
PostPosted: Sun Sep 27, 2009 8:04 pm 
Offline
Newbie
User avatar

Joined: Sat Aug 19, 2006 6:04 pm
Posts: 10
Hehe, I know he is, but none of it is usefull nowadays, so it doesn't matter :D

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


Top
 Profile  
 
PostPosted: Wed Dec 01, 2021 9:34 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:14 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Econ


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:16 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
125.4


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:17 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Bett


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:18 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Bett


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:19 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Cath


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:20 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Alan


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:21 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Bach


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:22 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Taps


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:23 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Henr


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:25 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Epic


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:26 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Brot


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:27 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Delh


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:28 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Mick


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:29 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Orie


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:30 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Tany


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:31 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Eleg


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:32 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Body


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:34 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Fisk


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:35 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Fort


Top
 Profile  
 
PostPosted: Sun Jan 09, 2022 4:36 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
McCo


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1138 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group