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 - Joacim Andersson

#221
Quote from: omg on Thu 04/11/2004 03:55:49
joacim the tribe has spoken i needÃ,  you to bring your torch

OK.... If I had any clue of what you're talking about I could bring you a whole burning house if you wanted me to :).
#222
Quote from: stuh505 on Thu 04/11/2004 02:42:22
i do not think it would look good if the fog followed the character....the fog isn't that smart
LOL, I didn't mean that the fog should be smart.... It all depends on what the fog looks like, I just gave an idea on how you can "hide" a part of the character.
#223
For some reason the window is pushed "out of view". A quick solution is to right click the application button in the taskbar (or select it and press Alt+Space) and in the system menu pick Move.

Now press the Right arrow key on your keyboard and then move your mouse... Voila! Either click or press enter and then resize the window.
#224
I never said AGS was doing anything else but mimicing C :).

Thanks a lot for your reply.
#225
Well, I really can't see why it would cause any memory problem. The documentation states that a string is a char array capable of holding 200 characters. So there would in that case cause memory problems if I use StrCpy or StrCat if the result string would exceed 200 characters as well.

I can't use the equal sign for assigning strings to a char array in C either except from in the declaration itself.... so the following is fully legal in a C program:

char str[200] = "See, I don't need to use StrCpy";

And since the script in AGS tries to mimic C and the fact that it did work earlier I just wanted to know the reason why it has been removed. It's no biggy I was just curious.

But I'm glad that people like me can't do illegal stuff since I'm such a dork and usually do that :). Actually I am a system developer and work a lot with C and C++ so I do know about memory management ;)
#226
Quote from: Gilbot V7000a on Thu 04/11/2004 01:21:57
This way of string assignment is never supported, so, just avoid.
That's not true. I have a couple of games I wrote in v2.56 that uses it. It's nothing strange about it. It's allowed in a C program for example.
#227
I don't know if you consider this a bug or if there is some reason I've missed that made you remove it. But in earlier versions you could assign a string value to a string on the declaration line...
string sMyString = "See how neat, I can assign a value without using StrCpy";
I noticed that this behaviour was gone already in v2.61
#228
No worries! I downloaded v2.62 and the problem is solved. Thanks again!
#229
Oh... You mean the first thread of this forum... Thanks!
#230
Quote from: Scummbuddy on Wed 03/11/2004 23:28:24
the first post of this very topic
QUE?????
#231
Thanks CJ, but where can I find v2.62?
#232
I was wrong, the code in Players enter screen (after fadein) are as follows:
  Wait(100);
  FaceLocation(EGO, player.x, 0);
  NewRoomEx(1, 160, 203); 
When I press Alt+X to terminate the program it says that it was aborted on the line with the FaceLocation call. The player is hidden in this room so that might be the reason (I just wanted him to be turned in the correct position before changing room) however this worked just fine in the earlier version of AGS.
#233
:-)
#234
Completed Game Announcements / Re: Frog Island
Wed 03/11/2004 10:40:19
Whoah haa haaaa haaaaaa!!!!!!! This was one of the funniest games I've played in a long time. A bit short but very funny. 5 thumbs up (Hey! Don't make fun of me! I can't help that I have 5 thumbs, 3 on my left hand and 2 on my right.).

It's also nice to see a new Scandinavian here in the community. Welcome! Now go make a new game!!!!  :D
#235
I don't know about that but here's another idea: Maybe you can use the new FOLLOW_EXACTLY value you can use together with FollowCharacterEx. This would envolve creating a new character that is the smog.
#236
I guess I could but I don't see how that would help since I already posted all the code that exists for that room. As I said it worked just fine in the earlier version of AGS but in the latest version it just doesn't change room.

Where can I upload the file?
#237
Nope! That's all the code there is for that room!
#238
Hints & Tips / Re: melrin 3
Thu 28/10/2004 17:16:57
Spoiler
Use fire... Walk around a bit...
[close]
#239
Hints & Tips / Re: melrin 3
Thu 28/10/2004 16:18:53
Spoiler
You might need to go back to places you've already visited. To get past the sceleton you need to rattle his bones...
Look carefully around on the first screen of the Island of Gastar.
[close]
#240
I have just updated AGS to the latest version. I opened one of my game made in an earlier version and then the script for one of the rooms stopped to work.

I have a room with just a message that should be shown for a short while and it should then move on to the next room. I use the following code in Players enter screen (after fadein):
  Wait(100);
  NewRoomEx(1, 160, 203);

This worked in version 2.56 (I at least think that was the version I had) but now it just doesn't change room and because of that the game freezes since there is no other way to move on from this "message room".
SMF spam blocked by CleanTalk