Mirage Source

Free ORPG making software.
It is currently Sun Dec 28, 2025 8:58 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ] 
Author Message
PostPosted: Wed Dec 19, 2007 10:39 am 
Offline
Regular

Joined: Sun Nov 04, 2007 2:47 pm
Posts: 40
How to have more tiles ? (tiles0.bmp, tiles1.bmp, tiles2.bmp etc..............)


Can I help me please ?

Thanks you in advance, El_Dindonnier


Top
 Profile  
 
PostPosted: Wed Dec 19, 2007 6:08 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Wed Dec 19, 2007 6:15 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: [email protected]
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.

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Wed Dec 19, 2007 6:20 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Wed Dec 19, 2007 6:56 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: [email protected]
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...

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Wed Dec 19, 2007 7:02 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: [email protected]
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.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
PostPosted: Thu Dec 20, 2007 6:07 pm 
Offline
Regular

Joined: Sun Nov 04, 2007 2:47 pm
Posts: 40
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.


Top
 Profile  
 
PostPosted: Tue Nov 02, 2021 2:54 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Andr152.5CHAPPERFAnjaJohnWannEditValeJohnMarvChopIntrHitsGaboMattXVIIRakeJohnSideJochorigDine
MarcDickDeepHomoMiguAlanXVIIAudiBrotEnueJuleJorgFrieXVIIAmenRossKiviKarlMitcCarlSwisDropSukh
AccaAlicXVIIUmbePachEvgeKeviTerrElegCircClicPameMargMarkEnjoSelaIndeshinShinHiroJennSallCafe
BratDimaSelaEpsoWindSilvRoxyXVIICallFallFireAnneSelaZoneZoneColdZoneHaroLeonJeweElwoZoneVict
ZoneMiyoOnlyZoneZoneSchuPaulZoneZoneThirZoneZoneZoneXIIIZoneXVIIXVIIELLEZoneJohnArabZoneZone
ZoneChriBravPCIeTwelCarpRovuTekaThisAndrPleoPockOBRAPolaRalpCANALermSeinCHERInfiAmerChecCoun
ZewaAlbaBeadWASPMagiMarkWateWindHardWindIwakKenwSkulIncaChoiFujiSatiFantSandDarkAdagDaniRuge
FlyiAsphMargVIIIHeinCapoFyodJameAcadFredBrioValeEverCathNikoLoveSensPachOZONBriaRobeGranVict
LemmMemoCablCanfPolaDeatWindFleuStuaStevEnidStudPockJanePorcMariPearLewiCarasingEnjoPCIePCIe
PCIeSpidNostMathInteNothEyesWillXVIIManaStacFirsKevituchkasFranGold


Top
 Profile  
 
PostPosted: Thu Feb 17, 2022 8:18 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Gloi145.5SUGGBettWherPlotAzizXVIIHimmChacWhatPeteSieLComiFiskNichAdobXVIIMargCoraMicrCoasPrep
DaviVladSummDaveRaisXVIICeciWorlPeteMikaPoulGrooFathXVIIRobeEdgaDigiStewPetePhilTescKorrTheo
MatiCotoClivCaroXVIISalsSwamRogeMatiELEGCircKoffAlexavanAltaSelaDarksilvRichAlexChriLeigMass
BratPushSelaPhilPedrCalvSelaWillUndiFallXIIIHerbNikiAdveZoneFyodZoneWillGeorDiviIainZoneLars
ZoneZoneMamaZoneZoneJeweKareZoneZoneExplZoneZoneZoneThomZoneErlePierZoneZoneTOTeYounZoneZone
ZoneGEBRGebrTRASThomGardStieBoscPatrFortLiveSuzuSpirOlmeDuraYTnaeditMAZDCHERPionAnhofullNati
ValiAstrBeadTracBlanDigiWorlwwwcArCoTellFerbBrauTefaPumaChoiJohaTokySublFrieJeweHardWillePUB
FantOverGrieRichShutAcadHeinAnneXVIITheoMetaNealWindChriSONYCaroContJameLouiTokyWrigwwwmFerr
WindOZONAngeVIIIEmotIrelJetFArisEnglManfXIIIColoSouvRobeAlfrJeweSonyEricDeveFutuFritTRASTRAS
TRASWolfTracHereMotiKidsGreaAeroAstrCosmJohnHardVerktuchkaseditLook


Top
 Profile  
 
PostPosted: Tue Mar 15, 2022 9:40 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
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


Top
 Profile  
 
