Jump to content

Aaron Symons

  • Content Count

  • Joined

  • Last visited

Community Reputation

13 Good

About Aaron Symons

  • Rank
    Advanced Member
  • Birthday 03/20/1986

Profile Information

  • Gender
  • Location
    England, UK
  • Interests
    Game Development, 3D Modeling, Coding, and Music.

Recent Profile Visitors

2,698 profile views
  1. Thanks for sharing this Roland. I think I will have a play around with it.
  2. Hi thehankinator, That works like a charm! Can't believe it was so simple. Many thanks!
  3. Hi guys, I was wondering if anyone's ever used a custom icon for their application's window. If so, what steps did you take? I imagine I might have to fiddle with the main.cpp file and possibly derive a new window class from Leadwerks::Window to get things working. One thing that will make this tricky: I'm targeting Windows OS, but eventually supporting OSX and Linux. Many thanks
  4. Aaron Symons

    Game Mechanics Done.

    Some really nice mechanics there. They seem very smooth and unobtrusive. I also quite like the circular/target highlighter on the interactive objects. Good work!
  5. Hi guys, I understand this is a very old thread, but I think main.cpp may have changed since, and in the interest of keeping things updated... I've followed the answers to this question, but main.cpp uses argv and argc to do some setup prior to running the game. So, how would I go about setting up/adjusting the main.cpp? After making the changes suggested by @Roland, there are errors in main.cpp on lines: #44 #63 #66 ...where you can see the usage of argv and argc. I've attempted adding extra #ifdef and #ifndef checks for _DEBUG mode on these lines, and changing the code accordingly, but with no success. Any help and guidance would be greatly appreciated! Many thanks
  6. [i know this post could have been much better in explanation, but I'm tired and need sleep ] Okay guys, another update on implementing an animated image file (now A-PNG) in Leadwerks. It's pretty simple: implement the TinyImageLoader ! Use that library to read the APNG into a TIL::Image - by default it will give you image frame count - then, just use a Leadwerks::Texture to draw to the context, setting the texture's pixels to the appropriate TIL::Image frame's pixels based on a simple interval timer - using TIL to get the pixel data (and manually converting it to a char* before passing to the Leadwerks::Texture). There are a couple of good examples included with TinyImageLoader SDK. I just referenced the first example, and thought how I could create an actual Leadwerks::Texture from the information supplied to me by TinyImageLoader. I now have an Animated-PNG image that renders to the screen and auto-updates the frame based on a set interval. I was going to have the APNG class implement Leadwerks::Texture, but I don't feel like implementing the extra 30+ virtual methods right now! *sad face* That's all for now, as I feel it could be simple enough for others to implement - if not a good test of some basic C++ to C/C++1 implementation abilities. However, if anyone would like me to post a code example I will! Many thanks! 1 The original code was written in C and then rewritten in C++ for TinymageLoader, though some C-style syntax does still appear.
  7. I thought I'd update this thread, seeing as I said I would! During my research I came across issues with GIF licensing, and why the GNU - and others - pretty much refuse to even deal with GIF now. However, I came across Animated-PNG which is an extension to the PNG format developed by Mozilla! I think APNG is a viable substitute if we want to integrate animated images in Leadwerks. I have the APNG add-on for GIMP, and now I'm researching how to read the file's frames in C++ and draw them to the screen using OpenGL. I haven't come across much information yet, but I think it's worth the effort.
  8. In Leadwerks.h, I changed #include <OpenAL/al.h> #include <OpenAL/alc.h> to #include "al.h" #include "alc.h" and I have no more OpenAL related errors. However, I do have issues in Steamworks.h now. Line #85 to #93: STEAM_CALLBACK() is missing an explicit type, and its parameters are all undefined. Line #104: HHTMLBrowser is undefined. Line #214: return type of "uint32" instead of "uint32_t". There are many others as well. I'm guessing that I'm still missing other dependencies somewhere. EDIT: Line #13 in Mutex.h - pthread_mutex_t is undefined. Definitely still missing lots of dependencies!
  9. I think including that file solved some issues, but I still have same the error as stated before.
  10. Hi guys! I've created a new Project in the Solution which will be for one of my custom frameworks/libraries. My framework references the Leadwerks library and classes. I'm currently having difficulties setting up the project to compile, as I get this error: Error 1 error C1083: Cannot open include file: 'OpenAL/al.h': No such file or directory I've added the dependencies and path macros for this new Project, trying to mimic the setup of the Project in the generated Solution from Leadwerks. I'm not sure what I'm missing! Any advice and guidance would be greatly appreciated! Many thanks
  11. Aaron Symons


    What is the return value a measure of exactly
  12. Hi mbarhon, Thank you for the guidance. I'll try your suggestions when I have time and update the thread accordingly. Many thanks
  13. The more I work with C++, the more I love it. Shame on all you C++ haters! :P

    1. Show previous comments  4 more
    2. Dragonfreak


      Oooooh yes I totally wanna try that! Got the pro version yesterday ^^ combining c++ with lua is like dreams coming true <3 just have to figure out how hehe

    3. Josh


      tolua++ is how I do it.

    4. Dragonfreak


      Oh, have to check that out later!

  14. Your code basically follows the same flow I'm using, except I don't set the context color before clearing the context. Everything renders as needed now, but if you think I definitely should be setting the context color before clearing the context, we can explore and discuss further. Thanks!
  • Create New...