dsz3k n6rir e294z 3849t 79i6f iz53r 857ys f8izf 4574t tssis aerka 2zzrk bkd87 zd684 a2y8r br7y4 ky758 8rty6 7ze9t bz28t r9f97 Creating a game where you can scale the size |

Creating a game where you can scale the size

2021.12.02 01:14 ashauntis Creating a game where you can scale the size

Hi there, I'm creating a relatively simple side scroller as my first real project in phaser, and I'd like to be able to resize the game and have images etc. shift along with that scale.
All of my assets are based on a 256x254 size screen, so ideally I'd make everything 3-4x bigger.
I managed to make the overworld map scale relatively well with the following code:

 let x = (256 / 2) * window.local.gameScale let y = (224 / 2.05) * window.local.gameScale this.add.image(x, y, "overworld-1"); this.overworldmusic = this.sound.add('overworld-1', {loop: true, volume: 0.5}); this.overworldmusic.play(); //camera const cam = this.cameras.main; cam.setViewport(0, 0, 256 * window.local.gameScale, 224 * window.local.gameScale); cam.zoom = window.local.gameScale; this.scene.launch('HUD'); 
I can put the HUD over it and play with the pixels to make it look good with the following:
 const cam = this.cameras.main; cam.setViewport(0, 0, 256 * window.local.gameScale, 224 * window.local.gameScale); cam.zoom = window.local.gameScale; this.add.image(236 / 2 * window.local.gameScale, 268 / 2 * window.local.gameScale, "main-hud"); 
But if I change the scale from 4x to 3x, suddenly they're not lined up the way I want anymore. I think I'm thinking myself in circles here, but how would you write this?
submitted by ashauntis to phaser [link] [comments]


2021.12.02 01:14 TheOrangeKid04 Facebook 2 factor authentification problem - urgent help

So I noticed that there was a login from an unknown device, and decided to change my password. When I changed my password, I realized that my account had two factor enabled, and it also had my previous phone number which no longer exists. Now as I'm trying to log in, it logged me out of all my devices, and I can't generate a 2-factor code. In addition, I cant receive the text since I don't have my previous phone number anymore. I sent my ID in for the last resort.
I'm panicking as I have an assignment due tonight and my team has been using the FB group chat a lot to communicate and edit the works; in addition, my employer is planning on sending documents this week for my project.

How long will verifying my ID take? I already made an alt account and tried to claim the account as mine, but had to send another ID for verification. And is there any hope?
submitted by TheOrangeKid04 to PPC [link] [comments]


2021.12.02 01:14 ToddJustWorks Praise Todd Howard

Praise The Legendary Game Developer Todd Howard
submitted by ToddJustWorks to PraiseToddHoward [link] [comments]


2021.12.02 01:14 Sekai-chan MIUI DOWNGRADE

I've been on Xiaomi EU/MIUI 12.5.7 for days and it somehow degraded my phone's performance. Can I just re-flash the 12.5.5 package via recovery just like how you flash an update?
submitted by Sekai-chan to PocoPhones [link] [comments]


2021.12.02 01:14 Midiex Adopted first dog 12 days ago but I lost the instructions. Is he broken?

Adopted first dog 12 days ago but I lost the instructions. Is he broken? submitted by Midiex to Greyhounds [link] [comments]


2021.12.02 01:14 ToddJustWorks Praise Todd Howard

Praise The Legendary Game Developer Todd Howard
submitted by ToddJustWorks to PraiseToddHoward [link] [comments]


2021.12.02 01:14 anditsung [H] games [W] any offers

my games

submitted by anditsung to SteamGameSwap [link] [comments]


2021.12.02 01:14 MrSloppyPants Whomever programmed the Psijic Time Breach quest can eat a bag of dicks

Not only was this quest one of the most frustrating and banal I've played so far (go run around a map aimlessly) but the questline glitched and soft locked me out of completion because it would not recognize a breach that I closed as closed, so I could not progress.
Looking online, this seems to have happened to a ton of people, and the bug is still not fixed. Now I have to abandon the quest and do the whole godforsaken thing over again. These are the kinds of bugs that forced me away from Destiny. If this game has them as well, then I may not stick with it.
submitted by MrSloppyPants to elderscrollsonline [link] [comments]


