General Category > General Anim8or Forum
WEEHEEEE oh, oh wait its dead, I thought it was dancing (CRE8OR NOTICE)
cooldude234:
Not at the moment; haven't even programed for a couple weeks (since I was on afternoon shifts and I got my new graphics tablet which took all my time).
However I am back to days and ready to start programing. I'm going to try to get some collision code working, and also work on the GUI system (which then I should be able to make the IDE interface).
By the way, nice to see you around. I still have Dylan 64 on my computer ;)
cooldude234:
--- Quote from: NickE on July 30, 2013, 07:23:55 pm ---cooldude234,
Whenever I have tried to determine whether a line segment (like an edge) intersects a polygon, I have done it in two steps:
--- End quote ---
The Line Plane intersection doesn't work.
I tried pluging in the code and it didn't reconize any collisions
cooldude234:
While collision still rams its code into my brain turning it to mush I decided to take another look at my polygonal distribution algorithm, and the result of 4 hours of programing turned out quite nice I think.
SCREENIES (log in and look down below)
It may have been a bit of brute force but it runs good as far as I can tell.
Basically I generate a percent number (0%-100%)
If it's less than 25 percent I generate the point for 25% of the area (which is between 0.0 - 0.3125)
else if it's less than 50 percent then I generate the point for 50% of the area (0.3125 - 0.625)
and so on
If I were to just generate these numbers from 0 to 1, well because I'm using a triangle there's less space at the lower levels for line V (look at image for illustration) which means I would be generating points closer together at lower levels making them bunch up.
Well anyways the results turned out good and I'm satisfied for now.
cooldude234:
Did some debugging tests...
I can generate about 10,000 points in about 16 milliseconds
Raxx, you may want to take some notes :P
VirtuaroidPilot:
I'm glad someone mentioned Dylan 64, as I was the one who designed the game. How well known is the game within this community?
Before you say I'm a phony and I didn't create the game, I am indeed Segastar21 / Nintendogamr123. My name is Dylan Heisner, I was born in October 29th 1993.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version