[DEPRECATED] The Platform-Vania Engine - Physics and Raycast Based 2D Action Platforming

Hi, I need separated sprites for every direction because I have a material with normals to reflect lights. Does the engine suports distintc sprites or flip a unique sprite when the direction change?

Thanks in advance.

Fernando.

Hey Fernando! Currently it just flips the game object, so no it doesn’t have support for multi Directional sprites, sorry!

OK. Thank you.

I’d like to chime in and say I’d love support for multi-directional sprites if it’s something you’re considering.

1 Like

I just added it to my list :slight_smile: I’ll let you guys know when it’s in the engine. Shouldn’t be too difficult to implement.

2 Likes

Would be nice to see a upgrade to the the Attack & Combo System to be able to do Weak/Strong/Kick/Projectile attacks that could also be linked together with Combos!!!

1 Like

I’m trying to setup a bouncing platform using a SpringJoint2D, and I thought since this is physics-based, that should just work naturally… But I’m not exactly getting the results I expected. The momentum of the platform doesn’t seem to have any effect on the momentum of the player’s jump.

So then I tried applying the Moving Platform script with “Dynamic Rigidbody” checked because you specifically mention using that with a spring joint in one of the tutorials, but that seems to make the behavior even stranger: I can’t jump off the platform, but when I hit the jump button, the platform suddenly moves upward more quickly. I don’t know what could be going on there.

Any suggestions?

If you want to see what I’m seeing, just throw down a cube with a RigidBody2D, BoxCollider2D, and SpringJoint2D with Frequency and Dampening turned way up (so it should be pretty stiff), then jump on it.

1 Like

Sure thing, I’ll try it out right now.

Hey, Darkhitori! Great suggestion! I definitely want to make the system more and more in depth over time, so I’ll definitely add those specifically to my list. Thanks!

I sent you a PM so we can figure this one out. Seems to stay pretty solid for me.

Hello, i’m planning to buy your amazing engine, just 3 questions :

Is the glide power integrated ?

Can i create a 2.5D game or only 2D =O ?

And maybe has notting to do with a metroidvania xD, but can i make something like rayman legends,kirby,etc, with this engine ?

Thanks in advance.

Best regards =D

1 Like

That’s awesome =D

  1. Glide power is not yet integrated but it’s actually the next thing I’m working on.

  2. Works great for 2d or 2.5d. Doesn’t matter at all!

  3. Sure you can make something like Rayman Legends. I actually took some inspiration specifically from that. Though you may need to tweak things to get it exact.

Thanks so much for the kind words!

2 Likes

So, I’m slowly making my way through the tutorials and I’m liking what I’m seeing so far. However, I’m running into a small issue with trying to get the horizontal movement that I’m looking for. I can’t seem to get instant acceleration on the horizontal movement script to work properly without turning the friction down to 0 on the character controller. However, when I turn the friction down to 0, the character slides. Even when playing around with small friction values, I can’t seem to get instant acceleration without sliding. I’m using some pretty small sprites (32x32), so this might be the problem. I just need instant acceleration with instant stopping. Any recommendations?

1 Like

Awesome, thanks for your very fast reply =D.

Btw this engine has a save system ?

Thanks again for all your help

1 Like

Let me look into this. It may be currently broken I realize as I changed the movement code, so it may be a bug. I will check it out and fix it today and try to get a new version up asap with this fixed. Many apologies and I’ll let you know when that’s fixed. Sorry about that!

Currently the engine doesn’t have a save system. It’s on my list for sure. However if you want to implement saves it’s pretty easy using Playerprefs. I’ll try to get a new version up soon however that has that.

Okay, fixed it. Yes that was an error on my part so I do apologize for it. Here’s the next version that should be up within the next day or so with the instant acceleration.

https://www.youtube.com/watch?v=MLFjSnbpMQE

Hey guys! Just want to let you know that I’ve included flippable sprites in the latest update! Here’s a quick clip. All you have to do is slot your reverse sprite animations into the animator override controller in their respective places. All the code does is swap between the two animation layers, one with the animations facing right, the other, left. Let me know if that works for you guys!

Here’s a sample of what it looks like:

https://www.youtube.com/watch?v=qkjsHRMzx_Y

2 Likes

Oops, little bug with the sprite flipping when in water for the Van Helsing demo. Fixing that really quick and should be fixed by the next update. Sorry about that!