Search found 26 matches
- Sep 23, 2008 12:19
- Forum: Beginners
- Topic: pixel exact collision detection
- Replies: 5
- Views: 1863
Step 1) Bounding Box Collision - It's Faster. Find whether or not the two sprites' bounding boxes overlap and return two collision regions if they do. Step 2) Search within the collision region pixel by pixel and see if sprite1.pixelColor != 0 and sprite2.pixelColor != 0. If so, then there is colli...
- Sep 23, 2008 12:02
- Forum: Beginners
- Topic: pixel exact collision detection
- Replies: 5
- Views: 1863
pixel exact collision detection
How do i do it? I don't want the player to go like 'argh! i wanted to select that enemy but clicked on the next turn button!' just because the button click field is a square while the actual visual button is a circle. that's just an example. there's a lot of these problems in my code since i simply ...
- Sep 19, 2008 11:16
- Forum: Libraries Questions
- Topic: getting started with allegro
- Replies: 0
- Views: 1606
getting started with allegro
i don't know if this should go into the beginners section or the lib, but i'll post it here. I did just download allegro, gonna try it out after the weekend. While the documentation surely will be of much help, anyone who has the time are welcome to post ideas of in which corner of this lib i should...
- Sep 19, 2008 10:48
- Forum: Game Dev
- Topic: varied pitch in sound sample
- Replies: 5
- Views: 3411
- Sep 19, 2008 1:29
- Forum: Projects
- Topic: MultiPut[DES],[x],[y],SRC,[xScale],[yScale],[Rotate],[Trans]
- Replies: 63
- Views: 17555
- Sep 18, 2008 13:10
- Forum: Beginners
- Topic: allegro 4.2?
- Replies: 8
- Views: 2648
- Sep 18, 2008 12:39
- Forum: Game Dev
- Topic: varied pitch in sound sample
- Replies: 5
- Views: 3411
varied pitch in sound sample
is there a good method varying the pitch of a looping wav sample? I'm getting three steps ahead of myself now, but this would be pretty useful in a context where a, in my example, a tank which will race over a hill at a constant speed, does it so fast that it leaves ground for a while when going dow...
- Sep 18, 2008 10:37
- Forum: Projects
- Topic: MultiPut[DES],[x],[y],SRC,[xScale],[yScale],[Rotate],[Trans]
- Replies: 63
- Views: 17555
- Sep 18, 2008 9:29
- Forum: Community Discussion
- Topic: searching members
- Replies: 19
- Views: 5917
- Sep 18, 2008 9:09
- Forum: Documentation
- Topic: Troubleshooter
- Replies: 4
- Views: 3913
Searching for the keywords in the line of erroneous code is too much of a strain for you? Not really, but it is not much of a strain to expand the manual a bit either. A little won't do any damage, right? How is the compiler supposed to know if the error is actually what the error is? Now that part...
- Sep 17, 2008 9:30
- Forum: Documentation
- Topic: Troubleshooter
- Replies: 4
- Views: 3913
Troubleshooter
Now this would take a lot of time to write, but would certainly at the same time make people waste a lot less time on the path of trial and error. now there's 224 errors and 26 compiler warnings. A lot of it is pretty self explanatory, but i think it would be a great idea if each error code would li...
- Sep 17, 2008 9:18
- Forum: Community Discussion
- Topic: searching members
- Replies: 19
- Views: 5917
- Sep 17, 2008 9:08
- Forum: Beginners
- Topic: fast one: bools and types?
- Replies: 13
- Views: 3233
- Sep 16, 2008 18:23
- Forum: Beginners
- Topic: Wow. This is so cool
- Replies: 16
- Views: 5240
- Sep 16, 2008 18:10
- Forum: Beginners
- Topic: fast one: bools and types?
- Replies: 13
- Views: 3233
You lost me at c++-style enumerations, i don't know a bit about that language.jofers wrote: However, having a strongly enforced BOOL type has its benefits though, and something like C++-style enumerations would be a nice feature that could implement that.
So there's no way to access those unused bytes, then?