I need help.

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
RazorX
Posts: 3
Joined: Thu May 14, 2020 1:34 pm

I need help.

Post by RazorX »

Im going to start making an engine for comptuer science, and was wondering how clipping is handles in exult? Physical clipping.
fliptw

Re: I need help.

Post by fliptw »

since U7 is tile based, I would guess that the game checks to see if surrounding tiles are transversible.
fliptw

Re: I need help.

Post by fliptw »

on the same level as the given sprite, that is.
RazorX
Posts: 3
Joined: Thu May 14, 2020 1:34 pm

Re: I need help.

Post by RazorX »

Yes but tiles have different sizes and stuff. And walls have there clipping region at the base. And how come you can stand on some stuff?
fliptw

Re: I need help.

Post by fliptw »

why is there a but?

I press the up key.

game checks to see if the next tile can be walked on. if not, the sprite does not move north.

a tile may also change the level that the sprite is on in additon to be walkable.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: I need help.

Post by drcode »

Not sure what you mean by 'clipping'. The notion in Exult is just that there is a rectangle that can be set so that any pixels outside it aren't drawn. But this has nothing to do with the actual 3D world.

Exult (actually U7) is actually a 3D world, but drawn with 2D images. The tiles are 8x8 pixels, but objects aren't constrained to them in appearance. Each object has a 3D tile coordinate, and also has 3 dimensions given in tiles, and this is the information used to determine blocking.
Locked