view editor bug w/ empty loops

Started by superhoughton, Tue 24/08/2004 21:17:19

Previous topic - Next topic

superhoughton

hello,Ã,  I began with an empty game instead of the default game template. I have imported 4 sprites and have created 1 room with 1 walkable area. As of yet there are no mouse cursors. The 4 sprites are from a walk cycle, so I have put them into loop 0(down).Ã,  When I test the game with only loop 0(down) defined everything works fine. In preparation for more sprites I created 3 more loops (left, right, and up) but left them empty. I tested the game again and received the following error. After further experimenting, I found that if I clicked in a small area of the upper left portion of the screen, the character would attempt to move to that location, although the animation did not work properly. If I clicked anywhere else in the screen, the error message would ensue. I hope this is enough information.Ã,  I can certainly send in the game files if that would help.

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00421918 ; program pointer is +333, ACI version 2.61.747, gtags (0,138)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

Gilbert

Why would you leave the loops empty ? I think if you want them to work properly you must have at least 2 frames for each of the directions (one for stantding and other for walking, unless you're making those characters with only horizontal walking), if you didn't import the sprites yet, just put whatever thing (eg. the BLUECUP) into these frames as place holders.

superhoughton

That is a good point Gilbot. I can't think of any reason to leave them empty either.Ã,  I thought I would post this anyways in case the code that caused this crash might cause other crashes in the future that aren't as mundane.

Either way, it isn't holding me up. I'll just put in the place holders like you suggested and continue on my way.

Pumaman

Thanks for the report, I'll look into fixing the crash.

SMF spam blocked by CleanTalk