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 - Baguettator

#21
Because I use a script to calculate coordinates for tokens (to place on maps, like a tabletop game). And I have "stored" the possible coordinates for the different tiles.

So for example I can place my square at the 1st position of the tile A, with a "up" rotation, and it will automatically set it to x and y coordinates according to my script.

But if I rotate the tile, I have to rotate the tokens too. So they change their rotation (up becomes right for a 90° rotation, or becomes down for a 180° rotation, etc), and their coordinates. To change their coordinates, I need to know their width and height. I have to script it during a time when DynamicSprites are NOT created yet. So I can't use DynamicSprite.Width etc

Is the formula too complex ?
#22
OK thanks !

I just wanted to know the formula to calculate the new height/width of the dynamic sprite.

Is the formula well-known ? I have to use it in scripts, with many things that have different heights and widths, so I need the generical approach.
#23
Hi there !

My question could be very stupid, but I have no idea of how ags handles that...

Imagine I have a DynamicSprite "f" that is a square ("rectangle" ?) with these attributes : f.Width=30, f.Height=34.

If I do : f.Rotate(90)

It makes : f.Width=34 and f.Height=30.

Right :)

BUT, if I do : f.Rotate(45)

What will be the width and height of f ?
#24
Also : the android launcher must select the windows version of the game, or the "data" is the "data" compiled (when I compile my game, I have 3 folders: windows, linux and data).
#25
So if I understand well :

- the player installs Android Launcher

- he places my game at the right path location

- he launches the android launcher and with that he can play my game

Is it ok ?

I created my game with AGS 3.5.0.24 (it is that number that ags shows me when I click "help"). Which Android launcher do I need ?
#26
Thanks Crimson Wizard! I prefer the Android Launcher's method :)

But does it mean that the Android Launcher has to be launched by the player ? Or I can create with it the game version for Android ?

Also, I don't know what is the "External storage device"...?
#27
Hi all !

I'm sorry, I think this question has been asked a million times before me, but I get confused with all the threads I managed to find about, and they were old dated most of the time...

So I don't know if it is possible to make an AGS game working on a tablet (Android, or even MacOS "iPad" ?) ? And is there a guide to do that ?

I creates my game with AGS 3.5, so I don't know if something is working with that version.
SMF spam blocked by CleanTalk