Search found 478 matches
- Sun 27 Feb, 2005 8:38 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
ok can someone help explain to me how to use trigonometric functions (sine and cosine) to help move the ball. coelurus reccomended i read this (which i did) but it would help if someone could explain how i could relate it to the ball movement. also they use a formula to convert from polar to Cartesi...
- Sun 27 Feb, 2005 6:44 pm
- Forum: Programming Help
- Topic: [TI ASM] GrayScale Pictures With IStudio
- Replies: 5
- Views: 3676
- Sun 27 Feb, 2005 6:37 pm
- Forum: Announce Your Projects
- Topic: Venus v2.4 (Ti83 shell)
- Replies: 24
- Views: 11280
- Sat 26 Feb, 2005 7:04 pm
- Forum: Programming Help
- Topic: [TI ASM] Drawing maps
- Replies: 50
- Views: 21199
here. a djnz loop
is eqiuvalent to
which in C/++ is this for loop
[/code]
Code: Select all
ld b,100
loop:
djnz loop
Code: Select all
ld b,100
loop:
dec b
jr nz,loop
Code: Select all
for (int b=100;b>0;b--);
- Sat 26 Feb, 2005 6:32 pm
- Forum: Programming Help
- Topic: [TI ASM] Drawing maps
- Replies: 50
- Views: 21199
well i have used java before and i totally understand that, but i cant get a for statement to be used. ie it says that unreconized etc. could someone post a site which will explain map rotines or post some sample code? thanks in z80 im tring to do it in are you trying to use an exact copy of what D...
- Sat 26 Feb, 2005 5:47 pm
- Forum: Programming Help
- Topic: [TI ASM] Compiling ION programs
- Replies: 11
- Views: 6249
whoops i meant 100+ errors, and i progrem for 83 plus ion. i have been useing the inc file that came with either devpack or mirage..? and the bat is from asm in 28 days. it works fine if i just program for the no shell and also if i use mirage but not if its ion. i have posted topics about this bef...
- Sat 26 Feb, 2005 1:47 pm
- Forum: Programming Help
- Topic: [TI ASM] Compiling ION programs
- Replies: 11
- Views: 6249
- Sat 26 Feb, 2005 1:44 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
- Sat 26 Feb, 2005 12:47 am
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
- Fri 25 Feb, 2005 4:19 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
- Wed 23 Feb, 2005 8:08 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
what is the bounding box formula again?
![Question :?:](./images/smilies/grayscale_question.gif)
Code: Select all
if (x1+width > x2 && x1 < x2+width && y1+length > y2 && y1 < y2+length){
...
}
![Question :?:](./images/smilies/grayscale_question.gif)
- Tue 22 Feb, 2005 10:19 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
I thought it was quite clear: you detect the actual collision using a bounding box, then you use the movement state (position, velocity) of the paddle and the ball to calculate the actual effect. Dividing the surface into regions is unnecessary. I get it. So I use a bounding box to determine if the...
- Tue 22 Feb, 2005 7:36 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
Re: [Pong/ASM] Ball->Paddle Collision Handling
I cant just use bounding boxes because i want the type where the ball angle changes depending on where on the paddle it hit. Using bounding boxes has nothing to do with what you actually do on collision, it just signals the actual fact of collision. I did something similar in Traz: basically subtra...
- Mon 21 Feb, 2005 8:24 pm
- Forum: Programming Help
- Topic: [General Algorithme] Ball->Paddle Collision Handling
- Replies: 18
- Views: 9670
no thats for a tilemap and i dont use (or have a need for) a tilemapkalan_vod wrote:not sure how clear this would be but maybe check other peoples code and here also
http://joepnet.com/hosted/maxcoderz/php ... .php?t=101
- Mon 21 Feb, 2005 8:22 pm
- Forum: Announce Your Projects
- Topic: Pongwars
- Replies: 11
- Views: 6688
double post but heres some updates: I have the ball movement fixed (thanks to unknown one) and i also fixed the laser shooting and health bar. Now i need to work on the collision detection (which i need help with as shown in the programming help topic ) and later AI and then add whatever else to the...