Page 1 of 2
How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 4:59 pm
by Im 'corneum
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]
Here are some screens to show it a bit more:
Jumped once:
- screenshot_2017-01-26_17-01-26.png (83.96 KiB) Viewed 7943 times
Jumped twice:
- screenshot_2017-01-26_17-01-29.png (82.68 KiB) Viewed 7943 times
Jumped three times:
- screenshot_2017-01-26_17-01-30.png (82.71 KiB) Viewed 7943 times
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 6:11 pm
by Ninjed
Wow
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 7:45 pm
by RayB.
This tutorial helped me a lot, thanks corneum
.
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 8:19 pm
by Welf
Frontpage pls
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 10:10 pm
by timakro
Code: Select all
//character's size
static const int ms_PhysSize = 28;
Character size is 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);
...
}
Tile size is 32
32-28=4
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 10:41 pm
by Im 'corneum
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.
Re: How many positions are there in a 1x1 spacetile?
Posted: Thu Jan 26, 2017 11:17 pm
by Welf
Zeta said there are only stopper bugs because somebody was bad at coding some time ago xD
What about new, actually working, stoppers?
Re: How many positions are there in a 1x1 spacetile?
Posted: Fri Jan 27, 2017 3:30 am
by Ninjed
Omg. Agree thats we need better stoppers. Which can.lt be thru
Re: How many positions are there in a 1x1 spacetile?
Posted: Fri Jan 27, 2017 1:12 pm
by timakro
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.
Re: How many positions are there in a 1x1 spacetile?
Posted: Fri Jan 27, 2017 1:25 pm
by Im 'corneum
So stoppers are bigger than one tile o.O