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

#1


Hi!
Today I'm lauching a small demo of my comedy Sci-fi game project, "So many Space, So few Lazers".
I'd really appreciate to receive some feedback about it, so I can be able to improve things before I go much further.
It's a self-extracting 7z, and if you like it, or have some comment or idea, don't hesistate to contact me.

Por cierto, puedes elegir jugar en inglés o en español  :wink:

Thanks!

https://www.mediafire.com/file/96zhxgiq8dbe3jv/SoManySpace_Demo_V0.1.exe/file

And remember:

#2
So, this happened:



Not sure exactly why it happens, everything worked fine until I imported an image with an alpha channel, which seems to have loaded incorrectly. Even though I deleted the image (and associated objects), and left everything as before importing that image, the error continues to appear. Any ideas? Thanks!
#3
Hi, I have a little problem trying to do a custom save & load GUI.
The GUI has five slots, shown at the same time on screen. I want to show a screenshot of the saved game if the slot is used, or a generic empty box if it isn't.
So I have this code to populate the buttons used to store the screenshots, every time the GUI appears on screen, but I'm doing something wrong, because no image is shown in any button.
Any idea? Thanks!

Code: ags

function SaveGame()
{
  for (int i = 1; i < 6; i++)
  {
    buttonSprite = DynamicSprite.CreateFromSaveGame(i, 214, 120); // Reads the screenshot of the current savegame slot loop (1-5)
    if (buttonSprite == null)
    {
      buttonSprite = DynamicSprite.CreateFromExistingSprite(507); // If savegame doesn't exists, the image is a default empty box
    }
    // Assign the image to the current loop button
    if (i == 1)
    {
      BScreenshot1.NormalGraphic = buttonSprite.Graphic;
    }
    else if (i == 2)
    {
      BScreenshot2.NormalGraphic = buttonSprite.Graphic;
    }
    else if (i == 3)
    {
      BScreenshot3.NormalGraphic = buttonSprite.Graphic;
    }
    else if (i == 4)
    {
      BScreenshot4.NormalGraphic = buttonSprite.Graphic;
    }
    else if (i == 5)
    {
      BScreenshot5.NormalGraphic = buttonSprite.Graphic;
    }
    
    if (buttonSprite != null)
    {
      buttonSprite.Delete(); // Clears the dinamic sprite
    }
  } 
}

SMF spam blocked by CleanTalk