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

Messages - ROOKMAGE

#1
Yeah, getting the same problem on both amazon kindle and Motorola g.
#2
Engine Development / Re: Modding android port?
Fri 25/04/2014 18:21:20
Ah, I haven't noticed that. It's working just fine for me?
#3
Engine Development / Re: Modding android port?
Fri 25/04/2014 12:54:36
Is there any reason why it's not possible to have the app just skip the launcher screen and open up a specified filepath?
#4
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)
#5
Yeah :P, I've gotta go through my script and label everything as well as fix the way my code works.
#6
Code: ags
if (IsTimerExpired(5))
   {
   turnsprite = DynamicSprite.CreateFromExistingSprite(blockArray[selectedArray].sprite1);
   int randomframe = Random(360);
   turnsprite.Rotate(Random(359) + 1, 204, 152);
   selectedObject.Graphic = turnsprite.Graphic;
      SetTimer(5, 5);

This works. Thanks!
#7
So, it's definitely the code I'm using for rotation that's not working.
Code: ags
DynamicSprite* turnsprite = DynamicSprite.CreateFromExistingSprite(41);

   if (IsTimerExpired(5))
   {
   int randomframe = Random(360);
   
   turnsprite.Rotate(randomframe);
   selectedObject.Graphic = turnsprite.Graphic;
      SetTimer(5, 10);
      turnsprite.Delete();
      }
      


does the same exact thing, where the sprite becomes completely invisible until I reassign it.
#8
Still no luck. Do you think anything outside of the code could be doing anything?
#9
Code: ags
this

Declares it as an extender function, so instead of making the function work like this:
Code: ags
GetHealth(cCharacter);

it works like this:
Code: ags
cCharacter.GetHealth();
.
This will then be your variable for the character. Now you take this.ID, which will find the number the character is referenced to (hopefully in your arrays as well) and use it to find the array for the character.
Sorry if this isn't what you meant when you said you don't fully understand :P
#10
Just tried that out, I'm still getting the same error. Some tests have led me to believe I'm just not using the Turnsprite.Rotate() properly because I can't seem to get it to work, even when not called repeatedly or with a random variable.
#11
That worked, thanks!

#13
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?
#14
Oh, ok. Sweet. Thanks!
#15
Alright. Thanks, wish I knew more about android and AGS engines so I could help :P Good luck!
#16
It should be the official 3.3.0.1158, I got it from the main page.
#17
No luck. The game won't launch :/

Speaking of which, is there any way to easily downgrade the version of AGS your game is currently using?
#18
Quote from: Crimson Wizard on Sun 06/04/2014 13:35:20
EDIT: The error message you mentioned could only be shown if you use APK made prior to "game format 3.3.0" was introduced. This happened 26th September 2013. Probably any build later than that could run 1158 games, although there's no guarantee it will run them 100% properly, because aside from data format changes, there were feature additions that could be used (like new script functions).
That's odd. COuld you link me to the latest APK? I've been searching all over and all of the apk's i've downloaded have errored. I think I'm using an outdated version..?
#19
Quote from: Crimson Wizard on Sat 05/04/2014 14:59:02
JJS has not been on forums lately. Someone else need to make an up-to-date Android build.
Can someone help? I don't know how to do this :embarrassed:.

By the way, can someone Android savvy look at those two questions:
https://github.com/adventuregamestudio/ags/issues/143
https://github.com/adventuregamestudio/ags/issues/144
I'd assume it wouldn't be too hard. Anyone know the major changes in the format between 3.3.0 and 3.3.0.1158?
#20
I'm using the AGS engine 3.3.0.1158 and I can't seem to find the apk for it. Does anyone know where the latest APK is?

EDIT: I've been looking through, and it's either that I'm always downloading the wrong file from JJS/daily, or that my android device (kindle fire) isn't supporting the latest editor/files well enough. The error message is:
"This game requires a newer version of AGS (3.3.0.1158). It cannot be run."
"Invalid file format. The file may be corrupt, or from a different version of AGS."

Which, I'm assuming means I have the wrong apk.
SMF spam blocked by CleanTalk