Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - IceFreaki

Pages: [1]
1
Programming Questions / Camera following player
« on: August 10, 2015, 12:21:39 PM »
Hey there~

So I'm using the Yuuutu Engine and I want the camera to follow the player.
I've got it working, kinda. The thing is, after the player dies, the camera snaps to the top left of the room.

I had this problem before years ago but I used a different engine where the bow would stay put where you died.
Back then I just made the bow be there in any difficulty and made it invisible and let the camera follow that thing. Worked like a charm.
But in Yuuutu's Engine the bow also seems to go to the top left or something.

Is there any way to fix that so that the camera stays where the player died?

Thanks for the help!

2
Programming Questions / Problem with hitbox of animated sprites
« on: July 26, 2015, 11:33:27 AM »
Hey everyone!
So I've recently started to mess around with Game Maker again after a short break of just 4 years and I've been having quite some fun so far.
But I kinda found a lil' problem with one of the objects I'm using. It's an animated sprite and wiggles around a bunch and well, I'll explain with a few pictures to make it clear.

The animated sprite uses 30 frames and one of those frames looks like this:
(click to show/hide)

See that leg that's sticking out? That should obviously kill you if you dare touch it. Now to another frame that comes a bit later.
It looks like this:
(click to show/hide)

The Guy should be able to fall through but the game still uses the earlier frames as the hitbox (or rather, the hitbox of all frames together). The transparent leg is where it was on the earlier frame and shouldn't harm the Guy since it's not there.
But sadly, that isn't the case and well, Guy dies to the invisible leg.
(click to show/hide)

Does anyone know how I can make it so that it only uses the hitbox of the frame that is currently displayed and not as if all frames are one frame or something like that...

Thanks~

Pages: [1]