Results 1 to 9 of 9

Thread: Bare Game development walkthrough #2: Parallax and other sprites

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Based on your feedback I added code to demonstrate one way to make a loading screen. Use "git pull" and sprites will now shows download progress as it gets each assets from the Internet. If you already downloaded image and sound assets once, the loading screen won't display. To get it to display, delete the assets in the program's folder and run it again.

    If anyone wants bonus points, change the loading background color and draw a progress bar with Canvas and Pen.

  2. #2
    thanks , it works now , very nice graphics .
    about static linking , i download libsdl.a from http://libsdl.org/release/SDL2-devel-2.0.3-mingw.tar.gz , when i try to link it , fpc say " Error: Illegal COFF Magic while reading libsdl2.a"

  3. #3
    I'll get static linking working again someday. Also, if you want "git pull" again, I moved Internet loading and progress bar rendering to Bare.Example, then included its usage in the sprites example. The progress bar is drawn using Canvas.Path and Pen.

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
  •