Rendering stuff
Displaying 1-5 of 5 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
ChaliShank

I am having a lot of trouble getting animations to display with EntityMove. I try to display more than one special frame in sequence, and the log file only keeps track of it ever having displayed one frame (like only frame 10, for example), even if EntityMove contains 10 or 11 different frames, with or without a W wait command in the movestring. It could be the way in which I am using ProcessEntities, but I'm not too sure.

Also, the logical rendering process goes (Render everything to screen buffer) then finally use ShowPage, right? For some reason I can only get everything to display correctly if I showpage then Render. Either I am confused about how each function works or there is something seriously wrong with my program.

Any help would be greatly appreciated.

-------------------------------------------------------
"Why, cruel fate? Why do you mock me????"
-Me



Posted on 2002-02-20 19:39:53

Mythril

I programmed an entire mock battle with specframes. ;)
You can study my code in that demo (although it could be a bit confusing, since the code isn't very clean ^^;):
http://home.no.net/mythril/filer/mbattle.exe



Spoon.

Posted on 2002-02-21 02:17:58

Omni

try calling ProcessEntities(), then Render(), then ShowPage();.

When you call Render(), it basically redraws the screen, erasing everything except the map and VC-linked R layer. Showpage() blows everything to screen. If you want your code to stay up, don't call Render. But then, people are going to notice that your maps and entities stop working, because Render() is what draws those to video memory.

Of course, I could be wrong, but I doubt it.



Posted on 2002-02-21 05:58:30

ChaliShank

This



Posted on 2002-02-21 15:16:16

ChaliShank

Pressed Enter accidentally. Anyways, I am going to use entity.specframe with a manual timer, as my other options seem limited. Thanks to Mythril for that. Also, thanks for your clarification of the rendering commands Omni. See you guys around, I'm sure I'll have more questions.

-------------------------------------------------------"Always look on the bright side of life." -MP and Krue.



Posted on 2002-02-21 15:19:33


Displaying 1-5 of 5 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.