Jump to content
  • Advertisement

prh99

Member
  • Content Count

    632
  • Joined

  • Last visited

Community Reputation

520 Good

About prh99

  • Rank
    Advanced Member

Personal Information

  • Role
    Programmer
  • Interests
    Programming
  1. prh99

    SDL Image

    Under project options-> Directories -> Library Directories add the folder that contains the SDL image library. You'll have to the same thing for the header files but under the Include Directory tab. Should be no different than the steps you followed to use SDL assuming you got SDL to work before trying to add SDL Image. Then under Parameters in Project Properties in the Linker box add in order -lmingw32 -lSDL2main -lSDL2 -lSDL2_image Also, I am not family enough with Dev-C++ to know if using the add Library button means you don't have to set the search path. I am assuming SDL 2 if not change names accordingly.
  2. prh99

    Circular buffer usage

    I know they are used in LZMA and LZSS compression as way to create a sliding window for the algorithm and in various aspects of digital signal processing.
  3. At very least I would make a tool that convert formatted text files into the binary format, at least until you can write a proper editor. I don't know the specifics of your format but it shouldn't be too hard to write a tool that will take a say XML or JSON text file and do the conversion. There are parsers available like irrXML
  4. prh99

    writing program in c

    I will just add cplusplus.com's C library reference section may be useful as well.
  5. I've not use the Tiled editor, but generally you just break larger images up into tiles of the needed size, say 32 x 32, and use transparency and another tile layer so you don't have gaps. Of course you can also break the images up and fill in the unused portion of the tile with appropriate background manually, and if you use transparency this is a breeze with something like Photoshop or Gimp that uses layers. So you can easily break your 42x10 and 42x17 into two 32x32 tiles each (assuming you are using square tiles and not isometric or octagonal etc ones), yes it takes two tiles but it's a lot easier than dealing with a tile map who's tile sizes are not multiples of each other.
  6. They probably use tiling to avoid scaling. That said you can scale an image and still have it look decent, but their are limits and the further you go the more noticable it will be, interpolation algorithms like Lanczos resampling, bi-cubic filtering, and tri-linear filtering and others just help hide the effects.
  7. Sorry, scaling a raster image invariably leads to some loss of quality, there are algorithms that try to minimize it's appearance like bi cubic scaling. I am afraid there isn't a way to take an 2000px x 1500px down to 150 x 80 without significant loss. No, rotozooming, is just rotating an image while zoom in an out and will display the same problems of quality loss when zoomed far in or out.
  8. The mouse is in box MouseX() / 40 and MouseY() / 40 you'll have to add in the offset if your grid's start is something other than 0,0. You can can get the screen coordinates of the upper left hand corner of square the mouse is by multiplying the result of the previous operation by 40 the adding in any offset for where your grid begins. Hope that helps and I haven't completely misunderstood(4am here lol) You could also keep track of the box information in an array, storing the x,y of the upper left corner and check the mouse position against the array when needed, say a click.
  9. Since as Tom says this is likely an impossible undertaking for some one with out some knowledge of electrical engineering, why not compromise and use a pre-built board, that at least puts with in the realm of do able. As far as I can tell JAMMA is more about the standardized connector than the hardware on the board so you'd have a better shot at doing it if you're willing to use something like a Rasberry PI, Beaglebone, or even an FPGA board like the DE0-Nano. However if you insist on designing and building the board you have a very long and tedious road a head of you.
  10. You'd probably want to go with something like Unity or Unreal that still leave the considerable task of art and audio creation.
  11. prh99

    What language should I choose?

    If you want your game to run on iOS it means you need Objective C and an Apple developer account or a web app which probably means HTML 5 and Java script. Judging from your target platforms Unity as others said is probably the best choice as they support iOS, Android, and Websites.
  12. prh99

    Issues Setting up SDL for Dev C++ ver 5.1

    The only thing that comes to mind is are you trying to build a 64 bit application? SDL 1.2.14 as downloaded from libsdl.org is a 32 bit library, and as far as I know you can't link a 32 bit library directly to 64 bit application.
  13. prh99

    Issues Setting up SDL for Dev C++ ver 5.1

    Not applicable, since Dev-C++ was updated last month: http://orwellengine.blogspot.com/ I have no idea if 5.1 fixes the major issues, but the standard "don't use it" line needs to be updated. [/quote] That's because that's someones fork of Dev-C++, it's not the original. When you say you're using Dev-C++ people assume you're using 4.9.9.2 from Bloodshed.
  14. prh99

    Compressed sound, what format to use?

    Have you look at Ogg Vorbis from xiph.org
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!