Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various debug tool improvements #3366

Open
wants to merge 54 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8b50be7
add log bitmap interaction
Geokureli Feb 6, 2025
398304b
fix cursor offset
Feb 7, 2025
f758154
add FlxGraphicAsset.resolveBitmap()
Feb 7, 2025
f88e63d
add capitalizeFirstLetters and isRomanNumeral
Geokureli Feb 7, 2025
8e72c8c
add cursor offset
Geokureli Feb 9, 2025
e6da60e
fix interaction bugs
Geokureli Feb 9, 2025
a1fa4ba
small changes to LogBitmap
Geokureli Feb 9, 2025
215fffc
add FlxG.debugger.tools and windows
Geokureli Feb 9, 2025
c7e055c
add TrackObject
Geokureli Feb 9, 2025
a8d0502
add remove button to BitmapLog window
Geokureli Feb 9, 2025
a22c574
major changes to Watch window
Geokureli Feb 9, 2025
4dd985d
Merge remote-tracking branch 'origin/dev' into image-debugging
Geokureli Feb 9, 2025
9a4ff68
add window shortcut
Geokureli Feb 12, 2025
497e39a
only update visible watch entries
Geokureli Feb 12, 2025
c625305
CI
Geokureli Feb 12, 2025
e2015d6
optional arg
Geokureli Feb 14, 2025
855a7c1
fix CI
Geokureli Feb 14, 2025
5fda4bd
add scroll bars to watch
Geokureli Feb 14, 2025
61a5ad4
move ScrollSprite to separate class
Geokureli Feb 15, 2025
0f11cb6
refactor Pointer
Geokureli Feb 15, 2025
62570fc
don't dispose bitmaps in BitmapLog
Geokureli Feb 15, 2025
91bfa2a
fix weird HL issue
Geokureli Feb 16, 2025
f360e0c
Use Icons.hx for all debug bitmaps
Geokureli Feb 16, 2025
74ba394
revert sprite overlap check
Geokureli Feb 17, 2025
b8cf234
use watch cursor in track obj tool
Geokureli Feb 17, 2025
df10203
lower alpha threshold on pointer
Geokureli Feb 17, 2025
82be413
refactor transform tool
Geokureli Feb 17, 2025
cb024ef
remove watch logs
Geokureli Feb 18, 2025
d934936
Merge branch 'dev' into image-debugging
Geokureli Feb 18, 2025
872c7df
Fix release CI
Geokureli Feb 18, 2025
9f1b385
fix flash cursor
Geokureli Feb 18, 2025
e480eb7
Merge branch 'dev' into image-debugging
Geokureli Feb 18, 2025
05df330
refactor BitmapLog window
Geokureli Feb 19, 2025
4bdaea7
Fix drag handle
Geokureli Feb 19, 2025
e3733fb
final touches
Geokureli Feb 19, 2025
954c3b2
fix coverage
Geokureli Feb 19, 2025
e8d8cce
fix flash
Geokureli Feb 19, 2025
052c07f
revert transform test CI
Geokureli Feb 19, 2025
ec67bfc
add private classes (test CI)
Geokureli Feb 19, 2025
44ae446
more CI tests
Geokureli Feb 19, 2025
63e3926
even more CI tests
Geokureli Feb 19, 2025
672ff11
d'oh
Geokureli Feb 19, 2025
0829bda
more ci 2
Geokureli Feb 19, 2025
6e9591c
ci test 3
Geokureli Feb 19, 2025
ca6ffcb
ci test 4
Geokureli Feb 19, 2025
019eeb0
ci test 5
Geokureli Feb 19, 2025
1967071
D'OH
Geokureli Feb 19, 2025
21fdf87
fingers crossed
Geokureli Feb 19, 2025
670b83f
finalize after CI tests
Geokureli Feb 19, 2025
f87723c
more testing BOO
Geokureli Feb 20, 2025
4b91732
more tests 2-2
Geokureli Feb 20, 2025
23e9c1a
test ci 2-3
Geokureli Feb 20, 2025
3979fdc
test ci 2-4
Geokureli Feb 20, 2025
0545e37
test CI 2-5
Geokureli Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more ci 2
  • Loading branch information
Geokureli committed Feb 19, 2025
commit 0829bdae394d619269250be919c598ba3f2d2e91
44 changes: 22 additions & 22 deletions flixel/system/debug/interaction/tools/Transform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -286,32 +286,32 @@ class Transform extends Tool

function drawMarkers(gfx:Graphics):Void
{
// gfx.lineStyle(0.9, FlxColor.MAGENTA, 1.0, false, LineScaleMode.NORMAL, CapsStyle.SQUARE);
// gfx.beginFill(FlxColor.MAGENTA);
// for (i in 0..._markers.length)
// if (i == MARKER_ROTATE)
// // Rotation marker
// gfx.drawCircle(_markers[i].x, _markers[i].y, MARKER_SIZE * 0.9);
// else
// // Scale marker
// gfx.drawRect(_markers[i].x - MARKER_SIZE / 2, _markers[i].y - MARKER_SIZE / 2, MARKER_SIZE, MARKER_SIZE);
// gfx.endFill();
gfx.lineStyle(0.9, FlxColor.MAGENTA, 1.0, false, LineScaleMode.NORMAL, CapsStyle.SQUARE);
gfx.beginFill(FlxColor.MAGENTA);
for (i in 0..._markers.length)
if (i == MARKER_ROTATE)
// Rotation marker
gfx.drawCircle(_markers[i].x, _markers[i].y, MARKER_SIZE * 0.9);
else
// Scale marker
gfx.drawRect(_markers[i].x - MARKER_SIZE / 2, _markers[i].y - MARKER_SIZE / 2, MARKER_SIZE, MARKER_SIZE);
gfx.endFill();


gfx.lineStyle(1.0, FlxColor.MAGENTA, 1.0, false, LineScaleMode.NORMAL, CapsStyle.SQUARE);
// gfx.lineStyle(1.0, FlxColor.MAGENTA, 1.0, false, LineScaleMode.NORMAL, CapsStyle.SQUARE);

// draw lines
gfx.moveTo(markers[3].x, markers[3].y);
for (marker in markers)
gfx.lineTo(marker.x, marker.y);
// // draw lines
// gfx.moveTo(markers[3].x, markers[3].y);
// for (marker in markers)
// gfx.lineTo(marker.x, marker.y);

// draw markers
for (marker in markers)
{
final x = marker.x;
final y = marker.y;
// Marker.draw(x, y, marker.type == ROTATE, gfx);
}
// // draw markers
// for (marker in markers)
// {
// final x = marker.x;
// final y = marker.y;
// // Marker.draw(x, y, marker.type == ROTATE, gfx);
// }
}

override public function draw():Void
Expand Down
Loading