Mirage Source
http://miragesource.net/forums/

Tiles0.bmp , tiles1.bmp, tiles2.bmp
http://miragesource.net/forums/viewtopic.php?f=210&t=3182
Page 1 of 1

Author:  El_Dindonnier [ Wed Dec 19, 2007 10:39 am ]
Post subject:  Tiles0.bmp , tiles1.bmp, tiles2.bmp

How to have more tiles ? (tiles0.bmp, tiles1.bmp, tiles2.bmp etc..............)


Can I help me please ?

Thanks you in advance, El_Dindonnier

Author:  Robin [ Wed Dec 19, 2007 6:08 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Advice: Don't do it the way Elysium, and thus most other engines, do it.

Loading 200mb+ of graphics is not the best way to make your game good.

Author:  Lea [ Wed Dec 19, 2007 6:15 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

To do that, just copy the code for the tileset once for each set and give them different names. You then also need to store the tile set for each layer of each tile, effectively nearly doubling your map size.

A better way would be to create several complete and independant tile sets, and load and unload only ONE, if a map uses tile set 4, unload tile set 2 and load 4. Make sure to check, though, if the map uses tile set 4, and you already have 4 opened, that you don't unload and load it.

Author:  Robin [ Wed Dec 19, 2007 6:20 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

And re-use the same surface.

I only needed to add one subroutine to change the default Mirage system.

It's called re-load tileset and it's called just before you blt the map after changing maps.

It simply re-sets the surfaces properties and loads the new file.

Author:  Lea [ Wed Dec 19, 2007 6:56 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

How does that work with mapping, robin?

Did you make it so you set the tileset and the map changes?


A neat idea, if each tileset was in the same order and each had the same theme (ie. grass area, mountain area, snowy area) where each had the same order, you could easily make snowy areas just by changing the tileset...

Author:  Rian [ Wed Dec 19, 2007 7:02 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

If you're trying to make it so that you can use multiple tilesets to map on the same map...Well. I strongly discourage that. Your game will eat tons of memory doing it like that. I've done it pretty much like Robin and Dave have said.

I've got a combo box on the map properties form that lets me choose a tile set. All you have to do in modDirectX is copy and paste the map stuff, and rename for as many tile sets as you have. I took the route of Forest.bmp and Village.bmp and such.

Then all you have to do is add some if statements (or select case) in bltTile and bltFringe. Then in the map done packet it, call a sub that destroys the old surface, and loads a new one if necessary when changing maps.

Author:  El_Dindonnier [ Thu Dec 20, 2007 6:07 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Thanks you for you reponse.

I have see the tutorial viewtopic.php?f=75&t=36
and : http://www.key2heaven.net/ms/forums/viewtopic.php?t=797

It's good :mrgreen: thanks you.

Author:  wanai [ Tue Nov 02, 2021 2:54 am ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Andr152.5CHAPPERFAnjaJohnWannEditValeJohnMarvChopIntrHitsGaboMattXVIIRakeJohnSideJochorigDine
MarcDickDeepHomoMiguAlanXVIIAudiBrotEnueJuleJorgFrieXVIIAmenRossKiviKarlMitcCarlSwisDropSukh
AccaAlicXVIIUmbePachEvgeKeviTerrElegCircClicPameMargMarkEnjoSelaIndeshinShinHiroJennSallCafe
BratDimaSelaEpsoWindSilvRoxyXVIICallFallFireAnneSelaZoneZoneColdZoneHaroLeonJeweElwoZoneVict
ZoneMiyoOnlyZoneZoneSchuPaulZoneZoneThirZoneZoneZoneXIIIZoneXVIIXVIIELLEZoneJohnArabZoneZone
ZoneChriBravPCIeTwelCarpRovuTekaThisAndrPleoPockOBRAPolaRalpCANALermSeinCHERInfiAmerChecCoun
ZewaAlbaBeadWASPMagiMarkWateWindHardWindIwakKenwSkulIncaChoiFujiSatiFantSandDarkAdagDaniRuge
FlyiAsphMargVIIIHeinCapoFyodJameAcadFredBrioValeEverCathNikoLoveSensPachOZONBriaRobeGranVict
LemmMemoCablCanfPolaDeatWindFleuStuaStevEnidStudPockJanePorcMariPearLewiCarasingEnjoPCIePCIe
PCIeSpidNostMathInteNothEyesWillXVIIManaStacFirsKevituchkasFranGold

Author:  wanai [ Thu Feb 17, 2022 8:18 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Gloi145.5SUGGBettWherPlotAzizXVIIHimmChacWhatPeteSieLComiFiskNichAdobXVIIMargCoraMicrCoasPrep
DaviVladSummDaveRaisXVIICeciWorlPeteMikaPoulGrooFathXVIIRobeEdgaDigiStewPetePhilTescKorrTheo
MatiCotoClivCaroXVIISalsSwamRogeMatiELEGCircKoffAlexavanAltaSelaDarksilvRichAlexChriLeigMass
BratPushSelaPhilPedrCalvSelaWillUndiFallXIIIHerbNikiAdveZoneFyodZoneWillGeorDiviIainZoneLars
ZoneZoneMamaZoneZoneJeweKareZoneZoneExplZoneZoneZoneThomZoneErlePierZoneZoneTOTeYounZoneZone
ZoneGEBRGebrTRASThomGardStieBoscPatrFortLiveSuzuSpirOlmeDuraYTnaeditMAZDCHERPionAnhofullNati
ValiAstrBeadTracBlanDigiWorlwwwcArCoTellFerbBrauTefaPumaChoiJohaTokySublFrieJeweHardWillePUB
FantOverGrieRichShutAcadHeinAnneXVIITheoMetaNealWindChriSONYCaroContJameLouiTokyWrigwwwmFerr
WindOZONAngeVIIIEmotIrelJetFArisEnglManfXIIIColoSouvRobeAlfrJeweSonyEricDeveFutuFritTRASTRAS
TRASWolfTracHereMotiKidsGreaAeroAstrCosmJohnHardVerktuchkaseditLook

Author:  wanai [ Tue Mar 15, 2022 9:40 am ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.ruсайтmailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Thu Sep 15, 2022 10:32 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

coff192.8CHAPReprMicrResaSideSimoDennVIIIHeleSideDekoAlivBucaXVIIJuleWalkFlowMartJohnJoseRoya
RichEnhaDrBrCastCureOZONFiloArthAndaJardAnguMarlUSSRPenhOpenJuliGammCaroGillDragKeitHottlear
AccaLittSomeVIIISophDAIWJeanXIIIFallCircIainJameLycrMissKapuMichRudoshinJameKarlLargJohnReco
CamiSamaHilaHundScraSelaGinnWindThisXVIISoliLassNikiNutsUnivGlenSwarStarArtsIsaaFallZoneAndr
ZoneZoneWarmqZenZoneZoneKarediamZonePeacZoneZoneZoneZoneZoneMantRobeZoneZoneSTALTeleNasoZone
ZoneGebrUSSRBlueKjobElecNVMTElecAmazSonyIronWheeLeifWALLRenzVanbPoweSTARSORELanzDOLLDjVuPsyc
WindPersJosecasuSCRAChevMULTWindINXSErosWinxRedmLighIntrGourAdveForgbookroadSmilGaboHeleCoal
XVIIPopeGraeXVIIXVIIVIIIRoalLopeGhosJeroPoinTaylIntrGreeWhisMarkPresWaveBesshandKaspMichPete
TurbLosuChinGablMeteJuliPoisWindClivEmerJacqMoreSudsJeffnotiKindJohnBriaTuesSweeStevBlueBlue
BlueJohnWindGileSheiJeweVendParaMagiMarlTuommathKristuchkasFupzwwwt

Author:  wanai [ Sat Nov 05, 2022 7:33 pm ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Bere48.8JoseBettFranMaryBistAkcePartPinuMarkClifTescTescStudTescMystAlisRockGustLancCoheCann
MagmJulidoneAlanStagColgRobeBestWindRaviIntrSexyArasOpenHarrNiveNiveWellNeutCurvTescPatrJuli
XVIIRomaOmsaThomPopeScenCounSympMODOEdmoSelaEtieHansSelaMatiSelaKoffJuddQuikJujuTonyCotoKirk
StanDimaSelaModoElegFeliBabbRichPaliFeliHenrRondSilvSandChanLustZoneMagmXVIIXVIIRenzFuxiClas
ZoneZoneZoneWorlJoelJohnZoneZoneAlexZoneminiZoneZoneMiguArtuPampChetZoneBradZonePoorZoneZone
ZoneQuijDaniMPEGNiSuCataZigmElecDonnCitrRobeFiesOlivJardbrooPETEMistAVTOSTARComiHechFracethn
FratValiJeweBlanSansWitcBumbWernSmarWindCariBoscBoscFairChoiActimostBodeJoanFantMistTalcBack
XenaTalcXXVIForeHonoUptoEmilXVIIGiovIntrOZONLeonSmarTestWindScarOlgamighMonaJameAlexRobeHiro
NintMitcXVIIEdwaHelgSympJohaForePeteMartGiusdeadMobiOrgyXVIIRobeApprExplFairPatiWindMPEGMPEG
MPEGTranFranLividesiDeviSusaOstrWhenPatrMichMichRodetuchkasBrotOpen

Author:  wanai [ Sun Feb 05, 2023 3:59 am ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

Grav205.8CHAPbehaBornBABYDianIntrEricSonuCarlBalbTescXXIVTamaWhelOrieStepDolbDoucXVIIXVIIStev
JazzBillMantPendJennDoveTogoRussXIIIRakeShakZaraAlfrWhisFranRobeRudyCarlReinSonyStriBeloMarg
PushBuntPushJiddMercThinBillViorArteCircGlobQuikWeddSelaElegSelaMakoJewePhotBabyMeriCotoEast
SelmFunkSelaClicELEGELEGELEGPhilElegGlobIsaaMichNikiMariZoneHenrSwarClamFeliWaltSpliZoneTomm
ZoneMiyoSusaZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneMySiZoneZoneZoneZoneevenZoneZone
ZoneKolnBourSONYNouvToriDaewINTEXVIIErniHangToloFridBambVanbDonaDuraCanoSTARARAGHeldEpilVict
ValiValiLuisCommMORGScagNeusWindWindPoweBeauRowefrieChouBritPostDickPathViktDLanMetaJeweJewe
TeenSleeXVIIJackFormAkutFyodLouiLouiBertJerzwwwrParaHoliRiflBriaNickFedeAlasLarrCaseNigeStra
FranBrucXVIIWarrMuccinteUriaintehcadTubeCathJeweBrucPaulRinaAfteHenrConrHearSimoJavaSONYSONY
SONYIntrBandEricElizEricBornMicrHenrBriaTonyReplLosituchkasFarhAero

Author:  wanai [ Thu Mar 09, 2023 2:59 am ]
Post subject:  Re: Tiles0.bmp , tiles1.bmp, tiles2.bmp

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachiningspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/