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

#61
Thanks Khris :)
How many frames/sprites do you use on your games for the main character, per loop?

Do you remember this game? The Riddle of Master lu (https://www.youtube.com/watch?v=bhqztTeXkU0)? From the 90s, with live actors? Is not my perfect point-and a click game, and i prefer cartoons,  but It is very difficult for me to draw  sprites :(

Is there any example of a soccer game, done by AGS that you know of, hat I can see?

Thanks :)

#62
Hello,

I was wondering, how many frames would you expert guys advise, to animate the main character? Is 25 frames for each loop too many? It is the number of frames of video. I know, roger, or cEco, has about 16 frames...

Also, do you think it is viable to do a simple soccer game with AGS? Not a real soccer game, but a kind of subbuteo soccer, as mini game to insert into the main AGS game? If I programme it elsewhere, it is possible to include into the main game? Like if the player was playing pac-man, or invaders, in the arcades?

Thanks :)
#63
And I can associate this script to any region, right?

By the way, Slasher, can you show me any game you have made with AGS?

In the meantime... where is khris?!??!?! LOL :) I just hope he isn't still mad at me for being a newbe :(

Thanks agsain:)
#64
Quote from: Slasher on Thu 17/01/2019 15:06:54
You can indeed change the Background image by triggering a region..
Just make sure the room loads the correct Background frame in Room Load.

Read manual about Region Events.

First Background is always 0, then 1, 2 etc

Parallax Scrolling module.
https://www.adventuregamestudio.co.uk/forums/index.php?topic=33142.0

Thanks Slasher :)

I try looking in the manual, and found this function:SetBackgroundFrame (https://www.adventuregamestudio.co.uk/manual/) Is this the one you refering to? It says:

SetBackgroundFrame (int frame)

Locks the background to frame number FRAME of an animating-background screen. (Values for FRAME are from 0 to 4). This allows you to use the animating backgrounds feature for another purpose...Pass the frame as -1 to return to the default behaviour of automatically cycling through all the background frames.

So as I understood, you create your backgrounds, and then using this function enables you too use them diferently, without having them changing as normal. Right?

Now for what  Crimson Wizard said, I guess you are right, but you see, I love video. I was taking coffee, and then, I have this vision... I think it will turn the game more imersive, specially in little rooms...

PS: I wonder why Khris doesn't say anything... I miss him :(
#65
Hi guys,

I'm trying to simulate Depth of Field or DOF.

DOF mean that when the player is  getting closer to the camera, and therefore bigger, the background turns increasingly blurred, and the DOF, shallowed.

I thought by doing this using  backckgrounds. I mean, I define shall we say, 3, or 4 regions, and if the player is in one of those regions the game loads a different background. With different stuff present on the background blurred (using photoshop), accordingly to the player position twords the "camera".

Is it possible to call a function associated with a region, which then, changes the background? How? Is what I trying to do here already been done?  Is it already implemented, like the scaling thing?

By the way, is it possible to do Parallax Scrolling with AGS? How, or

where can I load the plug in?

Thanks :)
#66
thanks for the advise...

Did you choose your nick name in honor to Manic Miner? I am a fan of that Spectrum game :)
#67
To end it, let me just say this:

I LOVE AGS :) My favorite genre of games is adventure games. I spent my youth playing games such as Monkey Island, Rex Nebular, Space Quest, Kings Quest, etc... Those great memories are embedded on me. I use to play those games on an Amiga before I move to PC. I alywas dreamed of making computer games, namely point and click ones. I only discovered AGS now, and I'm crazy happy. It was a dream for me... I'm in love by AGS, and what it can do, so I got a little be excited. I had problem in the past with Win 10... and some software so I got into panic :(

Again, many  Thanks to all the people that helped me including Khris :)
#68
No problem for me here... I was wondering why Khris was banned once, but now I understand why ;) There is always a Khris in any forum LOL, and always a Filipe ;) I just hope he likes my game.. the bad guy is going to be called Khris, on your honor, and he is going to be a really ugly dude... You see, I'm a goods sport ;)
#69
Quote from: Khris on Tue 15/01/2019 17:40:41
Quote from: Filipe on Tue 15/01/2019 17:06:24
my code:

Function cSusan_Intertact()
{
cSusan.Walk(500, 400, eBlock, eAnywhere);
}
That won't even compile, let alone run. Why don't you post the actual code you have? Just copy-paste it here. You aren't seriously retyping it / avoiding to post code because you don't know you can copy-paste it?

:( No, actually, for strange that it might seems to you, I'm using a different computer to run AGS, which is not connected to the net, I know, I know what you are thinking, and no. I don't use wi fi. It is an old computer, well sort of, it runs Windows 10 :)... so in fact everything has an explanation, in this case a very simple one... I'm doing some tests, and I really love AGS... what is happenng to me is something called creative impatience... It was the first time I really got into AGS and I love it... :) I plan on installing it on my new computer.... but now, I'm just learning, and boy I leanr a lot this day...

My problem is that I was running a lot of tests... I never bother to delete the code I had on the Rep Exec function, so it was in conflict with every thing I told cSusan to do... Also I didn't mean I was ashamed of showing my code, I wanna it more to say, that i it was difficulte for you to understand with all this mess I was doing... but you Khriss... you seem to be looking for a fight :( I understand you don't have patience for newbies... sorry then :(

By the way, I promice to show you guys first hand, when my game is finished ;)
#70
Thanks Slasher, your replies really help me :)
#71
Ok, I got it... the problem was the Anywhere, but still he walks very, very  fast...  I remove the anywhere and now he walks but he runs like Flash ;) LOL



