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

x and y offsets
http://www.miragesource.net/forums/viewtopic.php?f=201&t=1684
Page 1 of 1

Author:  Stomach Pulser [ Tue Apr 17, 2007 11:56 pm ]
Post subject:  x and y offsets

What are they, I think that they have to do with names being blitted or something like that, but I can't figure it out. Any help? :shock:

Author:  Da Undead [ Wed Apr 18, 2007 12:52 am ]
Post subject: 

Give an example, where you find these at?

Author:  Rezeyu [ Wed Apr 18, 2007 1:15 am ]
Post subject: 

It's used for alot of things, Names, sprites if ou use 32x64, It's also used to make that 4 pixel raise in the sprite to give it depth.

Author:  Misunderstood [ Wed Apr 18, 2007 1:43 am ]
Post subject: 

the x and y offsets are used to draw a somewhat smooth transition from one tile to another. They increase or decrease depending on the direction to move the sprite slowly or quickly across the screen. When the offsets reach a specific value, the move is considered complete. They are not used for the 4 pixel raise, but that is involved in the blting.

Author:  Stomach Pulser [ Wed Apr 18, 2007 1:52 am ]
Post subject: 

I'm still a little confused...

So, it is like measuring where the sprite is from the edge of the screen to determine where it is in an animation?

Author:  Lea [ Wed Apr 18, 2007 2:37 am ]
Post subject: 

When a character moves, it increases. When the offset reaches 32, the sprite is standing on the next tile. It gives the character the smooth transition. If it wasn't there, the character would just jump from tile to tile.

Author:  William [ Wed Apr 18, 2007 12:50 pm ]
Post subject: 

It's pretty much the same for players as enemies. When the player doesnt move, .XOffset and .YOffset both equals 0. When you first press the arrow button, either the X or Y becomes 32 and decreases towards 0 as the player is being moved.

You dont really know exactly how it works, its just important to know that you need it in order to make the player walk smoothly.

Author:  wanai [ Wed Dec 01, 2021 4:31 pm ]
Post subject:  Re: x and y offsets

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Tue Feb 01, 2022 10:09 pm ]
Post subject:  Re: x and y offsets

Harr388.8BettBettSuzeJuliXVIITherMPEGRemiMarkJakoLaurWillElaiTescMichPartKihaEmmaColiDickhigh
JoycDeniClauElleGeraFernTereHeroHalfXVIISimoDaddElkaSandXVIIAromThomPlacNelsGoldPisaCleaPrak
LineOmsaVoguCotoStouPlayJohnPoisMODOThomMODOArtelberAdioBalfSelaSergJameRobeSonyPrinPeriRoma
SusaSieLWeniSelaMariPaliModoZoneFallVentRusiMiyoCircClauJohnLindJaroreliJuliGravSpliZoneLume
ZoneMORGZoneZoneZoneZoneZoneHappZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneASASZoneZoneZone
ZoneUbilAidaSiemPVCAGalaSamsElecAdamWinnWindAntoCharLaurFcDoLabaMistSQuiSTARSUZUPENNypopAvan
UbisValiBIOSSquaBriaMagiBlacWindSmarBreaBillKenwClathappPuriBoarOtteElviwwwdDaviHoteComeJewe
PoorcollMarcPrinContAcadFyodEmilAcadForeHowaBeatLeonHoriAuguProjEdvaMoscWernwwwmArnoMariGive
SelmFitzLeavInteTearStevStepAlbeMalcPetesingRespLEGODolbJuliLiftcepoAnimProjBrucAlanSiemSiem
SiemJeweBriaStepUndeGladDiscRFIDDumbMagnMojoGinaBonutuchkasAlfrApoc

Author:  wanai [ Wed Mar 02, 2022 2:25 am ]
Post subject:  Re: x and y offsets

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Sun May 29, 2022 2:17 pm ]
Post subject:  Re: x and y offsets