2021.12.02 01:14 Good-Plane-1020 Just Fair-launched!🚀 A Tidal Wave 🌊 of Profits to 🔱Aqua Shiba's investors! Join the Heroic Aqua Shiba on his heroic crusade to save the Crypto & Defi World! Join our Royal Atlantian Army as we embark on our campaign to become the #1 DeFi Token in all of Crypto. Join 🔱Aqua Shiba Today.

Just Fair-launched!🚀 A Tidal Wave 🌊 of Profits to 🔱Aqua Shiba's investors! Join the Heroic Aqua Shiba on his heroic crusade to save the Crypto & Defi World! Join our Royal Atlantian Army as we embark on our campaign to become the #1 DeFi Token in all of Crypto. Join 🔱Aqua Shiba Today.
🔱Aqua Shiba just Launched🚀 from depths of the Majestic Ocean and bringing a Tidal Wave 🌊 of Profits to his investors! Join our amazing and rapidly growing community we need you!
🌐Website: https://www.aquashiba.cc
📱Telegram: https://t.me/AquaShibaCoin
🐤Twitter: https://twitter.com/AquaShibaCoin
🌐BSC Scan: https://bscscan.com/token/0x37B8996C92f9143aE82183280b120a3499Ab0b3C
Liquidity is locked: https://deeplock.io/lock/0xabAF6f50Ac9219B9E19e35D97773294Aa6141e10
Contract Ownership is Renounced: https://bscscan.com/tx/0xb7604d35e9873e076060b4f87d6ce70df13e039e84fd0106a0e227d95ad0187a
📝Contract: 0x37B8996C92f9143aE82183280b120a3499Ab0b3C
Buy with 11% Slippage right here on PancakeSwap!
Aqua Shiba has assembled his greatest generals to form the Royal Atlantian Marketing Council to market our token far and wide by advertising via multiple avenues such as Reddit, Twitter, Facebook, Token Listing sites, and much more.
The Bounties of Aqua Shiba's Heroic Campaign will be shared with all his loyal hodlers via Heroic Reflection Rewards, Token Airdrops and Community Awards and Prizes.
Our Tokenomics are as follows:
Auto-Liquidity: All Aqua Shiba transactions contribute 7% to our liquidity pool ensuring price stability, sustainable growth for all his Aqua Shiba investors. Multiple liquidity pools and stable coins parings with BUSD & USDC will be added as our community grows.
Safe & Secure: Aqua Shiba puts the safety and security of his Army as his top priority and has ordered that Contract Ownership be Renounced at launch & 100% of Liquidity be Locked, therefore, ensuring that his token is decentralized and no individual, group, or entity has control over his royal token and ensuring safety and security for all his investors.
Heroic Reflections: All Aqua Shiba holders will observe their token balance grow through Reflection Rewards at intervals as the community grows. This function will allow holders to effectively earn interest over time and will scale as the community grows.
Heroic Marketing: Aqua Shiba has formed the Royal Atlantian Marketing Council which will utilize the Royal Atlantian Treasury of which 3% of every transaction is contributed to launch a Marketing Campaign covering multiple avenues such as Reddit, Twitter, Facebook, Token Listing sites, and much more. Aqua Shiba is going to save the entire crypto world and rain riches down on his loyal soldiers!
submitted by Good-Plane-1020 to SatoshiBets [link] [comments]


2021.12.02 01:14 ToddJustWorks Praise Todd Howard

Praise The Legendary Game Developer Todd Howard
submitted by ToddJustWorks to PraiseToddHoward [link] [comments]


2021.12.02 01:14 fukkev what the collection is lookin like rn, got a couple of more things coming in as we speak 😼

what the collection is lookin like rn, got a couple of more things coming in as we speak 😼 submitted by fukkev to SuicideBoys [link] [comments]


