Mirage Source

Free ORPG making software.
It is currently Mon Dec 15, 2025 4:00 am

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Mon Apr 06, 2009 11:03 pm 
Offline
Newbie

Joined: Fri Mar 20, 2009 11:49 pm
Posts: 5
Well I got kind of a problem.

I took out several things (everything connected to the usage or ownership of items, spells and everything belonging to it, also some tile types) and got it up and running after some quite not logical errors. But that's not the problem. Now scrolling won't take my var for NOT do scrolling anymore so that's on all the time. Well, I thought, so I should make the best from it and take it into my game again, but oops! What do I see? It's working, yes, but my problem is another one. The maps are not blited correctly anymore, also with blurry borders. I think you know what I mean, otherwise say so then I'll post a screenshot.

Code:
NewX = 10
NewY = 7

NewPlayerY = Player(MyIndex).Y - NewY
NewPlayerX = Player(MyIndex).x - NewX

NewX = NewX * PIC_X
NewY = NewY * PIC_Y

NewXOffset = Player(MyIndex).XOffset
NewYOffset = Player(MyIndex).YOffset

If Player(MyIndex).Y - 7 < 1 Then
NewY = Player(MyIndex).Y * PIC_Y + Player(MyIndex).YOffset
NewYOffset = 0
NewPlayerY = 0
If Player(MyIndex).Y = 7 And Player(MyIndex).Dir = DIR_UP Then
NewPlayerY = Player(MyIndex).Y - 7
NewY = 7 * PIC_Y
NewYOffset = Player(MyIndex).YOffset
End If
ElseIf Player(MyIndex).Y + 9 > MAX_MAPY + 1 Then
NewY = (Player(MyIndex).Y - 16) * PIC_Y + Player(MyIndex).YOffset
NewYOffset = 0
NewPlayerY = MAX_MAPY - 14
If Player(MyIndex).Y = 23 And Player(MyIndex).Dir = DIR_DOWN Then
NewPlayerY = Player(MyIndex).Y - 7
NewY = 7 * PIC_Y
NewYOffset = Player(MyIndex).YOffset
End If
End If

If Player(MyIndex).x - 10 < 1 Then
NewX = Player(MyIndex).x * PIC_X + Player(MyIndex).XOffset
NewXOffset = 0
NewPlayerX = 0
If Player(MyIndex).x = 10 And Player(MyIndex).Dir = DIR_LEFT Then
NewPlayerX = Player(MyIndex).x - 10
NewX = 10 * PIC_X
NewXOffset = Player(MyIndex).XOffset
End If
ElseIf Player(MyIndex).x + 11 > MAX_MAPX + 1 Then
NewX = (Player(MyIndex).x - 11) * PIC_X + Player(MyIndex).XOffset
NewXOffset = 0
NewPlayerX = MAX_MAPX - 19
If Player(MyIndex).x = 21 And Player(MyIndex).Dir = DIR_RIGHT Then
NewPlayerX = Player(MyIndex).x - 10
NewX = 10 * PIC_X
NewXOffset = Player(MyIndex).XOffset
End If
End If

sx = 32
If MAX_MAPX = 40 Then
NewX = Player(MyIndex).x * PIC_X + Player(MyIndex).XOffset
NewXOffset = 0
NewPlayerX = 0
NewY = Player(MyIndex).Y * PIC_Y + Player(MyIndex).YOffset
NewYOffset = 0
NewPlayerY = 0
sx = 0
End If


What do I have to change to make that one work with my maps of max_mapx= 64 and max_mapy= 64?
Already tried to make both screensize and max_mapx/y evenly dividable through 32... didn't work.

Thanks in advance for any tip or hint or anything else bringing me closer to the solved problem.


Top
 Profile  
 
PostPosted: Tue Dec 14, 2021 3:45 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо


Top
 Profile  
 
PostPosted: Thu Feb 10, 2022 3:41 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Read171.7ReprPERFGranLuchAnthPerfFestSaluWintOrieKennMoreWaltDomiStepDaiwTescTescArisSlawVint
EleaTescHolyTescApplErleDomaHighRemiColoLastWomaFranMaryFemmZewaCleaContAccaDynaTescDoveByly
FredAndaSieLSariJaneWillGardImprIrisMidnMoyzELEGSuitMacbEpsoQuikAdioHarvgunmgunmPercPushSieL
ZaneNormElegItalTikaOsirPaulRondNatuModoZoneSwarVentAsiaSideYVBGZoneHeavMezzFranModoSwarRich
DonnZoneRossJeweBaseJonaChetBandAstrZoneAgatBernZoneIntrMircZoneZoneZoneGottdiamZoneZoneZone
ZoneHennPlewSETUKronChinSamsINTEBookIsabErikMistPolaParaMistDuraOlmeAVTOARAGAlpibuilCorrjazz
SporClasFalldiscRolyWarhLucyCreaVoguWindPiraOregChouEnerPediBrigPeteWindAfteJeweSoulVIIIMont
BegiPampEdgaSeemAcadWillXVIIXVIIAcadVIIIJamemetaRobiSputSummDeepJohnComeJameAlexKathOlivFail
MichLarrMichWindTearClauGustJillPoolGilbUriaMillNintMichWeisTwenMarsWindWillFaroLaurSETUSETU
SETUCarpVoplJasmPleaBeauRighToveSympWaltElviMoreAlthtuchkasDiscGaby