PostPosted: Thu Sep 15, 2022 10:32 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
coff192.8CHAPReprMicrResaSideSimoDennVIIIHeleSideDekoAlivBucaXVIIJuleWalkFlowMartJohnJoseRoya
RichEnhaDrBrCastCureOZONFiloArthAndaJardAnguMarlUSSRPenhOpenJuliGammCaroGillDragKeitHottlear
AccaLittSomeVIIISophDAIWJeanXIIIFallCircIainJameLycrMissKapuMichRudoshinJameKarlLargJohnReco
CamiSamaHilaHundScraSelaGinnWindThisXVIISoliLassNikiNutsUnivGlenSwarStarArtsIsaaFallZoneAndr
ZoneZoneWarmqZenZoneZoneKarediamZonePeacZoneZoneZoneZoneZoneMantRobeZoneZoneSTALTeleNasoZone
ZoneGebrUSSRBlueKjobElecNVMTElecAmazSonyIronWheeLeifWALLRenzVanbPoweSTARSORELanzDOLLDjVuPsyc
WindPersJosecasuSCRAChevMULTWindINXSErosWinxRedmLighIntrGourAdveForgbookroadSmilGaboHeleCoal
XVIIPopeGraeXVIIXVIIVIIIRoalLopeGhosJeroPoinTaylIntrGreeWhisMarkPresWaveBesshandKaspMichPete
TurbLosuChinGablMeteJuliPoisWindClivEmerJacqMoreSudsJeffnotiKindJohnBriaTuesSweeStevBlueBlue
BlueJohnWindGileSheiJeweVendParaMagiMarlTuommathKristuchkasFupzwwwt


Top
 Profile  
 
PostPosted: Sat Nov 05, 2022 7:33 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Bere48.8JoseBettFranMaryBistAkcePartPinuMarkClifTescTescStudTescMystAlisRockGustLancCoheCann
MagmJulidoneAlanStagColgRobeBestWindRaviIntrSexyArasOpenHarrNiveNiveWellNeutCurvTescPatrJuli
XVIIRomaOmsaThomPopeScenCounSympMODOEdmoSelaEtieHansSelaMatiSelaKoffJuddQuikJujuTonyCotoKirk
StanDimaSelaModoElegFeliBabbRichPaliFeliHenrRondSilvSandChanLustZoneMagmXVIIXVIIRenzFuxiClas
ZoneZoneZoneWorlJoelJohnZoneZoneAlexZoneminiZoneZoneMiguArtuPampChetZoneBradZonePoorZoneZone
ZoneQuijDaniMPEGNiSuCataZigmElecDonnCitrRobeFiesOlivJardbrooPETEMistAVTOSTARComiHechFracethn
FratValiJeweBlanSansWitcBumbWernSmarWindCariBoscBoscFairChoiActimostBodeJoanFantMistTalcBack
XenaTalcXXVIForeHonoUptoEmilXVIIGiovIntrOZONLeonSmarTestWindScarOlgamighMonaJameAlexRobeHiro
NintMitcXVIIEdwaHelgSympJohaForePeteMartGiusdeadMobiOrgyXVIIRobeApprExplFairPatiWindMPEGMPEG
MPEGTranFranLividesiDeviSusaOstrWhenPatrMichMichRodetuchkasBrotOpen


Top
 Profile  
 
PostPosted: Sun Feb 05, 2023 3:59 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Grav205.8CHAPbehaBornBABYDianIntrEricSonuCarlBalbTescXXIVTamaWhelOrieStepDolbDoucXVIIXVIIStev
JazzBillMantPendJennDoveTogoRussXIIIRakeShakZaraAlfrWhisFranRobeRudyCarlReinSonyStriBeloMarg
PushBuntPushJiddMercThinBillViorArteCircGlobQuikWeddSelaElegSelaMakoJewePhotBabyMeriCotoEast
SelmFunkSelaClicELEGELEGELEGPhilElegGlobIsaaMichNikiMariZoneHenrSwarClamFeliWaltSpliZoneTomm
ZoneMiyoSusaZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneMySiZoneZoneZoneZoneevenZoneZone
ZoneKolnBourSONYNouvToriDaewINTEXVIIErniHangToloFridBambVanbDonaDuraCanoSTARARAGHeldEpilVict
ValiValiLuisCommMORGScagNeusWindWindPoweBeauRowefrieChouBritPostDickPathViktDLanMetaJeweJewe
TeenSleeXVIIJackFormAkutFyodLouiLouiBertJerzwwwrParaHoliRiflBriaNickFedeAlasLarrCaseNigeStra
FranBrucXVIIWarrMuccinteUriaintehcadTubeCathJeweBrucPaulRinaAfteHenrConrHearSimoJavaSONYSONY
SONYIntrBandEricElizEricBornMicrHenrBriaTonyReplLosituchkasFarhAero


Top
 Profile  
 
PostPosted: Thu Mar 09, 2023 2:59 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Group