advertisement

Servicios en Wave Engine

50 %
50 %
advertisement
Information about Servicios en Wave Engine
Technology

Published on March 15, 2014

Author: waveengineteam

Source: slideshare.net

advertisement

Víctor Ferrer García @VicFerGar http://waveengine.net Servicios en Wave Engine

¿Qué es un servicio? • Son independientes al ámbito de Scene • Son accesibles desde cualquier parte de nuestro código • API multiplataforma

Lista de servicios en Wave Engine • Assets • CameraCapture • GraphicsDevice • InAppPurchase • Input • Layout • Microphone • MusicPlayer • Platform • Random • ScreenContextManager • SoundPlayer • Storage • Taskscheduler • TimerFactory • TouchPanel • VideoPlayer • ViewportManager

Lista de servicios en Wave Engine • Assets • CameraCapture • GraphicsDevice • InAppPurchase • Input • Layout • Microphone • MusicPlayer • Platform • Random • ScreenContextManager • SoundPlayer • Storage • Taskscheduler • TimerFactory • TouchPanel • VideoPlayer • ViewportManager

Como consultar un servicio WaveServices.[servicio] Ejemplo: WaveServices.Input.KeyboardState.IsKeyPressed(Keys.Space);

WaveServices.Platform WaveServices.Platform.PlatformName; WaveServices.Platform.OperatingSystem; WaveServices.Platform.AppVersion; WaveServices.Platform.ScreenWidth; WaveServices.Platform.ScreenHeight;

WaveServices.ViewportManager Nokia Lumia 920 768x1280 Samsung Galaxy S4 1080x1920 iPhone 5 640x960

WaveServices.ViewportManager Virtual mobile device My resolution

WaveServices.ViewportManager Modo: Fill Modo: Uniform Modo: UniformToFill Modos de adaptación automáticos

WaveServices.ViewportManager Configurar ViewportManager ViewportManager vm = WaveServices.ViewportManager; vm.Activate(768, 1024, ViewportManager.StretchMode.UniformToFill);

WaveServices.ViewportManager iPhone 5 960x640 Surface RT 1366x768

WaveServices.ScreenContextManager ScreenContext Background Scene SceneUI ScreenContext Scene1 Contexto simple Contexto multiple

WaveServices.ScreenContextManager ScreenContext1 (Paused) ScreenContext2 (Running) Stack (before) Push ScreenContext3 ScreenContext1 (Paused) ScreenContext2 (Paused) Stack (after) ScreenContext3 (Running)

WaveServices.ScreenContextManager ScreenContext1 (Paused) ScreenContext2 (Paused) Stack (before) Pop ScreenContext1 (Paused) ScreenContext2 (Running) Stack (after) ScreenContext3 (Running)

WaveServices.ScreenContextManager ScreenContext1 (Paused) ScreenContext2 (Running) Stack (before) To ScreenContext3 Stack (after) ScreenContext3 (Running)

WaveServices.ScreenContextManager ScreenTransitions • ChecqueredAppearTransition • ColorFadeTransition • CombTransition • CoverTransition • CrossFadeTransition • CurtainsTransition • DoorwayTransition • FallingLinesTransition • FanTransitions • PushTransition • RotateTransition • ScaleTransition • ShrinkAndSpinTransition • UncoverTransition • ZoomTransition

WaveServices.Input Lista de sensores • AccelerometerState • DisplayOrientationState • GamePadState • GyroscopeState • KeyboardState • MouseState • TouchPanelState

WaveServices.Input var inputService = WaveServices.Input; if (inputService.KeyboardState.IsConnected) { // Detect key Up if (inputService.KeyboardState.Up == ButtonState.Pressed && beforeKeyboardState.Up != ButtonState.Pressed) { // Custom action } } beforeKeyboardState = inputService.KeyboardState;

WaveServices.Input var inputService = WaveServices.Input; if (inputService.AccelerometerState.IsConnected) { inputService.AccelerometerState.SmoothAcceleration.X inputService.AccelerometerState.SmoothAcceleration.Y inputService.AccelerometerState.SmoothAcceleration.Z }

WaveServices.TimerFactory WaveServices.TimerFactory.CreateTimer(“myTimer”, TimeSpan.FromSeconds(0.6f), () => { // Acción con retardo },false);

WaveServices.MusicPlayer var musicPlayer = WaveServices.MusicPlayer; musicPlayer.Play(new MusicInfo(“Content/music.mp3”)); musicPlayer.IsRepeat = true; musicPlayer.Volume = 0.5f;

WaveServices.SoundPlayer //Register bank SoundBank bank = new SoundBank(Assets); WaveServices.SoundPlayer.RegisterSoundBank(bank); //Register sounds SoundInfo sound1 = new SoundInfo("Content/effect.wpk"); bank.Add(sound1); WaveServices.SoundPlayer.Play(sound1);

WaveServices.Storage MyStorageClass storage; … WaveServices.Storage.Write<MyStorageClass>(storage); … if (WaveServices.Storage.Exists<MyStorageClass>()) { storage = WaveServices.Storage.Read<MyStorageClass>(); }

Thank you Víctor Ferrer García @VicFerGar http://waveengine.net

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

NoADId - clasificadosonline.com

Servicios Yellow Pages: Puerto Rico : Estados Unidos: Contáctanos- Email US : ESPAÑOL Lo sentimos el ... Los Clasificados en el Internet de Puerto Rico, ...
Read more

GameUS - WaveEngine - YouTube

Los chicos de Wave Engine nos mostraron las bondades de su motor e incluso se animaron a hacer unos ejemplos en directo. Todo unos fenómenos ...
Read more

Honda descargas gratuitos manuales servicios!

Honda servicio de taller, descarga gratuita. Mucha gente cobra por los manuales de taller de motos online así como ofrecen sus servicios en cualquier ...
Read more

Google+ is being broken into services you might want to use

The search engine... Login Home Gear Gaming ... Google sets execution dates for Wave, Knol, Friend Connect and more 11.23.11 View. Image ...
Read more

Descargar SoundEngine (5.10) - Gratis - malavida.com

6/10 - Descargar SoundEngine Gratis. Para masterizar audio puedes descargar SoundEngine gratis, un editor de audio especializado en archivos WAVE....
Read more

La empresa - Moravia

La empresa. Acerca de ... de las empresas líderes del mundo hayan eligido confiar en Moravia para acceder a servicios de ... Next Wave: Content Curation ...
Read more

Manual De Servicio Honda Cg 125

reparación contenida en este manual está este manual. ... Spesifikasi Enjin Honda Wave 125 ENGINE Engine Type : Air cooled, ... Servicios de Alquiler ...
Read more

Descubre tu mejor plan de jubilación con Jubiland

Descubre los mejores planes de pensiones para tu jubilación con Jubiland, así como el planeta en el que pasarás tus años dorados cuando te jubiles.
Read more

WAN Optimization - WAAS - Wide Area Application Services

Wide Area Application Services. The Top WAN Optimization Solutions. See why Gartner places Cisco in its leader's quadrant. ... WAVE appliances, and more ;
Read more

Equipo de gestión - Moravia

Equipo de gestión; Valores ... Ha prestado servicios en los equipos ejecutivos para algunas de las empresas más salientes ... The Next Wave: Content ...
Read more