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

#21
you should check your conditions, perhaps you can tie some of them with logical operators.. && or ||

But.. if you want a switch or case statements I assume you are trying with diferent values.. so you don't need nested if/else
Try this:

Code: ags
 

if (myvar == 1)Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  
{ //do stuf }
ifÃ,  (myvar == 2)
{ //do another stuff}
Ã,  Ã,  Ã,  Ã,  Ã,  .
Ã,  Ã,  Ã,  Ã,  Ã,  .
Ã,  Ã,  Ã,  Ã,  Ã,  .
if (myvar == 80)
{ // do more stuff}
else
{ // alternative stuffÃ,  }




In this form you don't need to have nested the ifs.
#22
Khris: yeah... you right, is more easy.. :)

I always work with variables, but here is not necessary..  I don't know why I can't see it before
#23
I can sugest, above all the other post... is that you consider how you want to change the bar... I mean if you want only 3 values or perhaps you want more than that.. Ã, If that is the case you may consider to use a variable that save the totally amount of health than you can use the rawdraw-Functions, acordind to the value of the variable.
#24
Well my sugestion is that you create a global variable that save the room where is actually your horse (or wherever you left it)

you can use this : Character.Room
for example:

Code: ags


   //.. part of the script
 
 roomnumber = character[EGO].Room

 


When you leave the horse, use this property and when you return to the room check it the value of this variable and compare with actually the room where you are so if the horse is in another part and not in that room then you don't have to move it there.

#25
Looks great, I hope you can finish it, I love the vampire's games
#26
I 've tried this module and I have to say that is awesome.
Just I was looking for... I'll use to my game.

Thank Strazer.. for this cool ideas..

And definitely I will put a Credit for this Module  ;)
#27
I'm not sure, correct me if I'm wrong.. but instead of Cp.move should be
ocp.move, seems it's a object.. and there must have a script name, it must begin with a "o"...???
#28
The Rumpus Room / Re: How did you find AGS?
Fri 07/07/2006 17:57:25
well well, let me see.. oh yes.. I remenber now..
I was looking for KQI and i find KQI remake vga(which was great), and then I know that was developed under AGS... curious..ahh..??
#29
So... you can do your own Gui for the Save/Restore dialog. when the player
press your "save button", you could do two things:

1. Wait for the player enters a description for this saved-game, and use the function

Ã,  Ã,  SaveGameSlot (int slot, string description)

2. You put the description for this saved-game, and you send the string to the function.

And for the restore you can use:

Ã,  Ã, RestoreGameSlot (int slot)

Note: The only thing that you must pay attention is the "slot number", you could overwrite a previous saved game.

Again you should read the manual  for more information.


#30
I recomend you, to download the ags demo and view the code in the gui interface for the save and restore controls.

So, you can read or lookÃ,  in the manual or AGS Help for this two options:

SaveGameDialog ()

and

RestoreGameDialog ()

This functions are in the  topic Game / Global functions

This two will work fine for what you need.

good Luck ;)
#31
I assume that you are trying to pick the object in a room, aren't you?????
or are you trying to use the object somewhere???

for the first question you should create a object and then assign some action.
for the second you must manage the hotspots with the inventory object.

In both cases the help is in the manual,

good luck. ;)
#32
QuotePlease God, J. Jensen and Vivendi, let there be GK4.         

Yeah, I hope God listen to you.

Well, my greatest Adventure Game of all Time will be:

1. - Phantasmagoria I
2.-  Gabriel Knight II
3.-  Gabriel Kinght III
4.-  King's Quest VI
5.-  King's Quest VII
#33
The Rumpus Room / Re: game nostalgia
Thu 22/06/2006 17:44:14
I brings me to the memory ahhhhhhh....

Phantasmagoria I
Gabriel Knight II
Shivers I, II
King's quest V
King's quest VI
King's quest VII

I would give anything  to play them again. :P
#34
QuoteKing's Quest 6, despite being such a beautiful game had lots of pretty scary puzzles...

I second that, This was my first adventure game and with the hardest puzzles for my first time, but I can assure you guys that the puzzle that I hate most is the riddle of the Door in the Death Dimension, I coud not imagine there would be a simple answer.

My favorite puzzle was the final puzzle for the end sequence of Phantasmagoria, but I didn't like to Kill Don.
#35
General Discussion / Re: World Cup 2006
Tue 20/06/2006 19:57:07
Yeah, Ecuador sucks today, but this team wasn't the original that won Poland. I think the team rest for the next phase. I hope so.

GO GO ECUADOR ;D
#36
This is a great idea, I would like to collaborate with the puzzle and programming stuff. ;D
#37
As far as I know  Phantasmagoria I is the best adventure game mystery horror, is like a horror movie, the second part is a disaster.

Also the Gabriel Knight series, especially the GK2, but I never played.

I could say the Shivers series is fine too.
And Lighthouse is a great mystery game.

And For Resident Evil is great I love it, but it doesn't fit in the classic adventure games for me.

#38
Quotealthough, maybe you could explain what you mean by "defign cursors".Ã,  I have assigned messages to pop up and such.

In the tutorial of AGS, read the part 9 about how create cursors, you will notice that for click over a hostpot you will need the interact cursor and image linked with that.

Follow the tutorial once again, step by step and I'm sure it will work ;), antoher thing you can do is begin with a default game (or you already did that).
#39
Yes, you can do it in that way ;)
works for me, try it
#40
you should try the manual, but anyway:

you will need a global variable to save the number of the room where the ipod was, then you use the ChangeRoom function with your character, and the value of the room will be the global variable
SMF spam blocked by CleanTalk