Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: AndreasBlack on Sat 05/11/2022 12:00:18

Title: Engine question: Which comes first?
Post by: AndreasBlack on Sat 05/11/2022 12:00:18
I've tried to improve my workflow, i don't know how it works tho atm, but under is an example.
Will this be in sync even tho the computer or the android device lags, will it sync up with the frames in question?

Cause when i do the "handy version" which is ofc to add all the sounds into the frames in the view editor. It didn't seem to match up when playing the game on an Android device some months ago, it looked aweful to be honest. However i guess the Android didn't seem to recognise "Direct" or "openGL" graphics alternatives and set itself to Software. Perhaps that had something to do with it. So the ending question would be i guess.

Which is the "better" alternative for syncing certain frames with the specific sounds? Manual coding or "view editor", prioritizing orders? Thanks!


function repeatedly_execute_always()
{
    if (oRuslana_Rope.Loop==10 && oRuslana_Rope.Frame==12 && Game.DoOnceOnly("Fart"))
 
  {
   
   
aFart.Play();



  }
 
 
 
 
  if (oRuslana_Rope.Loop==10 && oRuslana_Rope.Frame==13 && Game.DoOnceOnly("Rope_Stretch"))
 
  {
aRope_Stretch.Play();
  }