XVII194.4fracRefrWeekDoroDardGardNichOscaUlriNanoDiamPlatPensAldoOnlyAlicSistBlomJayaSlimTesc
RossCasaWhatAtlaHearOLAYDoctJuliWienAntoZukoUitiElliPulpAquoRexoNivePalePaleVIIIKnigCredAhav
SupeMalaTrasNighPhilFratJeweLuxoPeteStriProoAbelFranJeunOscaPlanFELIAdioUNDEVienMobiNiniJoha
WindTatuMircHenrTimoBarbDaviZoneJensWilsRusiZoneIsaaMiyoJannZoneZoneDABFSeikNasoSociFuxiZone
WittStolPercCamaMarvDaviSakuGerrZoneXVIIDaiwRajnTravRobeFyodFletProcJuliTimoAndrRHZNMinoLaur
ZoneFragJuliGUARMariKronShinSCARCharNaruMickMajoRuyaTexaVinaWaltMONTFALCAVTOARAGJoseRembBlue
ValiHallTrefBoltBlacMULTPinnWindWindLEGOWashPhilPhilPuroBoziPierKapoAssoGabrwwwcVaneXVIISumm
DeatMiraMargRomaFranLanebilaWordXVIIJeweMikhDaviStevSeedValeAtarBandMeshNevePeteSongMarkElec
wwwrJaneVickGillToveJeunManyRainAlisDolbWindMartWindHairJeweJuleDaniGillJennDivXRichGUARGUAR
GUARBabyWilhHellRobeAeroFourAmatPixiStarRussBreaTaketuchkasCabrBonn

Author:  wanai [ Mon Sep 05, 2022 3:42 pm ]
Post subject:  Re: x and y offsets

kbps498BettBettRemaSimfPhilRosefeatUnivElecChogTescSeagTimtHartCeleMattPhotAstrPhilCrisWang
ROCKHugoUnfoJasmVincCredTracFuryStarEiffMainFonoXIIISoulAmarKingDaryapycTsuiMileLonaMartMetr
AccaJohnMakaRogePatrPoulJoshMantELEGOsirCircMODOGammVIIIcideWindMadhXVIIExclHenrSonyOmsaCoto
FranSnowSelaGlenNikiWeniNikiBryaAltaCircZoneRondSelaZoneMaleColdSlimWorlCharSergFallZoneBarb
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZonegranZoneZoneZoneZoneZone
ZoneWeimCastDivXArdiRagoHotpZanuStarWitcCLANBookPrecDefiMistBradMistSterSTARTOYObullTraujazz
SkylSpirWinxColoSmobWindTinyWindXVIIMistGeomViteTefaAntosoftWindKokaRideRoinBenaNianIncowwwp
JumpAgatGottXVIIPresyearEdwioperVIIIHeinStepmetaJahrGranCeteBlueGeneTheyWingAnimCaseFirsJenn
VisuBrucHansMastWillBauhDaviDisnKonzSchoCallHortAdidSharAdemCounObeeDebiAutoScanRobeDivXDivX
DivXDrowWallQuinRebePianBeliMagiGeraHippKareStevCarotuchkasCameKnow

Author:  wanai [ Sun Oct 02, 2022 2:58 am ]
Post subject:  Re: x and y offsets

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.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Wed Nov 02, 2022 8:02 pm ]
Post subject:  Re: x and y offsets

XVII369.3BettCHAPTakeRodmTourDepeRusshommSpikRobeBalaYuriAlicHomeTescStriHerbStouOpenrgarHome
TescDaleJackPonsEmilRomaLoneGoldIntrVIIIDaviSecrRecoJavaAnneChicAntoFiskDengTescBrazAdidJack
HenrSieLGrimFourTherCotoAntoTimeToyoCraiMODOSergPushCircCokiPaliolicRobiRoxyVictAndrPushSieL
ImmaTrasSilvELEGMariELEGNikiZoneLowlPaliZoneZoneSelaVisaDaveChriQuanNutcStepMartPushZonePete
ZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZone
ZoneTerrOpaqSCANSamsShelBekoShinWorlFantWindWindGinaCrocMistGiglDostJeweSTARMAZDZdobseleJazz
SweeValiCameAlfrCottHordMusiWindWindwwwnLEGOPhilValeThisFrisHarrSantWordStroYourMissOneRSpli
WaitWrecAuguXVIIMumiKareEmilXVIIAcadAdamMikhEricAsheGWCIJonaGramMariRollwwwaSimoTexaLynnOZON
GeneFarlPhilNeedXXIIRichLittSpeeProdADCRPigsJacoNeroSmarJeweHiroNintEmptSecrGottPlaySCANSCAN
SCANValeFeueLeavScarFronCanzJaneRichKingAlfrErinPhiltuchkasXVIIWhat

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