Sitelet https://github.com/dean1010/Overlap-Test
Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

HaxeFlixel-Overlap-Test

Project to demonstrate overlap issue.

The larger, gray boxes are test objects to overlap the smaller square with. The white lines are drawn where the 4 quadrant borders are. Move the small square with the arrow keys to overlap a test object. While overlapping, press ENTER to print "justPressed" with trace(). If the squares overlap on a quadrant border, the keys justPressed happens multiple times. If the small square overlaps a white line it gets justPressed twice. If the small square overlaps 2 white lines (center square), it gets justPressed 4 times. This is with FlxG.worldDivisions = 1. If worldDivisions = 6, it happens in other areas too, since there are more divisions. It happens with justReleased, too.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages