Search found 244 matches
- September 20th, 2017, 2:13 am
- Forum: Everything
- Topic: Triangle/line Collision
- Replies: 4
- Views: 2589
Re: Triangle/line Collision
Thanks for the replies. After digging around with some of the things you guys suggested I came across this and it seems to work perfectly. lineIntersect(p0,p1,p2,p3) { float a1 = p1.y - p0.y; float b1 = p0.x - p1.x; float c1 = a1 * p0.x + b1 * po.y; float a2 = p3.y - p2.y; float b2 = p2.x - p3.x; fl...
- September 19th, 2017, 2:36 am
- Forum: Everything
- Topic: Triangle/line Collision
- Replies: 4
- Views: 2589
Triangle/line Collision
Could use a hand figuring out to detect a line colliding with a triangle. The Triangle would be pointing down if that makes a difference. I wasn't sure on how to implement this because make simple hit box wont work.
- September 17th, 2017, 7:46 pm
- Forum: Everything
- Topic: Hello!
- Replies: 4
- Views: 2406
Re: Hello!
Chili covers this in the intermediate tutorial series. If you are new to programming I would suggest completing the all tutorials in order, but if you have some knowledge under belt check the Intermediate and Advanced series.
- May 24th, 2016, 2:26 am
- Forum: Everything
- Topic: How to hide from google and web trackers
- Replies: 4
- Views: 2404
Re: How to hide from google and web trackers
They say condoms are 99% effective against viruseschili wrote:I recommend pulling out your Ethernet cable, inserting it into a latex condom, and re-inserting it into your router/modem. Also, big tin hat. The bigger, the better.
- July 30th, 2013, 7:02 pm
- Forum: Everything
- Topic: Hello Everyone
- Replies: 6
- Views: 2888
Re: Hello Everyone
And I'm still rank 5 haha wow!
- July 30th, 2013, 6:57 pm
- Forum: Everything
- Topic: Hello Everyone
- Replies: 6
- Views: 2888
Hello Everyone
Hey to old schoolers out there. It's been forever since I've made it back to the forums with work and all. Here the past couple of days I found myself just sitting around playing with batch and vbs, and it made me miss the Chili program lol. As long as it has been since I've done C++ I don't know if...
- January 12th, 2013, 6:26 pm
- Forum: Everything
- Topic: Its a been awhile
- Replies: 2
- Views: 1648
Re: Its a been awhile
na i didnt quit but i basically have to start over.....my old computer crashed and i lost everything
- January 10th, 2013, 7:31 pm
- Forum: Everything
- Topic: Its a been awhile
- Replies: 2
- Views: 1648
Its a been awhile
Geez it has been forever since I've logged on here lol I have been...well i guess addicted, to this Facebook game Battle Pirates. Just wanted to drop in, say hey and happy coding
- November 28th, 2012, 7:00 pm
- Forum: Everything
- Topic: structures.. HELP!!! [solved]
- Replies: 7
- Views: 3069
Re: structures. HELP!!!
in game.h under the user variables, type the name of your struct which in your case is Hello, and then pick the variable you want to use to access the information in your struct...for instance.......... Hello hello; Go to game.cpp to test by going to compose frame and typing hello. if your intellise...
- November 4th, 2012, 7:23 pm
- Forum: Everything
- Topic: Constructor Error
- Replies: 12
- Views: 5158
Re: Constructor Error
Ok I tried that and I get "Illegal use of D3DGraphics" error