2021.12.02 01:14 ToddJustWorks Praise Todd Howard

Praise The Legendary Game Developer Todd Howard
submitted by ToddJustWorks to PraiseToddHoward [link] [comments]


2021.12.02 01:14 Ok_Teaching3203 (very) sparse auditory hallucinations + “

F16
diagnosed w/ major depressive disorder + generalized anxiety disorder, not on meds right now
last year in class, heard a woman scream “HEY!” Directly behind my head, nobody was there
on two separate occasions I have heard a woman’s voice say “hello?” In my room late at night when nobody was there, both within the last three months
just now i heard extremely slow deliberate scratching on my window which stopped the second I called my boyfriend
also have “delusions” (in quotation marks because I’m usually aware that they’re irrational but they still freak me out) pretty often
“delusions” include:
my teacher knowing I cheated on a test one time, decided not to tell me right away and is saving it for the end of the semester so she can expel me. i have gone through the sxhool handbook to confirm this CANT happen and am still constantly worried about it
My boyfriend hates me/is with me on a dare/is with me for surveillance reasons and was hired (I know for a fact it’s bullshit but it still makes me anxious sometimes)
Students around me are telepathic and/or I’m saying my thoughts out loud without realizing it and everyone knows what I’m thinking. This one especially has caused em to censor my own thoughts so people don’t hear (i know it doesn’t make sense but in the moment i just feel so embarrasssed and humiliated by the idea )
everyone at school has access to my private google docs and can see all my writings, including teachers
Just worried this could be somethin serious and would like some opinions, thank you all.
submitted by Ok_Teaching3203 to mentalhealth [link] [comments]


2021.12.02 01:14 vandalrific Ranyamdally

Ranyamdally submitted by vandalrific to ThickFit [link] [comments]


2021.12.02 01:14 ItsNotRiize When will George Stinney ever get justice? I heard the case was attempted to be retried and he isn’t guilty but was is the case closed?

When will George Stinney ever get justice? I heard the case was attempted to be retried and he isn’t guilty but was is the case closed? submitted by ItsNotRiize to law [link] [comments]


2021.12.02 01:14 jwiseowlpro Why do my harvests drop back to 0 when I add additional liquidity to existing pool?

This has happened a couple times now, am I missing something?
submitted by jwiseowlpro to VVSFinance [link] [comments]


2021.12.02 01:14 aeiouyyyyyyy ⠀⠀⠀⠀⠀⠀

⠀⠀⠀⠀⠀⠀ submitted by aeiouyyyyyyy to japan_insoul [link] [comments]


2021.12.02 01:14 sociisgaming Hey guys, I just hit Level 150! What upgrades should I focus on first to bring me up to speed with T7? I assume my weapons need replacing, any ideas what I should look for? Is dual- wielding staffs even viable at higher tiers? Thanks in advance guys!

Hey guys, I just hit Level 150! What upgrades should I focus on first to bring me up to speed with T7? I assume my weapons need replacing, any ideas what I should look for? Is dual- wielding staffs even viable at higher tiers? Thanks in advance guys! submitted by sociisgaming to OrnaRPG [link] [comments]


2021.12.02 01:14 h_bessler2001 ape

ape submitted by h_bessler2001 to ape [link] [comments]


2021.12.02 01:14 R3D_Dr4g0n_11 Field Upgrades from BF4, BF1, and BF4 and how they relate to specialists.

I went back to play BF4 with a bubby of mine while he saves up to get 2042 and got reminded of a mechanic that I almost forgot existed. For each class in BF4, BF1 and BFV there are these different types of Specialization you can get for each. (I.e. Combat Medic for Assault, Anti-Tank for Engineer, Sniper for Recon, etc.)
They gave you passive buffs for that specific combat role and would sometimes change how you played that class. After playing 2042 I came to the realization that the specialist are just more unique and tangible versions of these combat perks. They didn't always give you a massive change to the class but they did make some of the things you could do much better. Anti-Tank would be given more rockets and mines while mechanic would give you increased repair speed, things like that.
Personally, I think that specialists are an almost organic evolution to that system, though they maybe took a leap a little too far that some people weren't comfortable with.
submitted by R3D_Dr4g0n_11 to LowSodium2042 [link] [comments]


