Releases: tophat2d/tophat
Releases Β· tophat2d/tophat
v1.4
What's Changed
- Sanitize control characters in input str (#144) by @marekmaskarinec in #164
- Implement proper error handling (#157) by @marekmaskarinec in #166
- Add gamepad support (#122) by @skejeton in #171
- Add samples
- Various other fixes and improvements
Full Changelog: v1.3...v1.4
v1.3
- playground fixes
- rename
window.quit
towindow.requestExit
- update to new umka version
- improve
ui.TextBox
- optimize
nav.um
- add .ogg support
- add
BoxGrowSpan
andBoxGrowPxSpan
toui.Box
- add
Atlas.pack
- add
-doc
CLI option - fix mojibake on windows
- fix incorrect mouse delta behavior
- other minor fixes and improvements
Full Changelog: v1.2...v1.3
v1.2
- Add DPI awareness
- Add cursor support
- UI improvements
- Improve the tetris example
- Minor bugfixes and improvements
v0.8
A new release after a long time. Among other things it features reworks of font.um and audio.um. All changes:
62d1c11 release
d5d4eaa bump umka
51badb0 Fix wonky font. (#108)
72242e0 fix incorrect color format for image filters
520907a fix th_image_from_data
90cd81a fix image as render target && images.um -> placeholders.um
2c82ef1 bump umka
cc1c9f8 fix remove src/umka_runtime_src.h
7def79c add set[Start|Stop]TimeMs
66ce6aa rework audio
dc871b6 add github actions
bbe54f4 remove light.um
5769550 add chewtypes.h
bd1867f fix incorrect error check in th_image_remove_render_target
aa4aa18 fix incorrect cropped and rotated image drawing
3b6c64f finish render targets
b1c94de use thg->viewport and better image tests
77b8d45 add included image support
f5b4610 update pixel font
dadcec8 cleanup
bc27b55 fix drawing cropped entities
09b4bb8 update shader docs
4f213dc fix delta measuring with frame limiter
ae74e6d fix optimizations
531f3f5 fix some control keys not working on windows (#102)
abcaabc Update README.md
6282783 bump umka
91a540e Merge branch 'main' of github.com:marekmaskarinec/tophat
4f5213a fix being able to create two windows
770e3fb Fixes. (#94)
502bd73 add isJustReleased
84164b9 add fpsLimit
f157e67 fix image drawing
055a1ac merge thext.h and tophat.h
f74bb84 Merge branch 'main' of github.com:marekmaskarinec/tophat
dd85062 add extension support
dc39b40 Use std.time() in tetris to randomize the pieces (#91)
9e4e679 Tetris improvements. (#90)
0006086 Optimize CSV, add Rect.getEnd() (#89)
a9b18ba Merge branch 'main' of github.com:marekmaskarinec/tophat
fd99368 fix prev pointer not set in _th_audio_data_callback (#84)
aeb1f08 Add drawNinepatch to image. (#87)
face36d add coll.um
af5c013 fix docs indentation
57f5e1c add missing export mark
5bdfc57 Merge branch 'main' of github.com:marekmaskarinec/tophat
781b0f8 add transform functions
6655f80 Fix cropping. (#86)
e789de3 Merge branch 'main' of github.com:marekmaskarinec/tophat
999f03d add image.Image.cropQuad
d4eff31 man file
c04df91 Update README.md
339707d Merge branch 'main' of github.com:marekmaskarinec/tophat
204dd17 fix compile error (#82)
c14da16 Update README.md
e3dee95 add alt and ctrl
c989d0c fix windows input and colliding key codes
c00ec1d Merge branch 'main' of github.com:marekmaskarinec/tophat
b8c841e make thg a pointer
96c5a60 add th.getGlobal
43bc36b Fix pomodoro app. Fix font measuring and rendering. (#80)
702b1c0 remove signature (#79)
a7004d2 fix non character keys not working on x
ac21934 fix label wrapping
2a5b122 cleanup font opaque functions
deaa281 Merge branch 'main' of github.com:marekmaskarinec/tophat
66dbd7c QWERTY input and input.getStr
dcda454 Add readme screenshots, fix staembed (#78)
ef1d02f Color.um (#77)
55d8376 fix label again again + fix space shooter text
39c65d3 fix ui label again
bc24b87 fix ui label text drawing
7f00ea0 Merge branch 'main' of github.com:marekmaskarinec/tophat
282d557 fix errors in ui
6d3b524 Fix readme and add vector operations (#76)
b6c86df New font renderer (#75)
764be85 fix another shader leak
20a99f7 remove unused function
d74297d change the way images are stored internally
868c447 free shaders on exit
fc0a3b1 audio playbacks
720daf7 Merge branch 'main' of github.com:marekmaskarinec/tophat
9b64948 more vf2 functions
454dc8b Replace dijkstra with pomodoro example (#74)
2dc6fff Pomodoro, Tetris example, Fix bugs and crashes (#73)
45cb081 fix sound stopping incorrectly
04524e4 fix sound stop
edd2d5f fix crash when trying to load not existant image
158ea0a update README.md
98e4171 Merge branch 'main' of github.com:marekmaskarinec/tophat
c46d96d fix zero scaling on the first frame
f2153ab Revert "fix zero scaling on first frame"
64a7300 fix zero scaling on first frame
b8e8e72 Bump umka (#68)
3b69a9d image.getData and image.setData
9264143 fix tophat version infinite loop
496708a Fix remaining for-loop iterations, Remove map.um (#65)
aa4c683 fix feet offset in platformer
7feeada fix the hello world example
23075fb fix incorrect rect transform if rect position is non zero
4196606 fix export sign
92f8f89 fix iteration in signal.um
0f98788 bump umka
7d933d7 Bump umka (#62)
ffa1373 remove map.um import from signal.um
fc9d504 bump umka
cceb0c3 default values in constructors
109876b remove useless variables
192c49e rename gettmapcoll to getTilemapColl
89018d0 convert coordinates to opengl coordinates
c178f05 change ray getColl function
9155daf update example list
c908e40 add the platformer example
72361c6 add mouse wheel support
7990b57 store sounds as pointers
410b96e Merge branch 'main' of github.com:marekmaskarinec/tophat
1c1b90e fix examples
54c9883 Fix scissor rect flush bug (#59)
d8f1524 bump umka
e1c9d46 disable tilemap cropping, add shader.Uniform.setVf2, fix shader attribute names
a25faae remove useless function prototypes from tophat.h
00a8aba Fix app not closing bug (#55)
4f98549 error message when there is an uncached character
d2e0766 use glyph indices (#53)
9942ada update docs
0183f3e add shader.um to the module list
ef76004 basic shader support
42f3b51 add scissor docs
eccc83b add scissor mode @skejeton (#52)
2e331c2 Set window size upon setup (#51)
d3c84b4 Improve UTF-8 handling (#47)
aefa995 fix umprof url (#46)
2efed0e cleanup
b077b52 move cached font drawing to c
8df888f move utf8 decoding to c
96c6960 use own hashmap in cached draw
da2c707 add the prof option
b10a87c cleanup cached font drawing
777222a fix batch buffer size
78071e7 fix flipped color filter in image drawing
9002d77 add image batching
cffc20e Merge branch 'main' of github.com:marekmaskarinec/tophat
9c5509a add Image.drawOnQuad
dfc91e6 Add useful command line arguments (#45)
48a2ebd use rect instead of transform in ui.Generic
89f3f86 Merge branch 'main' of https://github.com/marekmaskarinec/tophat
c97e1cf Do not render the newline symbol (#44)
875ee63 remove camera checking for now
v0.7
982c953 use error dialogs on windows
f76f484 canvas: send positions as vec2 instead of vec3
0c71021 fix mouse position offset
51a18fa center the viewport, if window has different aspect ration than camera
c184d08 fix delta starting value and th_atlas_nth_coords
1b3f67a add the dir flag and give user programs access to command line arguments
05697df add ui themes
0efeb1c move ui elements to a separate folder
5a68108 add correct font advance and kerning
cbc89ea correct cached font scale handling
94bd20d add scrollbar to itemlist
8a0a995 add a TextRenderer interface to ui.um
ebbd7ec better font rendering
0ee196d add itemlist example
ddae33e update docs
dc662df update readme
2b15c3d change how opaque structs are stored internally
v0.6
c69a43b release
88a7769 fix windows cross builds
4f09707 update the todo list
4b6cd31 fix th_canvas_line
6cdaf90 fix conv_path
c98b891 replace rawdraw with own functions
2c46a7f normalize vertices in image drawing
ad6da6d own compile shader functions
7bbac0a switch to ^font.Cached in ui.Label
52176b7 add color filter to images
v0.5
15ecb3d add few more cmd options
c1817e1 fix paths
bc85619 fix possible crash in input handling
9169883 fix build dep order
153c00c add toWorld and toScreen
9531fd9 use UmkaDynArray
ad759ce add ability to print module source from command line
18879fa change the way modules are embedded
2f2106c remove 1 byte alignement from some structs
de36daf convert linux keycodes to windows ones
b5cc936 fix using ptrVal in places where pointer wasn't passed
7323462 better image flip
d95ee47 remove clock offset
0472597 better time
74cf681 add sound pause
6d7efcb autotile
0e41e0e fix cropping on small atlases
836eb91 tilemaps use atlas
b114f2a add extensions example
bfd47c2 move vector methods to th.um
5ff5538 better image flipping
7111ce9 Better, not-destructive image cropping
6737589 add signals
8c84414 fix spotlight tint
976e7ea compress images (#35)
9997fee minor cleanup
458a8ae store images like fonts and sounds
6fc98ff allow for multiple collision checking
14b28f6 remove color interp in particles
0656d3e use new ui in space shooter
a6aa137 add center alignement to label
83825a9 add ui.Label
0b8a73e add image box, events and borders
7e2e319 progress on ui rewrite
1267369 add cached fonts and todo
e18d219 remove die call from HandleDestroy()
e2057ce add return value from window.cycle
6bc4b69 add lerp item constructor
0b84905 add shoot timeout in space shooter
0c43ed9 error on invalid fonts and sounds
fce101d store fonts in c like audio
4402a85 fix off-by-one error in audio.c
2838625 store sounds in c, not in umka
f27218b merge global variables into one struct
This releases also removes the old way of packaging stuff. Just use the binary now.
Release after refactor
This is the first release after the recent big refactor. That means it's incompatibly with v0.3.
Other than the refactor this version adds these features:
- faster ysort
- particle systems
- lighting system
- ui.um rework
- lerp.um module
- truetype font support (experimental)
- new example
- bug fixes
v0.3
add color constants
image from data function
image cropping
add main.um support
tweens like in godot
fix some bugs
add github actions
add make deps, which fetches all the deps
v0.2
added:
- tilemaps
- csv parser
- justreleased field on button
- new example