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

#1
Hi there !

Simple question : if I remember well, it is possible in AGS to "force" a string to keep its basic value without using its translation, even if a translation is currently used by the player. Like doing it :

Code: ags
String a="Bonjour";

function Say(String s)
{
Display(s); // if s=a, I want to display "Bonjour", but not "Hello" even if I selected the English translation of my game
}

Is it possible in AGS ?
#2
Hi here !

What I want to do is to be able to :

- click on a GUIButton, and let the mouse button (left) down
- while the mouse button is down, I move the mouse down to decrease some value, and move up to increase some value
- in facts, the "value" is the angle of the sprite of the GUIButton.
- in other words, I want to do something similar to, let's say, changing the angle of an image in "Photoshop" : you select the image, then you click and hold the mouse button down on a square near the image,, and by moving the mouse up or down, you rotate the image to your taste.

I don't really know how to do this in the easiest way in AGS, I can imagine that I have to store the mouse.X and mouse.Y coordinates when I click the button and then in the repeatedly execute I look at if I'm moving up or down from there, and so I change the angle. But I think it's not the easiest way, and perhaps it's not THAT way that I can do it, so... I'm here to gather your suggestions/solutions :)

Thank you all for all the help I found here since several years learning coding !
#3
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 ?
#4
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