Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / General enquiry

Author
Message
novaapz
11
Years of Service
User Offline
Joined: 28th Jun 2012
Location: seat
Posted: 2nd Oct 2012 23:39
Just wondering is it possible to build an app with a video on it? I haven’t given it much thought and wondered if anyone has done it, if so is it as easy as adding images?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 2nd Oct 2012 23:57
The short answer is no (assuming you mean a standard video format).

You can sort of do video like things with animated sprites.

Cheers,
Ancient Lady
AGK Community Tester
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th Oct 2012 19:52
Video commands have been added in 108 and are currently supported by iOS and Android. We will continue working to bring them to as many platforms as possible.
novaapz
11
Years of Service
User Offline
Joined: 28th Jun 2012
Location: seat
Posted: 6th Oct 2012 23:33
When will we get a list of the new commands
bjadams
AGK Backer
15
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 7th Oct 2012 00:10 Edited at: 7th Oct 2012 00:11
Logging

Log( szMessage )


Video

LoadVideo( szFilename )
SetVideoDimensions( x, y, width, height )
PlayVideo()
PauseVideo()
StopVideo()
GetVideoPlaying()
GetVideoPosition()
GetVideoDuration()
SetVideoVolume( volume )
GetVideoWidth()
GetVideoHeight()


Rating

RateApp ( szID )


In-App Purchasing

InAppPurchaseSetTitle ( szTitle )
InAppPurchaseAddProductID ( szID )
InAppPurchaseSetup ( )
InAppPurchaseActivate ( iID )
GetInAppPurchaseState ( )
GetInAppPurchaseAvailable ( iID )


Facebook

FacebookSetup ( szID )
FacebookLogin ( )
FacebookLogout ( )
FacebookShowLikeButton ( szURL, iX, iY, iWidth, iHeight )
FacebookDestroyLikeButton ( )
FacebookPostOnMyWall ( szLink, szPicture, szName, szCaption, szDescription )
FacebookPostOnFriendsWall ( szID, szLink, szPicture, szName, szCaption, szDescription )
FacebookInviteFriend ( szID, szMessage )
FacebookGetFriends ( )
FacebookGetFriendsState ( )
FacebookGetFriendsCount ( )
FacebookGetFriendsName ( iIndex )
FacebookGetFriendsID ( iIndex )
FacebookDownloadFriendsPhoto ( iIndex )
GetFacebookDownloadState ( )
GetFacebookDownloadFile ( )
GetFacebookLoggedIn ( )


Twitter

TwitterSetup ( szKey, szSecret )
TwitterMessage ( szMessage )


Notification

NotificationCreate ( szDateTime, szMessage, szData )
NotificationReset ( )
GetNotification ( )
GetNotificationData ( )
GetNotificationType ( )
SetNotificationImage ( iImageIndex )
SetNotificationText ( pText )


Zip

CreateZip( zipID, filename )
CreateZip( filename )
AddZipEntry( zipID, path, zipPath )
CloseZip( zipID )
ExtractZip( zipfilename, path )


Sensors

GetNFCExists ( )
GetGeolocationExists ( )
GetCompassExists( )
GetGyrometerExists( )
GetInclinometerExists ( )
GetLightSensorExists ( )
GetOrientationSensorExists ( )


NFC

GetRawNFCCount ( )
GetRawFirstNFCDevice ( )
GetRawNextNFCDevice( )
GetRawNFCName ( iIndex )
SendRawNFCData ( iIndex, pMessageText )
GetRawNFCDataState( iIndex )
GetRawNFCData ( iIndex )


Geolocation

GetRawGeoLatitude( )
GetRawGeoLongitude ( )
GetRawGeoCity ( )
GetRawGeoCountry( )
GetRawGeoPostalCode ( )
GetRawGeoState( )


Compass

GetRawCompassNorth ( iMagneticTrue )


Gyrometer

GetRawGyroVelocityX ( )
GetRawGyroVelocityY ( )
GetRawGyroVelocityZ ( )


Inclinometer

GetRawInclinoPitch ( )
GetRawInclinoRoll( )
GetRawInclinoYaw( )


LightSensor

GetRawLightLevel( )


OrientationSensor

GetRawOrientationX ( )
GetRawOrientationY ( )
GetRawOrientationZ ( )
GetRawOrientationW ( )


3D

CreateObjectBox( objID, width, height, length )
CreateObjectBox( width, height, length )
CreateObjectSphere( objID, diameter, rows, columns )
CreateObjectSphere( diameter, rows, columns )
CreateObjectCone( objID, height, diameter, segments )
CreateObjectCone( height, diameter, segments )
CreateObjectCylinder( objID, height, diameter, segments )
CreateObjectCylinder( height, diameter, segments )
CreateObjectPlane( objID, width, height )
CreateObjectPlane( width, height )
LoadObject( objID, szFilename )
LoadObject( objID, szFilename, height )
GetObjectExists( objID )
DeleteObject( objID )

