How many positions are there in a 1x1 spacetile?
-
- Posts: 1052
- Joined: Thu Oct 30, 2014 4:58 pm
- Clan: ☭birming
How many positions are there in a 1x1 spacetile?
How many positions are there in a 1x1 spacetile?
written by Im 'corneum
As you can see there are 4 positions you can be in in a single block hozizontal.
Assuming that the same rules go for this verticaly, we only have to calculate 4x4.
So there are 16 different positions in one block.[bbvideo=560,315]https://www.youtube.com/watch?v=Zdm1jOf ... e=youtu.be[/bbvideo]
written by Im 'corneum
As you can see there are 4 positions you can be in in a single block hozizontal.
Assuming that the same rules go for this verticaly, we only have to calculate 4x4.
So there are 16 different positions in one block.[bbvideo=560,315]https://www.youtube.com/watch?v=Zdm1jOf ... e=youtu.be[/bbvideo]
Read this for more detailed information (viewtopic.php?p=48510#p48510)
Here are some screens to show it a bit more:
SpoilerShow
Jumped once:
Jumped twice:
Jumped three times:reply to this post or your mom will die in her sleep tonight
Re: How many positions are there in a 1x1 spacetile?
This tutorial helped me a lot, thanks corneum .
-
- Posts: 1838
- Joined: Fri Jun 06, 2014 12:20 am
- Player profile: http://ddnet.tw/players/Welf/
- Mapper profile: http://ddnet.tw/mappers/Welf/
Re: How many positions are there in a 1x1 spacetile?
Frontpage pls
- timakro
- Posts: 414
- Joined: Mon May 05, 2014 6:05 pm
- Location: Germany
- Player profile: http://ddnet.tw/players/timakro/
- Mapper profile: http://ddnet.tw/mappers/timakro/
- Clan: unique
Re: How many positions are there in a 1x1 spacetile?
Code: Select all
//character's size
static const int ms_PhysSize = 28;
Code: Select all
int CCollision::GetPureMapIndex(float x, float y)
{
int Nx = clamp(round_to_int(x)/32, 0, m_Width-1);
int Ny = clamp(round_to_int(y)/32, 0, m_Height-1);
...
}
32-28=4
-
- Posts: 1052
- Joined: Thu Oct 30, 2014 4:58 pm
- Clan: ☭birming
Re: How many positions are there in a 1x1 spacetile?
Hook and unhook arent filling out the whole tile.
Thats why you can move when surrounded by them, but not when surrounded by stoppers. Stoppers can make you stand still 100%.
You also cant hammer through 1tile of stoppers theoreticly. But since they are bugged, you can Hammer through even better.
Thats why you can move when surrounded by them, but not when surrounded by stoppers. Stoppers can make you stand still 100%.
You also cant hammer through 1tile of stoppers theoreticly. But since they are bugged, you can Hammer through even better.
reply to this post or your mom will die in her sleep tonight
-
- Posts: 1838
- Joined: Fri Jun 06, 2014 12:20 am
- Player profile: http://ddnet.tw/players/Welf/
- Mapper profile: http://ddnet.tw/mappers/Welf/
Re: How many positions are there in a 1x1 spacetile?
Zeta said there are only stopper bugs because somebody was bad at coding some time ago xD
What about new, actually working, stoppers?
What about new, actually working, stoppers?
-
- Posts: 1300
- Joined: Thu Oct 01, 2015 7:00 pm
- Player profile: https://ddnet.tw/players/Le-32-Petit-32-Prince/
- Mapper profile: https://ddnet.tw/mappers/Ninjed
Re: How many positions are there in a 1x1 spacetile?
Omg. Agree thats we need better stoppers. Which can.lt be thru
The Real One!
- timakro
- Posts: 414
- Joined: Mon May 05, 2014 6:05 pm
- Location: Germany
- Player profile: http://ddnet.tw/players/timakro/
- Mapper profile: http://ddnet.tw/mappers/timakro/
- Clan: unique
Re: How many positions are there in a 1x1 spacetile?
Hook and unhook are filling out a full tile, a tee is just smaller than a full tile. I feel like stoppers are an excuse to make a bad designed part work somehow instead of coming up with good one, even if they were implemented correctly.
-
- Posts: 1052
- Joined: Thu Oct 30, 2014 4:58 pm
- Clan: ☭birming
Re: How many positions are there in a 1x1 spacetile?
So stoppers are bigger than one tile o.O
reply to this post or your mom will die in her sleep tonight
Who is online
Users browsing this forum: No registered users and 5 guests