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

#1
Okay got it sorted.  I guess i didnt understand the relationsship with objects and views etc.

Heres what I did.

Created an object.
Assigned a view

function room_Load()
{
object[0].SetView(2);
}


function room_AfterFadeIn()
{
object[0].Animate(0, 5, eRepeat,  eNoBlock);
}
#2
Thanks for the help. I am getting some success now.  Just need to sort out the enters room before fadein as the screen just goes black.  I will check the manual....
#3
I have several animated loops which I have created as views.  Just cant figure out how to add the animated "things" to my rooms.  I dont really want to do a complete animated background.  

I have checked the manual and looked through the forums but either am looking for the wrong thing or it isnt there. (Which I doubt).

Say I have an animated flag and want it to show on my background.  Just want to place it on the background et voila.  A bit like a character I guess.
#4
okay here goes.

I have started a new game with a moving character and several rooms etc.

I am using the default template for now.

I want it so that the character cannot pick up or look at an object until they are near it.

By default the character could be one end of the room and still view or pick up the object.

This does not work for me as I need the character to explore the room.

I am sure it is simple but I am having trouble getting scripts to complile etc.

The concept is simple and easy to code in straight C or basic but I cannot get to grips with setting it all out in AGS.

Any help would be appreciated. Code and where to place it etc.

Thanks in advance.




SMF spam blocked by CleanTalk