Hello! I have tested AgateLib, but have some problems animating sprites. I don't know if I'm doing bad something, but my sprite is displayed without animation. The image named "player_stand.png" is an image with all frames inside. Here is the code. public static void Main (string[] args) if (setup.WasCanceled) DisplayWindow display=DisplayWindow.CreateWindowed("Hime no Chikara", 800, 600); while (!display.IsClosed) Display.EndFrame(); if (Keyboard.Keys[KeyCode.Escape]) The sprite does not animate, always appears a single frame indefinitely. I thought that line player1.AdvanceFrame() was necessary, but it present or not, the result is the same. What i'm doing bad? Any help will be appreciated. Thanks! |
|||
|
|
