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

#1
Thanks for the insightful and helpful comments - I'll continue to experiment and see what I can come up with. It's early days for me, but what a great tool.

As for the AI stuff, I don't intend on using it as I'd rather learn for myself - but it's interesting to see what comes up.
#2
On a side note, I asked Google Bard for a script and a few seconds later got the below. Does anyone have an opinion on it's validity or quality?

Code: ags
Sure, here is a script for Adventure Game Studio to open a GUI that contains a dynamic sprite:

```
#include "DynamicSprite.h"

void OpenGUI()
{
    // Create a new DynamicSprite object.
    DynamicSprite* sprite = new DynamicSprite();

    // Load the sprite image from a file.
    sprite->LoadImage("image.png");

    // Set the sprite's position on the screen.
    sprite->SetPosition(100, 100);

    // Set the sprite's size.
    sprite->SetSize(200, 200);

    // Add the sprite to the GUI.
    GUI.AddObject(sprite);
}
```

This script will create a new DynamicSprite object and load an image from a file into it. The sprite will then be positioned on the screen and added to the GUI. When the GUI is opened, the sprite will be displayed.
#3
Hi,

I'm trying to make an overlay that opens when you click on a hotspot and has its own close button.

My guess is I need some sort of GUI to open and be interactive as the overlay and possibly a dynamic placeholder for images I can load in for the varied hotspots.

The basic scenario is clicking on objects (say a piece of paper) and being able to see them close-up before closing them and continuing with the game.

Many thanks!
SMF spam blocked by CleanTalk