Search found 1492 matches
- September 19th, 2014, 9:21 am
- Forum: Everything
- Topic: Else Statement Not Working As Intended In Calculator Program
- Replies: 2
- Views: 1676
Re: Else Statement Not Working As Intended In Calculator Pro
A switch would look nicer, but I guess it doesn't matter...
- September 19th, 2014, 9:16 am
- Forum: Everything
- Topic: Advanced Lesson 10 (study group)
- Replies: 28
- Views: 11151
Re: Advanced Lesson 10 (study group)
That does look weird.
- September 19th, 2014, 9:12 am
- Forum: Everything
- Topic: Wave
- Replies: 4
- Views: 2228
Re: Wave
I think pindrought is right, sine only gets values between [-1, 1]
- September 11th, 2014, 6:46 pm
- Forum: Everything
- Topic: Basic Problem with Random Number Generation [SOLVED]
- Replies: 4
- Views: 2443
Re: Basic Problem with Random Number Generation
Probably because you use / instead of %
- September 11th, 2014, 6:46 pm
- Forum: Everything
- Topic: 3D game development
- Replies: 5
- Views: 3296
Re: 3D game development
Oh hey it's Asimov! Haven't heard of you in a long while.
- September 8th, 2014, 10:31 am
- Forum: Everything
- Topic: Thank You Chili
- Replies: 37
- Views: 13787
Re: Thank You Chili
We usually pan fry it to make a nice snack. It's a Swiss ( or German? ) delicacy.
I did't know it could be used as a drug though. Hmm...
I did't know it could be used as a drug though. Hmm...
- September 8th, 2014, 10:27 am
- Forum: Everything
- Topic: Advanced Lesson 10 (study group)
- Replies: 28
- Views: 11151
Re: Advanced Lesson 10 (study group)
Alright. What I was more interested in was how you check if the line is inside/outside the object. Well, I guess I can just study the code or look it up online, but that's the only difference I see between our codes really. What I left out from my snip code was the overly complex way of setting test...
- September 7th, 2014, 11:57 am
- Forum: Everything
- Topic: Advanced Lesson 10 (study group)
- Replies: 28
- Views: 11151
Re: Advanced Lesson 10 (study group)
Interesting, so if I understood correctly, you first check if the previous and next corner are intersected by other lines, and then check that the line is inside the object? Something like that anyway. Seems a like it's more sophisticated then my code anyway: [ snip ] // Begin looking for first corn...
- September 7th, 2014, 11:51 am
- Forum: Everything
- Topic: Thank You Chili
- Replies: 37
- Views: 13787
Re: Thank You Chili
I've got salvia growing on the balcony ...Don't tell the cops!
- September 7th, 2014, 11:49 am
- Forum: Everything
- Topic: Pixel Drawing
- Replies: 3
- Views: 1891
Re: Pixel Drawing
Real games do it very differently, but for now you can use this: http://www.planetchili.net/forum/viewto ... ?f=3&t=991