FXGL Game Engine 11.17 Release
- July 20, 2021
- 2493 Unique Views
- < 1 min read
The FXGL game engine is now at 11.17. Most of the changes in this release focus on internal code quality and fixes.
Major additions to note:
- Added download file API to NetService. Using this API developers can download files from any URL. For example, if certain assets are stored remotely.
- Rotation and scale in 3D now support origin points (pivot points). This is a beneficial addition since some animations will need specific origin points for transformations to achieve the desired effect.
Other minor changes include:
- Added a setting that allows music to be paused when the game is minimized, paused by default
- Added Model3D sample showing how to load .obj models
- Added JointSample and support for RevoluteJoints from box2d
- Added fluent API to HearingSenseComponent, thanks to @jo372
- Updated physics collision sample, thanks to @jo372
- Ignore and warn during when adding a component during a component update, thanks to @lydianeU
- Added PropertyMapChangeListener
- Added replication support for PropertyMap
- Camera in 3D has a new setting allowing the pitch (rotationX) to be clamped between -90 and 90 deg
- Multiple superfluous modules merged into few
Bug fixes:
- AutoRotationComponent smooth now shouldn't make sharp turns
Version bump:
- jacoco 0.8.6 -> 0.8.7
- kotlin 1.4.30 -> 1.5.10
Don’t Forget to Share This Post!
Comments (2)
Tobiloba
3 years agoI see that you save the point of interest as text in the DB but the response gotten from ChatGPT is JSON. Does this mean you convert the response into string using libraries like gson before saving it in the database?
Denis Magda
3 years agoHey, The response is a String object in the JSON format [1]. The repository takes this JSON string as is and stores to the database [2]. Presently, Spring Data auto-generates the CREATE TABLE statement on the startup and sets the "point of interest" column's type to "text" (or "varchar", don't remember). However, it's always possible to ask Spring Data to use the "json" or "jsonb" type for the column if you wish to query the JSON at the database level. Finally, Vaadin displays a list of PointsOfInterests. Those are generated using the org.json library [3]. Let me know if you have other questions. Hope this helps. [1] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L103 [2] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L74 [3] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L114