| ~Hakurei Shrine~ > Rika and Nitori's Garage Experiments |
| New DMF character: Sakuya A |
| << < (4/5) > >> |
| Naut:
Sounds good, let us know how you make out with it. |
| Stuffman:
Okay, updated again. Indiscriminate should now do somewhere around 800~1200 damage to everything onscreen, a bit more if you're really close. Also the homing code will now target bosses first, or the the closest enemy in terms of x value. Here's how the code came out looking: --- Code: --- task JackTheRipper(x,y,graphic){ let enemy_target=-1; let target_angle=270; let best_center=1000; let best_target=-1; if(IsBossExisting){ target_angle=atan2(GetEnemyY-GetPlayerY, GetEnemyX-GetPlayerX); if(target_angle<-60 && target_angle>-120){ target_angle=atan2(GetEnemyY-y, GetEnemyX-x); CreatePlayerShot01(x,y,15,target_angle,6,1,graphic); }else{ target_angle=270; } } if(target_angle==270){ ascent(i in EnumEnemyBegin..EnumEnemyEnd) { enemy_target=EnumEnemyGetID(i); if((|GetEnemyInfo(enemy_target,ENEMY_X)-GetPlayerX|)<best_center){ best_center=(|GetEnemyInfo(enemy_target,ENEMY_X)-GetPlayerX|); best_target=enemy_target; } } if(best_target!=-1){ target_angle=atan2(GetEnemyInfo(best_target,ENEMY_Y)-GetPlayerY, GetEnemyInfo(best_target,ENEMY_X)-GetPlayerX); if(target_angle>-60 || target_angle<-120){ best_target=-1; } } if(best_target!=-1){ target_angle=atan2(GetEnemyInfo(best_target,ENEMY_Y)-y, GetEnemyInfo(best_target,ENEMY_X)-x); CreatePlayerShot01(x,y,15,target_angle,6,1,graphic); }else{ CreatePlayerShot01(x,y,15,270,6,1,graphic); } } } --- End code --- |
| Naut:
I would suggest including a y-coordinate code as well, since not every enemy should be expected to only be influencing the game on the x-axis... However, this code looks like it's sufficient for all intents and purposes now and is certainly better than I could hope to do, good stuff. |
| Stuffman:
Ker-bump for update. - Hitbox size reduced to 0 radius because you're all a bunch of whiners for consistency with existing players. - Focus shot damage reduced by ~40%, it was much too high for a shot that always does peak damage. It should still do more than Reimu A's most of the time, though. - Down to 3 bombs again, but had their damage increased. Unfocused bomb does 1000~1500 screenwide, Focused does ~1800. Four bombs makes for broken maid. |
| Henry:
This player works well!!! Thank you! :) (However, is the speed for slow mode too fast? :P) |
| Navigation |
| Message Index |
| Next page |
| Previous page |