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

#1
Hey! How do I insert a animated background, but only if the player click on the hotspot first? And, after showing that animated background, how I change for the next room?

My code:
function hHotspot2_Look()
{
  if (change_bg)
  SetBackgroundFrame(0);
  if (change_bg2)
  SetBackgroundFrame(1);
  if (change_bg3)
  SetBackgroundFrame(2);
  if (change_bg4)
  SetBackgroundFrame(3);
  if (change_bg5)
  SetBackgroundFrame(4);
  else player.ChangeRoom(8);
}


function room_AfterFadeIn()
{

  SetBackgroundFrame(0);

Thanks!
#2
Hey, there's a way to, until the player do a determined thing, the animated background (main background) stay static? And then the bg change?

Thanks!
#3
Oh my god, I'm terrible at that. Can you just add me on msn, to help me with this part, please?
#4
But how can I, in the moment of fight, show the inventory with the knife on it, if the inventory is hidden? What script can I use?
#5
Hey! I have a few questions...

1 - How can I use my inventory when the GUI is hidden (called only by script)?
2 - How can I use a item from my inventory only in a determined situation?
3 - For example, the player gets a knife on his inventory, and then a new area of the game opens. How can I do that?

Thanks!
#6
Ok, thanks.
#7
So, there's no solution?
#8
Beginners' Technical Questions / Inventory?
Wed 21/09/2011 19:10:24
Hey, what's up? So um, I deleted all my GUIs, because I dunno how they work. So my question is:

1 - If you delete your GUI, can you make like an inventory on the under part of the game? and
2 - How do I get the objects in my inventory now? What code do I use?
#9
Oh, my mistake, sorry. I didn't put the "if (change_bg) SetBackgroundFrame(1);" on the code. Sorry!

And thank you! You guys helped me a-lot! (:
#10
But, if I click on the symbol that is the third, before the other symbols, the bg still changes! can the player just find the symbols and, when reach 3, then the new area open?
#11
Still have errors...



I really don't get it. ):

#12
Ok. Is a point-and-click game. First symbol is on the inicial room, the other symbol is in the stairs, and the third is upstairs. The symbols are in the background, they are not objects (because i dunno how to use objects...), and I don't know what are regions either.

The symbols are hotspots, and when you click on them, my code is like:

// room script file

function hSymbol1_Look()
{
Display("It sounds like you've found a strange symbol.");
}

Please help me x_x
#14
What code do I use? I really suck at that... ):
#15
But how can I put this background only AFTER finding those symbols?

So, it needs a code? I'm not good with that, what code can I use?
#16
Where do I find this help file? Sry for noob questions, I'm new at this...
#17
Hey, first of all, sorry for my awful english. Well, I'm creating a game that, after you find 3 symbols, it needs to change the background of a room. But I have no idea of how I can do it. I've started creating with AGS today, so I'm completely lost.

Thanks!
SMF spam blocked by CleanTalk