2021.12.02 01:14 abbyfrayo After Party

After Party submitted by abbyfrayo to aww [link] [comments]


2021.12.02 01:14 sward227 Question about troops.

Thank you for reading this brothers, AWHOOO!
I was just wondring... lookin gat my building list; I only have 2 troops slots (blood claws). As I am growing the army I find my self needeing another troop slot.
I have seen alot of SW lists... and I think mine is really melee oriented.. it is...
so i was thinking of trying to get one troop "squad: that is shooty.
the obvs deal is primaris intercessors ,which are shooty and sounds all around OK.
I saw alot of perople take Incursors... I am assuming for the ignore cover as well as the concealed positions.
I think (just thinking hope to get some opinions); a squad of five of those could (expensice poitns costs) deploy forways and be able to shoot and ignore cover...
Just think that give a bit more strategy instead of "put gun line here and fire" I think the forward deploy and ignore cover could help to support the melee advancing army.
angain thans for all poinions and critiques.
Cheers AWHOOO
submitted by sward227 to SpaceWolves [link] [comments]


2021.12.02 01:14 Rabidrabitz Was treated to some feet curls while cat-sitting for a friend.

Was treated to some feet curls while cat-sitting for a friend. submitted by Rabidrabitz to curledfeetsies [link] [comments]


2021.12.02 01:14 CoolGirl-3759 Why does Joy look different compared to Season 1 to Season 5 of Superbook?

Why does Joy look different compared to Season 1 to Season 5 of Superbook? submitted by CoolGirl-3759 to cartoons [link] [comments]


2021.12.02 01:14 deadbeatdemonic My fiance's "sugar daddy" who no longer monetarily provides needs a place to stay for 3 weeks and I flipped out on her, she simply said "I'll just get a new job then"

My gf "L" (f20) and I (f19) live together with our (irrelevant) oommate "B" for over a year. For the past 8ish months my gf has had a sugar daddy "G" (m29) who used to drop hundreds on her and buy all her weed at a moments notice. I was okay with this seeing as he also drives her to work everyday (an hour away) and they never did anything romantic or sexual, they are more like glorified friends (and she hates him.) Yet, because he believes they are in a relationship, I am not allowed to post our engagement on our Facebook or our relationship, and I can't be romantic with her in front of him. My entire family knows we're engaged, hers doesn't because they disapprove of her sexuality. Obviously G does not know. He's honestly stupid he sees my lovemarks on my neck all the time but assumed I am fucking B. We ran with it because we're poor. Anyways, she's getting tired of him but still needs him to take her to work because she doesn't have a car, and we still need to pay bills. I hate this man. I gave him a chance but he suggested all our (LESBIAN. WE ARE THREE LESBIANS) roommates have an "orgy" with him and has made several other inappropriate comments, making all of us uncomfortable. Flash to now, his lease is up and he needs somewhere to go for 2 weeks (originally 3 but I put my foot down) obviously I don't want him to be homeless, but my gf and I share a room and sleep in the same bed, I'm not keen on hiding my relationship in my OWN HOME. I respect her and hide it because she needs him but in our home is too far.. When she broke the news to me, I was a little tipsy and I essentially spazzed and we fought for a bit back and forth until I said to her "I'm not in the fucking closet anymore! I'm not 14. I'm a lesbian and my entire family knows that we're engaged... I won't be expected to hide our relationship in our own home which we pay rent for while an intruder claims my wife-to-be as his own." She went silent and after a few minutes said "I'll just find a new job then.. so I won't need him anymore. He doesn't pay for anything anymore anyways. I'm sorry, this shouldn't have been going on in the first place." She didn't sound upset, but I still feel guilty for forcing her hand.
submitted by deadbeatdemonic to relationship_advice [link] [comments]


http://teplokonv.ru