2 years ago

Fixed a bug with Animals; I changed their draw code to clip off the bottom of the sprite when In water, but this changed where the origin point is. All good now!
(please ignore how hats float, they need a new sprite)

Fix in the article

#gameDev #goblins


The Fix:

Add a couple temp variables
var _xO = (-sprite_width/2); ///Puts us back to the middle)
var _xSq = ((1-xSc)*(sprite_width/2)); ///Adjusts the offset based on how much the sprite has been squashed. When not squished this is 0, as it squashes this increases and keeps the sprite centre.

Then for the draw x position in draw_sprite_general use: x+_xO+xSq



2 comments

Loading...

Next up

New pack! So i did a 10 pull

There was a video, but Gamejolt said no

WELL. Its not gigantamax but it sure makes up for not having one!

Also I now have 5 more rotten eggs...

3 not shown because traded them

Oh that's new, I'll take a picture...oh. OH!

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

Shout out to everyone who gave me Charged Stickers last month, thank you all so very much.

You all rock! I hope you're doing well and have a fantastic September!

Take care, stay safe and keep being awesome!!

This week's Fan Art Friday celebrates Undertale! Accept the quest in your quest log to get started.

✨️SHINY✨️

YEAAAASSS!!!

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

YUS!