Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions about old games
#9
Per chance that I may have opened, what is commonly called, a can of worms? Admittedly, I am aware of the inefficiency of using "pixel()' for collision detection, but was stunned to see it run so quickly. Kind of like the "Swan" scenario... From the "outside", a swan seems to glide effortlessly across the pond, but underneath the legs are working furiously....

I am going to have to re-think this collision issue... Are we familiar with the theory of Occam's Razor? "Occam's razor states that the simplest explanation is preferable to one that is more complex. Simple theories are easier to verify. Simple solutions are easier to execute."

I always tend to fall back to the simplest collision method, Axial Aligned Bounding Box. What if the landscape was made up of rectangles of various sizes and assign each rectangle its own "zone"? I am not sure if the Zone command has been used like that before, but surely, it has to be more efficient than checking collisions by using "pixel()"? It would make for a "boxy" looking landscape, but if the overall "style" of the game was more "minimalist", say monochromatic, it might work.

I would like to use the phrase, "thinking outside the box", but 'that' would be too corny, right? Now where did I put my paper and crayons... This will either be fun or a flop... I would prefer fun... lol
Logic is the beginning of wisdom.
Reply


Messages In This Thread
Questions about old games - by johnno56 - 03-28-2024, 11:16 PM
RE: Questions about old games - by kevin - 03-29-2024, 04:28 AM
RE: Questions about old games - by johnno56 - 03-29-2024, 05:48 AM
RE: Questions about old games - by kevin - 03-29-2024, 07:40 AM
RE: Questions about old games - by kevin - 03-29-2024, 09:00 AM
RE: Questions about old games - by johnno56 - 03-29-2024, 10:57 AM
RE: Questions about old games - by kevin - 03-29-2024, 11:12 AM
RE: Questions about old games - by Marcus - 03-29-2024, 04:04 PM
RE: Questions about old games - by johnno56 - 03-29-2024, 05:21 PM
RE: Questions about old games - by Marcus - 03-29-2024, 05:43 PM
RE: Questions about old games - by kevin - 03-29-2024, 06:02 PM
RE: Questions about old games - by johnno56 - 03-29-2024, 06:49 PM
RE: Questions about old games - by kevin - 03-29-2024, 08:17 PM
RE: Questions about old games - by johnno56 - 03-29-2024, 08:35 PM
RE: Questions about old games - by johnno56 - 03-30-2024, 10:57 AM
RE: Questions about old games - by kevin - 03-30-2024, 12:48 PM
RE: Questions about old games - by johnno56 - 03-30-2024, 08:25 PM
RE: Questions about old games - by kevin - 03-31-2024, 09:52 AM
RE: Questions about old games - by 1micha.elok - 04-01-2024, 12:06 AM
RE: Questions about old games - by johnno56 - 04-01-2024, 05:11 AM
RE: Questions about old games - by 1micha.elok - 04-02-2024, 08:50 AM
RE: Questions about old games - by johnno56 - 03-31-2024, 11:08 AM
RE: Questions about old games - by Marcus - 04-01-2024, 11:44 AM
RE: Questions about old games - by kevin - 04-01-2024, 03:30 PM
RE: Questions about old games - by johnno56 - 04-02-2024, 09:45 AM
RE: Questions about old games - by Marcus - 04-02-2024, 10:09 AM
RE: Questions about old games - by johnno56 - 04-02-2024, 11:17 AM
RE: Questions about old games - by Marcus - 04-02-2024, 04:04 PM
RE: Questions about old games - by johnno56 - 04-02-2024, 06:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)