Platformer tutorial
by Hokuto · in Torque Game Builder · 03/08/2006 (12:41 pm) · 2 replies
Hi,
I was following the Platformer tutorial from TDN pages. (Cool stuff!)
When adding the code to control player movement you are able to jump
even if you are against a small wall/crate to your left or right.
After adding the code for the camera movement the player avatar gets again stuck
when next to a small wall or crate and you have to move back away from the obstacle
to attempt a running jump.
Just wondering if someone else had the same issue,
unless it is just me doing something wrong.
Thanks
P.S.
Hang on it may be me... the problem only happens when the player's avatar is next to solid wall/crate to the left. Moving right there is no problem with jumping off from being next to an obstacle
I was following the Platformer tutorial from TDN pages. (Cool stuff!)
When adding the code to control player movement you are able to jump
even if you are against a small wall/crate to your left or right.
After adding the code for the camera movement the player avatar gets again stuck
when next to a small wall or crate and you have to move back away from the obstacle
to attempt a running jump.
Just wondering if someone else had the same issue,
unless it is just me doing something wrong.
Thanks
P.S.
Hang on it may be me... the problem only happens when the player's avatar is next to solid wall/crate to the left. Moving right there is no problem with jumping off from being next to an obstacle
#2
If TDN empty slots (tutorials' titles/chapters) get gradually filled in people will have no exuses :)
That is a good point... I'll try with a fixed camera...right now I'm using a delayed one
03/08/2006 (12:58 pm)
Yes indeed.If TDN empty slots (tutorials' titles/chapters) get gradually filled in people will have no exuses :)
That is a good point... I'll try with a fixed camera...right now I'm using a delayed one
Torque Owner Tom Bushby
I've set my camera so it doesn't move though, as the level I created is completely viewable without moving the camera. :)
The platformer is a wonderful tutorial, it has taught me alot about T2D. :)