Auto-aim should lead slightly. Auto-retreat should attempt max distance retreat. Release Build 8598.

pull/57/head
sigonasr2 10 months ago
parent fcb557a2d1
commit 0a42be844b
  1. 6
      Adventures in Lestoria/Player.cpp
  2. 3
      Adventures in Lestoria/TODO.txt
  3. 2
      Adventures in Lestoria/Version.h
  4. BIN
      Adventures in Lestoria/assets/AdventuresInLestoria_DemoAvailable.png
  5. BIN
      x64/Release/Adventures in Lestoria.exe

@ -1452,9 +1452,9 @@ const vf2d Player::GetAimingLocation(bool useWalkDir,bool invert){
}
}
if(closestPoint!=vf2d{std::numeric_limits<float>::max(),std::numeric_limits<float>::max()}){
//geom2d::line<float>aimingLine=geom2d::line<float>(GetPos(),closestPoint);
//vf2d aimingPoint=aimingLine.rpoint((invert?-1.f:1.f)*operator""_Pixels("Player.Aiming Cursor Max Distance"_F));
return game->GetScreenSize()/2+closestPoint-GetPos();
geom2d::line<float>aimingLine=geom2d::line<float>(GetPos(),closestPoint);
vf2d aimingPoint=aimingLine.rpoint(invert?(-operator""_Pixels("Player.Aiming Cursor Max Distance"_F)):std::min(aimingLine.length()+24.f,operator""_Pixels("Player.Aiming Cursor Max Distance"_F)));
return game->GetScreenSize()/2+aimingPoint-GetPos();
}else
return game->GetScreenSize()/2+vf2d{float(operator""_Pixels("Player.Aiming Cursor Max Distance"_F)),aimingAngle.y}.cart();
}

@ -10,6 +10,9 @@ Upon the second time entering a stage, the game will spawn a timer that the play
Upon completion of a stage in time trial mode if the player beat their previous time (which they likely will) the record will update.
For each class and stage combination there will be a "dev time"
Settings menu doesn't scroll back up properly while the scrollbar does?
Merchant descriptions have no newlines.
============================================
Consider a "killed by player" / "marked by player" flag for monsters to determine if a player gets credit for a monster kill (for achievements)
Make another actions config file for the main build (The app # is different)

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_PATCH 0
#define VERSION_BUILD 8595
#define VERSION_BUILD 8598
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Loading…
Cancel
Save