Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ROOKMAGE

#1
Engine Development / Modding android port?
Wed 23/04/2014 18:25:57
Would it be possible to create a stand-alone app with a modded AGS android port? All you would have to do is change the namespace and icon, then have it automatically open up a file path, right? Is there anything else you would need to do?

(Also, sorry if this should've gone into the port thread, I don't know what these forum's rules on necrobumping are)
#2
I've placed this code under Repeatedly_execute_always:
Code: ags
if (IsTimerExpired(5))
   {
   int randomframe = Random(360);
   DynamicSprite* turnsprite = DynamicSprite.CreateFromExistingSprite(blockArray[selectedobject.graphic].sprite1);
   turnsprite.Rotate(randomframe);
   selectedObject.Graphic = turnsprite.Graphic;
   turnsprite.Delete();
      SetTimer(5, 10);
   }


The code is meant to randomly rotate an object (blockarray's object) every 10 game loops. However, when I run it, the object's sprite disappears.
Sorry for posting if this has already been asked, but I couldn't find anything. Is this even possible?
SMF spam blocked by CleanTalk