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

Topics - jetxl

#41
To save bits and webspace I have seperated the music files from the game.
Instead of making a music pack I have choosen to let the player download some mp3 files from a free music server. This way my website isn't overloaded and dial-up users can choose if they want to download music.

The problem is that one of the mp3 file strings is to big (25 char) and AGS crashes. I tried ~ but that doesn't work I think.
I can't rename the mp3 file because every player has to rename it, and that's not user friendly. I also can't rename the mp3 file on the server because it isn't mine.

xerxes-the_day_we_met.mp3Ã,  Ã,  Ã, <- filename
xerxes-the_day~.mp3Ã,  <- am I doing this wrong?

all the mp3 files begin with xerxes-
#42
This code is working but is still craches sometimes when I give randome input.
Steps(Random(3200),Random(2000),Random(3200),Random(2000),Random(15),30,Random(500));
Please, why does my code crash from time to time.


EDIT: Sorry, I had to post it quick because people were waiting for me.

Anyway, it's fixed! So feel free to use and change it.
sourcecode+demoÃ,  http://www.2dadventure.com/ags/stepstest.zip

Code: ags

function StepsRightDown(int beginX, int beginY, int endX, int endY, int delay, int stepX, int stepY){
Ã,  int flag;Ã,  //flag to leave Y loop
Ã,  while(beginX<=endX){
Ã,  Ã,  beginX++;
Ã,  Ã,  if(beginX%(stepX)==0){
Ã, Ã,  Ã,  Ã,  while(flag==0){
Ã,  Ã,  Ã,  Ã,  beginY++;
Ã,  Ã,  Ã,  Ã,  if(beginY%(stepY)==0){Ã, 
Ã,  Ã,  Ã,  Ã,  Ã,  flag=1;
Ã,  Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);Ã, 
Ã,  Ã,  Ã,  Ã,  if(beginY%delay==0)Wait(0);
Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  flag=0;
Ã,  Ã,  }
Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  if(beginX%delay==0)Wait(0);
Ã,  }
}

function StepsLeftDown(int beginX, int beginY, int endX, int endY, int delay, int stepX, int stepY){
Ã,  int flag;
Ã,  while(beginX>=endX){Ã,  
Ã,  Ã,  beginX--;
Ã,  Ã,  if(beginX%(stepX)==0){
Ã,  Ã,  Ã,  while(flag==0){
Ã,  Ã,  Ã,  Ã,  beginY++;
Ã,  Ã,  Ã,  Ã,  if(beginY%(stepY)==0){
Ã,  Ã,  Ã,  Ã,  Ã,  flag=1;
Ã,  Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  Ã,  Ã,  if(beginY%delay==0)Wait(0);
Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  flag=0;
Ã,  Ã,  }
Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  if(beginX%delay==0)Wait(0);
Ã,  }
}

function StepsRightUp(int beginX, int beginY, int endX, int endY, int delay, int stepX, int stepY){
Ã,  int flag;
Ã,  while(beginX<=endX){Ã,  
Ã,  Ã,  beginX++;
Ã,  Ã,  if(beginX%(stepX)==0){
Ã,  Ã,  Ã,  while(flag==0){
Ã,  Ã,  Ã,  Ã,  beginY--;
Ã,  Ã,  Ã,  Ã,  if(beginY%(stepY)==0){
Ã,  Ã,  Ã,  Ã,  Ã,  flag=1;
Ã,  Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  Ã,  Ã,  if(beginY%delay==0)Wait(0);
Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  flag=0;
Ã,  Ã,  }
Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  if(beginX%delay==0)Wait(0);
Ã,  }
}

function StepsLeftUp(int beginX, int beginY, int endX, int endY, int delay, int stepX, int stepY){
Ã,  int flag;
Ã,  while(beginX>=endX){Ã,  
Ã,  Ã,  beginX--;
Ã,  Ã,  if(beginX%(stepX)==0){
Ã,  Ã,  Ã,  while(flag==0){
Ã,  Ã,  Ã,  Ã,  beginY--;
Ã,  Ã,  Ã,  Ã,  if(beginY%(stepY)==0){
Ã,  Ã,  Ã,  Ã,  Ã,  flag=1;
Ã,  Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  Ã,  Ã,  if(beginY%delay==0)Wait(0);
Ã,  Ã,  Ã,  }
Ã,  Ã,  Ã,  flag=0;
Ã,  Ã,  }
Ã,  Ã,  RawDrawLine(beginX/10,beginY/10,beginX/10,beginY/10);
Ã,  Ã,  if(beginX%delay==0)Wait(0);
Ã,  }
}

function Steps(int beginX, int beginY, int endX, int endY, int colour, int delay, int steps){
Ã,  int stepX;
Ã,  int stepY;
Ã,  RawSetColor(colour);
Ã,  ifÃ,  Ã,  Ã, (beginX-endX<0&&beginY-endY<0){
Ã,  Ã,  ifÃ,  Ã,  Ã, ((endX-beginX)<=(endY-beginY)&&steps==0){stepX=10; stepY=(endY-beginY)*10/(endX-beginX);}Ã, 
Ã,  Ã,  else if((endX-beginX)> (endY-beginY)&&steps==0){stepX=(endX-beginX)*10/(endY-beginY); stepY=10;}
Ã,  Ã,  elseÃ,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, {stepX=(endX-beginX)*10/steps; stepY=(endY-beginY)*10/steps;}Ã, 
Ã,  Ã,  if(steps/10<(endX-beginX)&&steps/10<(endY-beginY))StepsRightDown(beginX,beginY,endX,endY,delay,stepX,stepY);
Ã,  }
Ã,  else if(beginX-endX>0&&beginY-endY<0){Ã,  //left down
Ã,  Ã,  ifÃ,  Ã,  Ã, ((beginX-endX)<=(endY-beginY)&&steps==0){stepX=10; stepY=(endY-beginY)*10/(beginX-endX);}Ã, 
Ã,  Ã,  else if((beginX-endX)> (endY-beginY)&&steps==0){stepX=(beginX-endX)*10/(endY-beginY); stepY=10;}Ã, 
Ã,  Ã,  elseÃ,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, {stepX=(beginX-endX)*10/steps; stepY=(endY-beginY)*10/steps;}Ã,  
Ã,  Ã,  if(steps/10<(beginX-endX)&&steps/10<(endY-beginY))StepsLeftDown(beginX,beginY,endX,endY,delay,stepX,stepY);
Ã,  }
Ã,  else if(beginX-endX<0&&beginY-endY>0){Ã,  //right up
Ã,  Ã,  ifÃ,  Ã,  Ã, ((endX-beginX)<=(beginY-endY)&&steps==0){stepX=10; stepY=(beginY-endY)*10/(endX-beginX);}Ã,  
Ã,  Ã,  else if((endX-beginX)> (beginY-endY)&&steps==0){stepX=(endX-beginX)*10/(beginY-endY); stepY=10;}
Ã,  Ã,  elseÃ,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, {stepX=(endX-beginX)*10/steps; stepY=(beginY-endY)*10/steps;}
Ã,  Ã,  if(steps/10<(endX-beginX)&&steps/10<(beginY-endY))StepsRightUp(beginX,beginY,endX,endY,delay,stepX,stepY);
Ã,  }
Ã,  else if(beginX-endX>0&&beginY-endY>0){Ã,  //left up
Ã,  Ã,  ifÃ,  Ã,  Ã, ((beginX-endX)<=(beginY-endY)&&steps==0){stepX=10; stepY=(beginY-endY)*10/(beginX-endX);}
Ã,  Ã,  else if((beginX-endX)> (beginY-endY)&&steps==0){stepX=(beginX-endX)*10/(beginY-endY); stepY=10;}
Ã,  Ã,  elseÃ,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, {stepX=(beginX-endX)*10/steps; stepY=(beginY-endY)*10/steps;}
Ã,  Ã,  if(steps/10<(beginX-endX)&&steps/10<(beginY-endY))StepsLeftUp(beginX,beginY,endX,endY,delay,stepX,stepY);
Ã,  }
}

funny, a year ago i did this in java at school
#43
Did we forgot something on 18 september?  :-[

(http://www.agsforums.com/yabb/index.php?action=calendar)
#44
Quote from: E-zine
AGS Team Challenge is over. Sadly, only two of the seven teams finished their games, and they were both chosen winners.

AGS team challenge is over?
But who did compleated the games.
And where can I find them.

Can't find anything in the Completed Game Announcements or the The AGS Team Challenge topics  ???
#45
General Discussion / They took my bubblegum
Sat 31/07/2004 23:33:05
I grabbed my bag at the airport when I noticed that the paperclip that was holding the zippers together was gone. When I opened my bag everthing seemed to be there but upon closer inspection I saw that one of my plastic bags was ripped open. Earlier at mittens, Scummbuddy gave me a piece of gum. I liked it so I bought the saame kind in the store. But now it's gone! I guess some frence guy (I think) saw the gum as a treat. And took it out.

By the way. I'm back from mittens.
#46
I noticed it the other day. There is a GetMP3milli, GetMidiBeat and a SeekModPattern but no getModPattern.

I think it would be handy when making theme music. You got the same melody but in a different tone to make it feel more sad but most of the same samples are used. If you made it in the same mod file it would save some bits.

In the game you would send the music back to the beginning when it reaches the sad theme. And when the time is right you would play that pattern in the game.
#47
I never know what to write in these posts other then PLAY the game.

This is one of those party games like Mario Party but made with ags.
I made it in ten days when I should have learned for my Logical Phisics exam. (p --> q <=> ¬p v q). I passed it with a 55.
edit:(if I got a 54 I would have failed the exam)

*This game features all your favorite characters from Demo Quest 2.
*It has 3 mini games for hours of fun.
*One gigantic Forest board to play on.
*Play with up to tree players or by yourself with build in life like bots.
*Set the time length for this game yourself.
*Trivia questions that ONLY the 1337 adventure gamer can awnser.
*And a lot of other crap.

http://the-makers.tripod.com/downloads.htm
mirror: http://minimi.spijbelaars.com/BoardQuestFinal.zip

edit: Thanks for the mirror, minimi! :D
edit2: fixed some other bugs. in the old version when Toadie found points on the road, his score was reset to 50 plust the last score made in the shooting game.
#48
I've been working on an AGS board game and it's almost finished. (Expect it next week)
But I have trouble finding questions for a question game. I need about 40 true or false questions. I could copy #ags trivia but I rather not.

Can anybody give me a website with game questions? Or give me questions you thought up. They should be adventure game or AGS related.
#49
I was trying to make the background screen darker when the light goes off in the room. I only can change the RGB colors with TintScreen(R,B,G) and can't darken it. You can darken the characters with SetAmbientTint(R,G,B,sat,lum).

I could inport the same bg but darker in frame 2, but it would cost more memory that way. (and the bg's were made only using paint)

Is it possible and if yes, could it be possible that it doesn't effect the GUI?
#50
Beginners' Technical Questions / Demo game GUI
Fri 28/05/2004 18:23:51
The demo game gui shows a picture of the active inventory item, but the defauld gui does not. The picture is also zoomed at the right size.
Whem I look through the source, I can't see how this was done. Have I overlooked something? ???
#51
General Discussion / The coolest sig ever!
Wed 07/04/2004 10:20:20
This is Migs his signature.
http://www.angelfire.com/alt2/music8/dancing.gif

Before people start to complain that they are offended. I just like to say that this is the BEST and FUNNIEST sig I've EVER seen!
It is disturbing yet humouris at the same time.

Jet gives it 3 thumbs up.
#52
General Discussion / The Avatar.
Wed 24/03/2004 15:38:32
I've changed my custom made avatar. :'(
I must say that I didn't wanted to change my cute dancing maids, but it was 450kb. People complained (the ususal suspects) about the size. and they made a point I can't counter for a change.

Therefore: the last post with this avatar.

The gif was copie and resized by aboris. All the 144 frames. As a favour for me.
It was the end cedits screen from Hand maid Mai.  An ecchi parody on hand maid May (note the difrent name - Mai <> May)
It should be a 3 part OVA but the makers went bankrupt and only released the first one.

This gif:
is a hidden cockpit cam animation from the original Carmagaddon, that was not in the game but on the cd as a *.fli file.

I would like to thank Petteri for saying he liked my avatar.
And farl, you still suck.
#53
Completed Game Announcements / Dusk Hunters
Mon 22/03/2004 14:01:15
*WARNING CONTAINS VIOLENCE* should not be played by old grannies or people called Julian.

I was browsing through my laptop the other day and I found a mags game that I never finished. Because I don't like lose ends (and was bored at collage), I completed it anyway.



Story: Yaroslav the Goodwing and Mihail the Redgrave are hunting each other. Whoever kills the other, gets the ultimate reward.
Set agains a post-apocalyptic background and based upon Trigun.

http://the-makers.tripod.com/download/DuskHuntersFinal.zip
<(copy paste the link or right mouse click, save target as)>

*note* I just wanted to finish this game, so there isn't alot of interaction.
#54
I'm working on a game where there is only one action command.
You can't believe how happy I am because now I don't have to think up all those hotspot, object, item and character descriptions.
But this only works for this game.

I was wondering if you guys wrote down all the descriptions and conversations on paper first or just stare at AGS and let the creativity flow (like me).

Goldmunt said you should never just write "it's a door" and make things more character related. But how many original things can you say about a door (there are alwais a lot of doors in an adventure game and I want each door to have a difrent description).
Writing all those descriptions drains your ideas. You get bored and then you write short and boring texts (like "it's a door"). I think this is the reason why a lot of us don't finish our games.
#55
General Discussion / AGS BirthDay?
Tue 24/02/2004 11:00:12
Could anyone tell me when AGS's Birthday is?
(I want to take that day off)
#56
my top 5 of worst adventure games I played.

5-the dame was loaded: I don't know if this game is good or bad because IT CRASHES ON ALL THE COMPUTERS I HAD.
4-space quest 4: I tried a billion times to get into the shuttle and I got shot an equal billion times.
3- fort boyard. The person who made the puzzles should be hung.
2-ace ventura: I got an animal for you! bugs, bugs, bugs.
1- police quest. "Game Over" because you didn't check if all four tires are still under the car.
#57
Adventure Related Talk & Chat / In Memoriam
Mon 19/01/2004 12:16:23
I bought "in memoriam" last week. An adventure game. A WEIRD adventure game I may add.
This isn't a conventional point-n-click-the-charachter-through-the-story kind of game, but more of a research game.

The story is like this: A reporter and his girlfriend have been kidnapped while investigating a big mistery. Not long after that, someone calling himself the phoenix shows some disturbing videos of the woman. He sends a encrypred cd that has to be decrypted to solve his great work.
Sounds vague?~well I don't want to give any hints.

The game exists out of creapy shockwave-minigames. They contain a small clue or need a password to go further. To get a password you have to use the internet. Exaple: you got 3 photo's of an island, the password is the name of this island in greece. is took me 2 days to find it out.
Another cool thing is your mail. From time to time you get mail from people that want to help you. They are not real of course, but still I reply to thank them. The same thing with fake websites. I found a webpage about an institut with the same group photo as in the game, therefor it must be fake, but the information is so real...
And thats what it's all about, making reallity and fiction cross so you can't see the difrence no more.

If I had to discribe this game as short as posible, I would say it's se7en as a game.

http://www.xineph.com/0016/gb/index.html
these is are teaser puzzles
#58
I made a function and it needs to be repeatedly executed, so I want to place it in repeatedly executed room function, but then, of course, it gives a nested function error. Can I fix this?
#59
Advanced Technical Forum / float me baby
Mon 22/12/2003 14:39:05
I don't want a lot for Christmas
There's just one thing I need
I don't care about presents
Underneath the Christmas tree
I just want floats for my own
More than you could ever know
Make my wish come true...
All I want for Christmas
Is floats...
#60
I bought broken sword the other day and I can tell you it's the BEST 3D adventure game since GF, maybe even better. It's the first time the 3D part is useful in a game. The cinematic camera's are the best ever in a game. The locations are full 3D, no 3D rendered backgrounds, but the real "Im exploring the whole street in 3D" thing.
The game takes all the good things from part 1 and 2 and mixing it with a new and fresh story (there will always be clishes of course).
Best game I played in a long time.

edit=BUY IT. It will make your life even better.
SMF spam blocked by CleanTalk