Results 1 to 8 of 8

Thread: Castle Game Engine 5.0.0 released

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Cybermonkey View Post
    Okay, I will try this a.s.a.p. but Firefox fullscreen works, SDL2 fullscreen works, only Castle Game Engine gives me an access violation.
    Ouh, it's an Access Violation? Then I'll have to try it myself ASAP. Can you try does compiling with -dCASTLE_WINDOW_XLIB helps? Also, what is the version of GTK 2 on Linux Mint 16 Cinnamon?

    Quote Originally Posted by Cybermonkey View Post
    For 2D I am looking for a simple tutorial how to load and display a sprite and moving it on the screen with the keyboard. Is it possible to load a sprite sheet and make an animation out of it with some built-in castle engine functions?
    There is no ready class for this, but you should be able to easily do it yourself Use TGLImage.Draw method that takes parameters ImageX, ImageY, ImageWidth, ImageHeight --- saying which part of the image to draw. You can wrap it in your own class to render a specific animation frame.

  2. #2
    Seems to be GTK 2.24.20-1ubuntu1, the same as on Ubuntu 13.10 I think.
    Okay, using -dCASTLE_WINDOW_XLIB works fine.
    Last edited by Cybermonkey; 05-05-2014 at 09:15 PM.
    Best regards,
    Cybermonkey

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •