Skip to content

Releases: DreamRealityInteractive/defold-orthographic

Add world_to_window

02 Dec 12:14
Compare
Choose a tag to compare

Add world_to_window() function

2.11.6

24 Apr 10:03
Compare
Choose a tag to compare

Added the parameter fixed_zoom for the sticky GO to keep a fixed zoom, regardless of the camera zoom.

2.11.5

13 Apr 11:14
Compare
Choose a tag to compare

Added a feature to add "sticky" game objects.
Useful to add a game object that acts as a GUI node, but can still interact with other gameobjects from the same collection.

Example:

msg.post("/camera#script", "add_sticky_go", {
	go=hash("/bin"), -- the game object you want to display as sticky
	camera=hash("/camera"), -- the ID of the camera
	position = vmath.vector3(1120,80,.3) -- The position on screen
})