## devkitpro-arm-users — This is the general list for users of the ARM toolchain

You can subscribe to this list here.

 2004 2005 2006 2007 2008 2009 Jan Feb Mar Apr May Jun Jul Aug (1) Sep (2) Oct (7) Nov (2) Dec Jan Feb (2) Mar (2) Apr May (3) Jun (1) Jul (18) Aug (1) Sep (9) Oct (6) Nov (1) Dec Jan (7) Feb Mar Apr (7) May (8) Jun (17) Jul (6) Aug (3) Sep (4) Oct (1) Nov (5) Dec (5) Jan (14) Feb (60) Mar (33) Apr (20) May (11) Jun (4) Jul (12) Aug (5) Sep (12) Oct (26) Nov (29) Dec (27) Jan (5) Feb (22) Mar (9) Apr (4) May (15) Jun (16) Jul (5) Aug (3) Sep Oct (2) Nov (2) Dec (8) Jan (1) Feb (2) Mar (1) Apr May Jun Jul Aug Sep Oct (1) Nov Dec
S M T W T F S

1

2

3
(1)
4

5

6

7

8
(1)
9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31
(1)

Showing 3 results of 3

 [devkitARM] Collision Detection From: Marcio J. M. - 2008-08-31 23:52:36 ```Hi, I'm porting a previous PC game project to DS, and I'm having problems with collisions. Player drives a space ship and can move on all 3D directions, but it's getting stuck in places it doesn't get stuck on PC. I'm using axis-aligned bounding boxes, and I've converted all my math libraries to 20.12 fixed float version. First I realized that moving towards a poly on a direction that is almost opposite to poly's normal, which generates a response that is very near the actual player's position, did player to get stuck probably because 20.12 fixed float doesn't have enough precision to distinguish these very short distances. So I worked it in a sense that when I get a movement of length zero, I multiply the velocity by a very big constant and send it to collision, and then I set the size of the final sliding vector to a minimal one, in a way that if the movement direction is not exactly the opposite to poly's normal, I always get a minimum movement (if the direction is exactly the opposite to normal, then I don't slide). This solution solved the problem partially: I got smooth movements, but I'm still getting stuck mainly at polygons border. Maybe solving this would require to examine the whole collision code, but does anyone have any idea on what can be wrong? Or has anyone encountered similar problems? Thanks! Marcio ```
 [devkitARM] Alpha Blending From: Marcio J. M. - 2008-08-08 15:53:25 ```Hi, i'm programming alpha blend for the DS, and I realized the DS does: pixel color = poly color * poly alpha + frame buffer color * ( 1 - poly alpha ). is it right? Is there a way to add to frame buffer color, like: pixel color = poly color * poly alpha + frame buffer color * 1 or simply: pixel color = poly color + frame buffer color ? Thanks! Marcio ```
 [devkitARM] Serious bug in libfat - dirnext overwrites 68 bytes despite sizeof=64 From: Dan Weiss - 2008-08-03 19:57:45 Attachments: Message as HTML ```There's a serious bug in the dirnext function. Even though sizeof(stat) == 64, 68 bytes get overwritten when you call dirnext! This means if you have allocated stat on the stack, the next variable gets set to zero after you call dirnext. This can cause all sorts of malfunctions. ```

Showing 3 results of 3