English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: NorthWay
Forum: Coders. Asm / Hardware 14 August 2019, 21:20
Replies: 99
Views: 9,103
Posted By NorthWay
BTW, this should also be possible to shuffle the...

BTW, this should also be possible to shuffle the logic on so you have an early exit if either is bigger than the added radius.
And you can do a branch-free ABS() in something like 3 instructions,...
Forum: Coders. Asm / Hardware 12 August 2019, 23:54
Replies: 99
Views: 9,103
Posted By NorthWay
I wasn't meant to assume anything much - you can...

I wasn't meant to assume anything much - you can muddle the radius for objects if you want to allow some overlap without triggering as hitting each other.


Also, on a grid any object can occupy 4...
Forum: Coders. Asm / Hardware 12 August 2019, 12:35
Replies: 99
Views: 9,103
Posted By NorthWay
Can't you do bounding box with...

Can't you do bounding box with min(abs(x_center-x_box_center),abs(y_center-y_box_center)) < (radius+box_radius)
Forum: Coders. Asm / Hardware 21 January 2019, 11:03
Replies: 99
Views: 9,103
Posted By NorthWay
Hm. What is "too many cycles"? A comparison with...

Hm. What is "too many cycles"? A comparison with ABS(dX) and ABS(dY) should be pretty fast unless you are getting into bullet-hell style. What are you checking - everything with everything, or...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT +2. The time now is 03:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.06063 seconds with 10 queries