Mirage Source
help with sprites - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9)
+------ Thread: help with sprites (/showthread.php?tid=2739)



help with sprites - Tdiddy - 12-04-2009

i got a sprite splitter that splits the sprites and auto saves them as there own file. but it saves them as Sprite1 Sprite 2 Sprite 3 and mirage source recognizes files in the sprite folder # 1 ,2, 3 ,4 ect... is there anyway to change it on the server or the client or whatnot to have it recognize as sprite then #?


Re: help with sprites - Acruno - 12-04-2009

Even better idea. RENAME THEM :O

http://www.bulkrenameutility.co.uk/Download.php

Decent program for renaming lots of things at once.


Re: help with sprites - Tony - 12-04-2009

Acruno Wrote:Even better idea. RENAME THEM :O

http://www.bulkrenameutility.co.uk/Download.php

Decent program for renaming lots of things at once.

How horrible to say that.

Find this Sub
Code:
Public Sub CheckSprites()

Replace
Code:
While FileExist(GFX_PATH & "sprites\" & i & GFX_EXT)

With
Code:
While FileExist(GFX_PATH & "sprites\sprite" & i & GFX_EXT)



Re: help with sprites - Tdiddy - 12-04-2009

ok so i was guessing that was client side and i did it . and i thought it worked but when i logged in it said missing file. and so i was like >.> so i manually changed the name to 1 and then i get a subscript error Sad