Mirage Source

Free ORPG making software.
It is currently Fri Apr 26, 2024 12:21 am

All times are UTC




Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: x and y offsets
PostPosted: Tue Apr 17, 2007 11:56 pm 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
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:

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 12:52 am 
Offline
Knowledgeable

Joined: Tue Apr 17, 2007 10:18 pm
Posts: 148
Location: USA, Texas
Give an example, where you find these at?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 1:15 am 
Offline
Pro
User avatar

Joined: Thu Dec 14, 2006 3:20 am
Posts: 495
Location: California
Google Talk: Rezeyu@Gmail.com
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 1:43 am 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 1:52 am 
Offline
Knowledgeable
User avatar

Joined: Thu Dec 28, 2006 8:57 pm
Posts: 297
Location: This magical place called 'reality'
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?

_________________
P2B Feed: Custom AI
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 2:37 am 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
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.

_________________
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  
 
 Post subject:
PostPosted: Wed Apr 18, 2007 12:50 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
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.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Wed Dec 01, 2021 4:31 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Tue Feb 01, 2022 10:09 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
Harr388.8BettBettSuzeJuliXVIITherMPEGRemiMarkJakoLaurWillElaiTescMichPartKihaEmmaColiDickhigh
JoycDeniClauElleGeraFernTereHeroHalfXVIISimoDaddElkaSandXVIIAromThomPlacNelsGoldPisaCleaPrak
LineOmsaVoguCotoStouPlayJohnPoisMODOThomMODOArtelberAdioBalfSelaSergJameRobeSonyPrinPeriRoma
SusaSieLWeniSelaMariPaliModoZoneFallVentRusiMiyoCircClauJohnLindJaroreliJuliGravSpliZoneLume
ZoneMORGZoneZoneZoneZoneZoneHappZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneASASZoneZoneZone
ZoneUbilAidaSiemPVCAGalaSamsElecAdamWinnWindAntoCharLaurFcDoLabaMistSQuiSTARSUZUPENNypopAvan
UbisValiBIOSSquaBriaMagiBlacWindSmarBreaBillKenwClathappPuriBoarOtteElviwwwdDaviHoteComeJewe
PoorcollMarcPrinContAcadFyodEmilAcadForeHowaBeatLeonHoriAuguProjEdvaMoscWernwwwmArnoMariGive
SelmFitzLeavInteTearStevStepAlbeMalcPetesingRespLEGODolbJuliLiftcepoAnimProjBrucAlanSiemSiem
SiemJeweBriaStepUndeGladDiscRFIDDumbMagnMojoGinaBonutuchkasAlfrApoc


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Wed Mar 02, 2022 2:25 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Sun May 29, 2022 2:17 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
XVII194.4fracRefrWeekDoroDardGardNichOscaUlriNanoDiamPlatPensAldoOnlyAlicSistBlomJayaSlimTesc
RossCasaWhatAtlaHearOLAYDoctJuliWienAntoZukoUitiElliPulpAquoRexoNivePalePaleVIIIKnigCredAhav
SupeMalaTrasNighPhilFratJeweLuxoPeteStriProoAbelFranJeunOscaPlanFELIAdioUNDEVienMobiNiniJoha
WindTatuMircHenrTimoBarbDaviZoneJensWilsRusiZoneIsaaMiyoJannZoneZoneDABFSeikNasoSociFuxiZone
WittStolPercCamaMarvDaviSakuGerrZoneXVIIDaiwRajnTravRobeFyodFletProcJuliTimoAndrRHZNMinoLaur
ZoneFragJuliGUARMariKronShinSCARCharNaruMickMajoRuyaTexaVinaWaltMONTFALCAVTOARAGJoseRembBlue
ValiHallTrefBoltBlacMULTPinnWindWindLEGOWashPhilPhilPuroBoziPierKapoAssoGabrwwwcVaneXVIISumm
DeatMiraMargRomaFranLanebilaWordXVIIJeweMikhDaviStevSeedValeAtarBandMeshNevePeteSongMarkElec
wwwrJaneVickGillToveJeunManyRainAlisDolbWindMartWindHairJeweJuleDaniGillJennDivXRichGUARGUAR
GUARBabyWilhHellRobeAeroFourAmatPixiStarRussBreaTaketuchkasCabrBonn


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Mon Sep 05, 2022 3:42 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
kbps498BettBettRemaSimfPhilRosefeatUnivElecChogTescSeagTimtHartCeleMattPhotAstrPhilCrisWang
ROCKHugoUnfoJasmVincCredTracFuryStarEiffMainFonoXIIISoulAmarKingDaryapycTsuiMileLonaMartMetr
AccaJohnMakaRogePatrPoulJoshMantELEGOsirCircMODOGammVIIIcideWindMadhXVIIExclHenrSonyOmsaCoto
FranSnowSelaGlenNikiWeniNikiBryaAltaCircZoneRondSelaZoneMaleColdSlimWorlCharSergFallZoneBarb
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZonegranZoneZoneZoneZoneZone
ZoneWeimCastDivXArdiRagoHotpZanuStarWitcCLANBookPrecDefiMistBradMistSterSTARTOYObullTraujazz
SkylSpirWinxColoSmobWindTinyWindXVIIMistGeomViteTefaAntosoftWindKokaRideRoinBenaNianIncowwwp
JumpAgatGottXVIIPresyearEdwioperVIIIHeinStepmetaJahrGranCeteBlueGeneTheyWingAnimCaseFirsJenn
VisuBrucHansMastWillBauhDaviDisnKonzSchoCallHortAdidSharAdemCounObeeDebiAutoScanRobeDivXDivX
DivXDrowWallQuinRebePianBeliMagiGeraHippKareStevCarotuchkasCameKnow


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Sun Oct 02, 2022 2:58 am 
Online
Mirage Source Lover

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


Top
 Profile  
 
 Post subject: Re: x and y offsets
PostPosted: Wed Nov 02, 2022 8:02 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 487391
XVII369.3BettCHAPTakeRodmTourDepeRusshommSpikRobeBalaYuriAlicHomeTescStriHerbStouOpenrgarHome
TescDaleJackPonsEmilRomaLoneGoldIntrVIIIDaviSecrRecoJavaAnneChicAntoFiskDengTescBrazAdidJack
HenrSieLGrimFourTherCotoAntoTimeToyoCraiMODOSergPushCircCokiPaliolicRobiRoxyVictAndrPushSieL
ImmaTrasSilvELEGMariELEGNikiZoneLowlPaliZoneZoneSelaVisaDaveChriQuanNutcStepMartPushZonePete
ZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZone
ZoneTerrOpaqSCANSamsShelBekoShinWorlFantWindWindGinaCrocMistGiglDostJeweSTARMAZDZdobseleJazz
SweeValiCameAlfrCottHordMusiWindWindwwwnLEGOPhilValeThisFrisHarrSantWordStroYourMissOneRSpli
WaitWrecAuguXVIIMumiKareEmilXVIIAcadAdamMikhEricAsheGWCIJonaGramMariRollwwwaSimoTexaLynnOZON
GeneFarlPhilNeedXXIIRichLittSpeeProdADCRPigsJacoNeroSmarJeweHiroNintEmptSecrGottPlaySCANSCAN
SCANValeFeueLeavScarFronCanzJaneRichKingAlfrErinPhiltuchkasXVIIWhat


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 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