SetObjectPosition( objID, x, y, z )
SetObjectRotationQuat( objID, w, x, y, z )
SetObjectRotationEuler( objID, angx, angy, angz )

MoveObjectLocalX( objID, amount )
MoveObjectLocalY( objID, amount )
MoveObjectLocalZ( objID, amount )

RotateObjectLocalX( objID, amount )
RotateObjectLocalY( objID, amount )
RotateObjectLocalZ( objID, amount )

RotateObjectGlobalX( objID, amount )
RotateObjectGlobalY( objID, amount )
RotateObjectGlobalZ( objID, amount )

GetObjectX( objID )
GetObjectY( objID )
GetObjectZ( objID )
GetObjectEulerX( objID )
GetObjectEulerY( objID )
GetObjectEulerZ( objID )
GetObjectQuatW( objID )
GetObjectQuatX( objID )
GetObjectQuatY( objID )
GetObjectQuatZ( objID )

SetObjectLookAt( objID, x, y, z, roll )
SetObjectImage( objID, imageID, texStage )
SetObjectShader( objID, shaderID )
SetObjectColor( objID, red, green, blue, alpha )
SetObjectLightMode( objID, mode )


3D Collision

SetObjectCollisionMode( objID, mode )
ObjectRayCast( objID, oldx, oldy, oldz, newx, newy, newz )
ObjectSphereCast( objID, oldx, oldy, oldz, newx, newy, newz, radius )
ObjectSphereSlide( objID, oldx, oldy, oldz, newx, newy, newz, radius )
GetObjectRayCastNumHits()
GetObjectRayCastHitID( index )
GetObjectRayCastX( index )
GetObjectRayCastY( index )
GetObjectRayCastZ( index )
GetObjectRayCastSlideX( index )
GetObjectRayCastSlideY( index )
GetObjectRayCastSlideZ( index )
GetObjectRayCastNormalX( index )
GetObjectRayCastNormalY( index )
GetObjectRayCastNormalZ( index )
GetObjectRayCastBounceX( index )
GetObjectRayCastBounceY( index )
GetObjectRayCastBounceZ( index )
GetObjectRayCastDistance( index )


3D Shaders

LoadShader( shaderID, szVertexFile, szPixelFile )
SetShaderConstantByName( shaderID, szName, value1, value2, value3, value4 )


3D Cameras

SetCameraPosition( cameraID, x, y, z )
SetCameraRotationQuat( cameraID, w, x, y, z )
SetCameraRotationEuler( cameraID, angx, angy, angz )

MoveCameraLocalX( cameraID, amount )
MoveCameraLocalY( cameraID, amount )
MoveCameraLocalZ( cameraID, amount )

RotateCameraLocalX( cameraID, amount )
RotateCameraLocalY( cameraID, amount )
RotateCameraLocalZ( cameraID, amount )

RotateCameraGlobalX( cameraID, amount )
RotateCameraGlobalY( cameraID, amount )
RotateCameraGlobalZ( cameraID, amount )

GetCameraX( cameraID )
GetCameraY( cameraID )
GetCameraZ( cameraID )
GetCameraEulerX( cameraID )
GetCameraEulerY( cameraID )
GetCameraEulerZ( cameraID )
GetCameraQuatW( cameraID )
GetCameraQuatX( cameraID )
GetCameraQuatY( cameraID )
GetCameraQuatZ( cameraID )

SetCameraLookAt( objID, x, y, z, roll )


3D Lights

CreateLightPoint( lightID, x, y, z, radius, red, green, blue )
GetLightPointExists( lightID )
DeleteLightPoint( lightID )
ClearLightPoints()
SetLightPointPosition( lightID, x, y, z )
SetLightPointColor( lightID, red, green, blue )
SetLightPointRadius( lightID, radius )
CreateLightDirectional( lightID, vx, vy, vz, red, green, blue )
GetLightDirectionalExists( lightID )
DeleteLightDirectional( lightID )
ClearLightDirectionals()
SetLightDirectionalDirection( lightID, vx, vy, vz )
SetLightDirectionalColor( lightID, red, green, blue )
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Oct 2012 21:14
whats the video format?

Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 7th Oct 2012 21:52
MrV - the video commands aren't working yet.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 7th Oct 2012 22:16
Quote: "whats the video format?"


Once it is possible to compile the new iOS player the video format will be h264 (MPEG-4 AVC) for video, with AAC or MP3 for audio in an .mp4 container. This will be the same for Android.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Oct 2012 22:38
ah... not a bad choice... thanks Paul! any idea when it will be available? 2-4 weeks?

Login to post a reply

Server time is: 2024-03-28 13:57:59
Your offset time is: 2024-03-28 13:57:59