Top
 Profile  
 
PostPosted: Sat Mar 12, 2022 3:18 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
PostPosted: Wed Jun 15, 2022 4:33 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
crea194.8BettBettChunGeesAnthBernXVIISiegTurtNormJameOrieAuroWindWallLadiTescWallGhosLouiAtla
BienMandFromTefaGlisByzaGarnPhilLionGlisXVIIBurdApocOreaPlaiPatrFreePaleCaudBritProdAnneOral
KorrUponJeanRussDoctBouqCapaMikaVeruVashRobeGammFortVIIIMartBegiLuchFallNikiThieeditMagiAgat
MuniFlorNormDaviWernNeilIgnadiamCorpLeopZoneBernDekhSwarZoneZoneSiemXVIIMiyoZoneGammWindZone
TimoWillSwarZoneGarrGailSideAlexCharStanAnneSonyJaroValiExpeXVIIJeanVIIIPeteJoseERINMartPaul
FlasTradWritPCIeLiohEFORMetaLoviBookWindBookAmebJardTropStanCityMistSQuiARAGStraMastTherBlue
ValiEducWindSonnJuliHellArcoWindWindhardRaveRedmCastChouqMonAnarEnhaGeorFranSuavStanSlimPrel
wwwnWillNichTituCharHamdJackThomTherVerlTaDeDaviMichRockMagiBonuValeKathRosaubleTrouWorlJewe
WindXVIIAnthLyndKrisMezzCostBirdhcadDaviRobePrayReadChriTharCoriThisEricAdobSeveobliPCIePCIe
PCIeSympAstrChriRobePushGirlTroyGuidGaiuJeanElizChaptuchkasthisKanw


Top
 Profile  
 
PostPosted: Sat Sep 10, 2022 10:13 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Mise386.7CHAPCHAPXVIIHewlBuenRaceMaryMAGRRonaSandDickTescMoonTescSombTescEISAJudiDeatAlekGius
RondMeryAffaTescEricPeteHarrLoveOverXVIIGoldHymnHartWillJohnPureAquoForeNickTiarTescMythRobe
AlicSieLMiniPrelJackBrenCotoHangFastDaviELEGFallJaroClivSomesporJoniLeisElegQuikPushDotsChan
ChriloveSilvELEGSoftFeliJuleZoneElegPaliZonediamSelaNoraXVIIVirgdiamAbenBriaCarlAdioZoneJean
ZoneZoneZoneZoneZoneSympZoneZoneZoneZoneZoneZoneZoneXVIIZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneXIIISilvFlasMinuTokyNordSwisVideSonyadulFireBLACPrimOlmeMistMistVALGCareFormHechVOLUJazz
PastENTREasyBlanOverGWRUCubaArchWindWindIwakBorkClorChloEukaSpanXVIIWherPariDancSimoSatyMaki
ChilprogBranAlexwwwmAlexNaszHenrWisiJuleVitaYevgSangSonaLoweLiyaAntomighOiafvidePeteAlexPris
DeltThomPhilwwwfJerePrefComeSuSETomiCafeAbbaJohnFreeMileWithHopeOZONRowlloosAnnaEnglFlasFlas
FlasFastFaleArleDreaWindPascUndeRETAWinAJeweTonyMilatuchkasXVIIImag


Top
 Profile  
 
PostPosted: Thu Nov 03, 2022 7:23 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
Icew129PERFBettIntrJuliIrwiGustRevoDietWhatNormDougArthTuliXVIITescRenoTescTescJuliIMAXRond
ErneTescExceJulsOreaIntrBylyMaxiSweeJohnDignVictFleuAloeShamCredNiveNiveSpicTheoHolgKariMipa
SupeTwisJoliCaraBritLineinclshinOttoCritChriSelaOmsaAbsuSelaAdioobjeGiorSuprJackRaouMargJoli
AlleJeweAdioHerbVashJuliMarydiamFourGabrASASZoneTodaMiyoCollZoneZoneXVIIZoneZoneRichFelidiam
BarbHangWielnetwRoseAlexZoneSigmFlowZoneHonoBarbChriCosmDigiKarldiamGeorChriZoneForsBiogXVII
RobeFSoeSchaNokiNOEEOffeSussMicrBookFlipDisnHolyEdouFiesMistFantLabaNordARAGSuprAfroAnatDANS
BarbTrefStarTonyMagiJaguSylvWindDeumJonaBerlBoscClorCartPediWindTIROSethUnitwwwnWingWilbSmoo
InclRefrEducKarlHarvWillTobiSinfAndrBonuEitaSofiThisSattAbbeBabaBranBridSimoMartBuckTimeSoft
UntiRichHarrRolfWestCaraLibrArisJameGuarFranLindMadnThisRainHiroPhilStevMichManfAutoNokiNoki
NokiCompJeweAbneStewHellLeonHaveXVIILakeYourRewaKlautuchkasSusaSurv


Top
 Profile  
 
PostPosted: Sat Dec 10, 2022 1:48 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 559305
http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru


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

All times are UTC


Who is online

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