GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
move_image(3) Arcan Lua API move_image(3)

move_image - Set new world-space coordinates for the specified video object.

nil
move_image( vid, newx, newy, time, interp )

All move/scale/rotate transforms can be animated by specifying a relative deadline. These can be both queued and combined, letting the engine to interpolate (linearly by default) allowing for inexpensive yet smooth transitions and animations. Interp can be set to any of the constants ( INTERP_LINEAR , INTERP_SINE , INTERP_EXPIN , INTERP_EXPOUT , INTERP_EXPINOUT , INTERP_SMOOTHSTEP ).

function move_image0()
      a = fill_surface(64, 64, 255, 0, 0);
      show_image(a);
      move_image(a, VRESW, VRESH, 200);
      move_image(a, 0, 0, 100);
end

rotate_image(3) scale_image(3) nudge_image(3) resize_image(3)

June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.