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

#1
A few hours from now I'll be celebrating it so I can`t tell you...


Happy new year!!
#2
Ok, i feel so dumb now.

I don't know why when i write the code directly to the room script it doesn't work, but when i use the ags inteface and make an event before fade in then it works and the code is the same i think.

Code: ags

function room_Load()
{
  cChar1.Animate(1, 3, eRepeat, eNoBlock, eForwards);
}


With this one now it works fine.

Welp, thank you all
#3
It isn't an object i made him a character, I tested the lines on an interact with the character and there it works, i still cannot make it work auto though, the room_Load function doesnt work if it's the first room or maybe because the npc is a character the function has to go in the global script?

Sorry for asking so much :embarrassed:
#4
Oh, thanks, Room_Load seems more logical. but still doesn't work. the main character can move freely but the npc is still unanimated.

I tried the following functions.

Code: ags

function Room_Load()
{
  cChar1.LockView(4);
  cChar1.Animate(1, 3, eRepeat, eBlock, eForwards);
}


Code: ags

function Room_Load()
{
  cChar1.Animate(1, 3);
}


Code: ags

function Room_Load()
{
  cChar1.Animate(1, 3, eRepeat, eBlock, eForwards);
}


the View is well put, if i change the main character to that one, when i move the animation works. But maybe its a propietries issue.
#5
Hello all of you,

Sorry for the inconvinience, i tried to look through the help file, tutorials and the wiki, but i can't make this function to work, the game launches normally but the character i want to always animate doenst do it. So as a last resort Im going to ask here for help.

Code: ags

function game_start()
{
  cChar1.LockView(4);
  cChar1.Animate(1, 3, eRepeat, eBlock, eForwards);
  cChar1.UnlockView();
}


So, where i failed?

Thanks
#6
Hello,

I'm SetsunaShadow, or at least i usually use this nickname sometimes :P.

I want to introduce me, I'm a guy, currently 28 years old (maybe too old to make simplier old adventure games), from Barcelona (Spain).

Since I was a child I played a lot of adventure games, mainly the Lucas Arts ones. And i did a lot of fan games on RPGMaker on my day, and recently i tried a little the unity engine but the level of coding there it's too much for me. I know some basic stuff and I can understand the majority of the code (different from doing it yourself :sad: ). But I always was looking to make adventure games. I found Visionarie studio and I didn't like that too much. Then I stumbled on AGS when i was waching Yahtzee19's youtube channel and after doing the basic tutorials and reading a bit of the manual, I finally decided to register on the forum and introduce myself.

So anyways, thank you all and I hope to stay here a long time (At least my free time).

Goodbye.
SMF spam blocked by CleanTalk