Also the character is not going to walk with the eNoBlock, if it is being animated in the Rep Exec...  so that was also one of my problems... when you have an animated object/character and you try to interact with it, if he is doing the animation in a loop, you have to block it otherwise it will be messed up, and the eNoBlock function seems not to be working... so it was always a override problem from the begining... thanks to Crimson Wizard for suggesting it :)
#72
my code:

Function cSusan_Intertact()
{
cSusan.Walk(500, 400, eBlock, eAnywhere);
}

Maybe it is the eAnywhere, because he jumps from one position to the last frame
#73
Quote from: eri0o on Tue 15/01/2019 16:49:03
Filipe, could you show a printscreen of your Room and code, paste on imgur or record a video? I still can't understand your problem.

Please consider the possibility you misunderstood what blocking and nonblocking functions do. Essentially, if something is non-blocking, neither the player or whatever is next in the first-in-first-out actions pipe will wait. So if you tell something to animate, starting from the first frame, and do that on the next frame, and on next frame, on and on, the result is that you only see the first frame all the time.

As CW said, without taking a look in your code it's impossible for us to help you.

I would do that, but it is just a test... I'm ashamed :( It is not a game... I will do that later... thanks for your help :)
#74
Ok, sorry.. and thanks :)
When my game started doing these weird things it seemed like it was a kind of windows 10 conflict... I'm now more relaxed...
You see I'm used to Procedural programming, like Pascal, c, etc...


#75
I was banned??!?
oh sorry... you were banned..
Khris, my code is simple...

I'm gonna try using Roger...
#76
There are some weird things going on for sure...
I manage to solve some of my problems, not sure why... It is already doing the animation, but I had to delete the same code from  multiple functions. So it was a matter of overriding, that's true... because sometimes the object started to animate... so one thing is solved... but....

I got another character. I want him to come to me without blocking my movement. I try eNoBlock, but he doesn't move...

This overriding issue, or code garbage makes the game goes crazy... sorry guys :) and thanks to all of you :)
#77
Oh Khris... don't say that... :( I'm not wining... I think ;)

The problem is simple. I spend all my day trying to overcome this issue.. and finally noticed something odd... THE eNoBlock doesn't work at all on my computer... get it? I tried and tried...

For instances, I tried interacting with a NPC and told him to walk. He does so, but only if the eNoBlock is not chosen. Otherwise he blinks on the last position and then returns to the starting position... I tried looking at him, and the same thing happens...

To summarize:

THE eNOBLOCK DOESN'T WORK, got any suggestions? I'm using Windows 10...

It is not a matter of coding... Is this a known issue?

Thanks again and sorry :)
#78
Thank you Chris. Actually I read the manual...  "1" stands for repeat...

I tried putting the code in almost all the Room functions available, and still it doesn not work. It only works with the eBlock.

In other words I conclude that AGS doesn't allow for having an animation while moving the character, at least, it doesn't seem to do it...

What really makes me nuts, is why the manual states things that doesn't work at all like the eNoBlock... this goes beyond me... I know it is a free software, but.... I'm really sad... :(

Is this a problem with Windows 10?

When I change it to eBlock, it immediately starts the animation, but I'm not able to move my character as expected...

This is really a bad start... Imagine with more complex things...

thanks :(
#79
Thanks... I learned how to create an object... but...

I tried every thing to animate it in an endless loop. I just want you guys to say if my conclusion are correct, so I don't waste my time:

the eNoBlock function doesn't work in almost all situations;

It is impossible to loop an animation.

I'll explain:

I tried to animate an object. oSusan

oSusan.SetView(3);
oSusan.Animate(1, 5, 1, eNoBlok);

I put in an hotspot (walk on) and also in the Rep Exe function and...

the RepExec function animates it but only once...

The hotspot animates rit, but only if it is eBlock, or none...

:( :~( :~( :~( :~(

Thanks
#80
But where are the objects then? How can I edit the script of an object? I press the thunderbolt next to it; and I don't see nothing?!?!

Oh man, I'm getting crazy here...

I'm really getting nuts trying to animate a simple obect, I try animating a NPcharacter then. I did

c.Guard.Animate(1, 2, eNoBlock);

I put this on the Function room_RepExec ()

Everything seems great, but now I cannot move my playable character...

Then I try doing a kind of loop, but it only animates once...

I did as you told me, previously like this:

function room_RepExec()
{
  if(!cGuard.Moving)
  {
    if((cGuard.x == 100) && (cGuard.y == 100)) cGuard.Walk(100, 400);
    if((cGuard.x == 100) && (cGuard.y == 400)) cGuard.Walk(400, 400);
    if((cGuard.x == 400) && (cGuard.y == 400)) cGuard.Walk(400, 100);
    if((cGuard.x == 400) && (cGuard.y == 100)) cGuard.Walk(100, 100);
  }
}

It does this only once, so Hi does the fucnction is called RepExec()?!?!?!

I'm tryng to turn around obscacltes and I'm really only beggining.... :(

I want to do a patrol character and also and animated object... in an endless loop... It seems inpossible :(

Sorry guys... but I'm getting a kind of frustrated here:(

By the way, what I know from objects I'v seen it here:

https://www.youtube.com/watch?v=eKeI1pXdBfw
SMF spam blocked by CleanTalk