Jump to content
  • Advertisement
Sign in to follow this  
bionic_atom

C++ help load image, and use keyboard.

This topic is 1247 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, im just tryin to figure out how to load images onto the screen, (non dos mode/ non terminal mode) in C++ and use the keyboard. Any sites recommend is well appreciated. I've been trying to sample code off the net to see how they do it themselve's but im using Dev C++ from bloodshed.net and there is always an error when I compile it. Is there any solution to this?

Share this post


Link to post
Share on other sites
Advertisement
You want some kind of graphics API.

Try SDL, there is a devpack avaiable for it I think, but its an older version.

The reason the sample code doesn't compile is possibly because you don't yet know how to link to such graphics libraries, or you dont have them installed correctly.

If you have problems, post them here. Include all errors that the compiler gives you.

Share this post


Link to post
Share on other sites
Just one second which SDL package do I download? Could you give me the direct link.

I got the list of SDL Language Bindings, and under the C++ libraries only I got this list. I honestly don't know which to use, for I don't know what the documentation, and articles refer to, and don't know which one you want to recommend.

Amaltheia library - Amaltheia is an intuitive and simple 3D/2D game programming API that supports two backends, OpenGL and DirectX, in a platform independent manner
http://home.gna.org/amaltheia/
Contact: psybases gmail com
linux win32
work in progresswork in progress
License: GNU LGPL

CRM32Pro SDK - API built on top of SDL with everything you need to develop 2D games: tiles, sprites, fonts, special effects, sound, timer, network, log system, video playback, XML parser, etc. An useful resources editor, tutorials and a reference guide are included
http://www.megastormsystems.com
Contact: megastorm mi.madritel.es
linux win32
fully functionalfully functional
License: Freeware

DivGL - Is a 2D OpenGL hardware accelerated blitter, graphic loader, frame manager, a DIV like sprite system, and more utilities for creating video games. It works under SDL. It's portable, and easy to use (doc only in spanish)
http://sourceforge.net/projects/divgl
Contact: hiperbou hotmail.com
linux win32
ready for testingready for testing
License: GNU GPL

Easy Game Library - Library of C++ classes designed to provide easy development of games
http://easygamelib.sourceforge.net
Contact: vgrichina mail.ru
linux
work in progress
License: GNU LGPL

Eclipse - 2D game wrapper for SDL and FMOD covering image loading, zip files, audio loading, fonts and animated sprites
http://sourceforge.net/projects/eclipseeng/
Contact: spudder blueyonder.co.uk
linux win32
fully functionalfully functional
License: BSD-style

Fast Events - A fast thread based replacement for SDL event routines
http://gameprogrammer.com/game.html
Contact: bob pendleton.com
linux win32
fully functionalfully functional
License: GNU LGPL

GameBlade - GameBlade is a C++ Framework for SDL, SDL_image and SDL_mixer making game development even easier than it already is, without putting any restrictions on the complexity of the game
http://gameblade.sourceforge.net
Contact: nokturn32(at)poczta.onet.pl
linux win32
fully functionalready for testing
License: GNU GPL

LibKSD - a C++ game framework
http://libksd.sourceforge.net/
Contact: xevol users.sourceforge.net
linux win32
fully functionalready for testing
License: GNU LGPL

libwt - libwt - a, SDL Based, C++ widget toolkit
http://libwt.sourceforge.net/
Contact: vasvir2 fastmail.fm
linux
ready for testing
License: GNU LGPL

mxFont/mxSDL - A Font Editor to Use Windows fonts in SDL
http://lostsidedead.com/mxsdl
Contact: jaredbruni gmail.com
linux macosx freebsd
fully functionalfully functionalfully functional
License: GNU GPL

NET2 - A multi-threaded, event driven, network IO library for SDL.
http://gameprogrammer.com/game.html
Contact: bob pendleton.com
linux win32
fully functionalfully functional
License: GNU LGPL

oSDL - a C++ class framework for SDL
http://osdl.berlios.de/
Contact: segfault_ii web.de
linux win32
work in progresswork in progress
License: GNU LGPL

SDLmm - a C++ class-based wrapper for SDL
http://sdlmm.sourceforge.net/
Contact: david hedbor.org
linux win32
ready for testingready for testing
License: GNU LGPL

SDLPP - A C++ Wrapper API for SDL
http://www.rwsoft.ca/projects.html
Contact: ron rwsoft.ca
linux
fully functional
License: BSD-style

SDLucid - a C++ library wrapping and extending SDL
http://sdlucid.sourceforge.net/
Contact: ak ixion.net
linux win32
fully functionalready for testing
License: GNU LGPL

SDL_VKPToolkit - SDL_VKPToolkit aims to simplify and unify many different libraries of SDL to a group of codes,under some logic, so that game/application making will be easy to be done, with as few as possible code writting
http://groups.yahoo.com/group/SDL_VKPToolkit/
Contact: terablade2001 yahoo.gr
linux win32
ready for testingfully functional
License: GNU LGPL

spritelib - A crossplatform C++ object-oriented isometric arcade-game framework
http://burningsmell.org/crossfire/spritelib.html
Contact: tsm accesscomm.ca
linux win32 solaris wince
fully functionalfully functionalfully functionalwork in progress
License: GNU GPL

wGui - wGui is a simple, platform independent dialog manager library using SDL and FreeType2
http://wgui.sourceforge.net
Contact: rob-dev boxedchaos.com
linux win32
fully functionalfully functional
License: GNU LGPL

XLibrary - A kind of SDL wrapper that provides an OOP approach to SDL and developing in it, while providing a GUI
http://www.delphisanctuary.com/metacipher/xaero/
Contact: MetaCipher msn.com
linux win32
work in progresswork in progress
License: Unknown

that right there is the big list I generated for different API libraries.

Share this post


Link to post
Share on other sites

This topic is 1247 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!