AGS Editor & User Interface: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
*>Dasjoe
mNo edit summary
 
*>Dasjoe
mNo edit summary
Line 97: Line 97:


For a game '''IN PROGRESS''', you will need to copy all your pre-existing characters, rooms, code, and graphics over to a newly set-up game as shown above. That's it!
For a game '''IN PROGRESS''', you will need to copy all your pre-existing characters, rooms, code, and graphics over to a newly set-up game as shown above. That's it!
==Running AGS games from the MS-DOS prompt or via batch file in Windows==
''I cannot run my AGS game from the MS-DOS command prompt or through a batch file in Windows. What should I do?''
Well, there seems to be a few problems with the command prompt and Windows batch files when running AGS games. When AGS saves and compiles your game, it produces a '''ac2game.ags''' file in your game folder. It's your game, but without the built-in engine to run it. AGS also includes an '''acdos.exe''' and an '''acwin.exe''' file to run that .AGS file. Instead of running your '''gamename.exe''' compiled file, instead do the following:
MS-DOS Batch File - '''startdos.bat'''
  acdos.exe ac2game.ags
Windows Batch File - '''startwin.bat'''
  start acwin.exe ac2game.ags
Then, make sure that in the final release of your game, you include the following:
  startdos.bat
  startwin.bat
  acdos.exe
  acwin.exe
  ac2game.ags
==The possibilities of making an FPS (First Person Shooter) with AGS==
''Can I make a first-person shooter (FPS) with AGS?''
Bottom line: AGS is not the best program to make first-person shooters. ONLY if you have advancecd knowledge of AGS scripting can you even BEGIN to think about making FPS's with AGS. I would suggest [http://www.google.com Googling] some other engines for this. AGS stands for Adventure Game Studio, after all, and is geared toward that type of game.
Many people will say that it is indeed possible to make an FPS with AGS, but it will never look the same as one done by an engine dedicated to that type of game.
==Using only left and right walking loops with all directions==
''How can I make it so that my character only uses the left and right walking views, even while walking vertically?''
Thankfully, AGS now supports this. Simply delete all the frames in Loop 0 of your walking view and use only the LEFT and RIGHT walking views.
==Room limitations in AGS...and if they exist==
''Is there any limit to the number of rooms I can have in my reasonably long AGS game?''
Well, yes and no.
You can have up to 1,000 rooms in your AGS game, which is plenty for 99% of the games that could ever be made on Earth. However, any rooms numbered 301 or above will not have their states saved when the player leaves the room. In other words, if you return to room 334 it will be as if you entered it for the first time, every time.
However, this limit can be countered by using '''Global Int's''', our good friend. You can record the "'''Player Has Already Entered Room'''" flag with a Global Int, for use with the "'''first time player enters room'''" condition in the Interaction Editor.
Alternately, you could use '''strazer's''' [http://www.bigbluecup.com/yabb/index.php?topic=20650.0 OtherRoom Module] instead of coding it all by hand. I haven't personally used this module, so I can't comment on its effectiveness.
Why all the limits, you ask? Well, things like rooms and objects have to be set up as arrays and structs, and those must have a max size for the programming language to know how much memory should be assigned to them. With languages like C and VB you need to assign an array an initial value in order to first use them, and there's where those arbitrary limits come into play. Other than that, CJ could easily increase the limits on anything in AGS, if you simply ask him. He is Pumaman on the forums.
==Custom icon not working, doesn't appear as game's icon==
''My custom icon file won't appear as my game's icon? What am I doing wrong?''
Well, first off, make sure that you named your icon '''user.ico'''. Also, make sure that it is placed in your ''' ''game'' ''' folder, '''not''' your "compiled" folder.
Read the manual as well, AGS currently supports only 16 colour standard  Windows '''.ICO''' files.
Anonymous user

Navigation menu