Posts Tagged ‘player’

Priority

Posted by (twitter: @PixelProphecy)
Saturday, April 18th, 2015 11:32 pm

So after a wholesome 10 hrs of working straight on the game, I am happy to present to you the game’s logo and the player vehicle:

spr-logo-ui

player-from-top-v04 copy

Now I have to catch a couple of hours sleep…

Unity 2D Platformer Controller Free on Github

Posted by (twitter: @cjkimberlin)
Wednesday, April 15th, 2015 10:58 am

Hey everyone!

I wanted to share the 2D Platformer Controller  I’ve been building up for awhile now. It’s a Unity3D package that you can drop in your scene to get immediate tweakable platforming mechanics for a player. It’s completely within the rules of Ludumdare and now you can spend your time implementing other mechanics instead of creating all the movement and jumping mechanics for the player.

Unity 2D Platformer Controller

The package allows your standard movement, jumping, air jumps, wall jumps, corner grabs, corner jumps, wall slides, and dashes. Every one of these features can be turned off or modified in the editor.

It’s open source and completely free. Why reinvent the wheel? Especially when you only have 48/72 hours!

 

Some scripts I made to make things easier

Posted by (twitter: @Zazanxors)
Friday, August 22nd, 2014 8:26 pm

Straight to the point, these are some scripts I wrote in C# for Unity 2D stuff that I’ll be using – feel free to use them any way you want.

TileTextureManager.cs

This script is ment to make creating platformer scenes a bit easier. Assign it to the tile you are using and then give it six sprites for said tile – it will detect nearby tiles and automatically select the appropriate sprite to use, then rotate as needed so that you can place tiles and leave it to the rest.

PlayerMovement.cs

Pretty self-explanatory, this is a simple script to act as a sort of 2D CharacterController for the player. Comes with a debugging option. Requires a trigger collider to detect whether or not the player is on the ground.

EnemyAI.cs

Also rather self-explanatory. Simple script that doubles as very basic A.I. and physics handler for enemies. Physics is nigh-identical to player physics. Also includes debugging option and also needs a trigger collider.

HealthLogic.cs

Decent health script I wrote for whatever needs it. EnemyLogic will need this to deal damage properly to the player properly. Includes logic for invulnerability periods after getting hit. Debugging on this will only display health in the console.

[cache: storing page]