Results 1 to 2 of 2

Thread: SDL Game Engine Integration into Qt Game Editor

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question SDL Game Engine Integration into Qt Game Editor

    Hello,

    I have a design problem about Qt+SDL and would be thankful for any help.

    Currently, I am developing a game using SDL, pushed its engine to alpha state, and like to create an editor with Qt next. As this is my first serious GUI project, and after poking around with some toolkits, I chose Qt, but are still confused how to tackle the design, and stuck with following problem:

    How to integrate the game engine into Qt and use it to edit game object (sprites, tiles, etc.)?

    The idea is to reduce/eliminate duplication, and have the same output when editing or playing.

    My approach would be something like this (if it's possible, but I don't know):
    • Game data is saved within an XML file.
    • The engine parses to renders the game.
    • The editor plays the game, and parses data to create editing objects around game objects (e.g. boxes to drag & drop sprites).
    • The game itself needs a player to start (still has to be written).

    Hope this rough description is detailed enough to be able to relate the problem.

    Your opinion about this problem & solution, as well as alternatives and references, will be a great help to me.

    Thanks for your patience
    Michael

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: SDL Game Engine Integration into Qt Game Editor

    There's some information available using google.
    The best site I've found is this: http://doc.qtfr.org/post/2007/02/21/Integration-de-SDL
    But it's in French.

Similar Threads

  1. Game Development
    By AlexanderPopov in forum General Discussion
    Replies: 6
    Last Post: 15th October 2011, 01:55
  2. Game Engine
    By kernco in forum Qt Programming
    Replies: 0
    Last Post: 26th February 2010, 03:14
  3. IQ Game
    By qtgears in forum Qt-based Software
    Replies: 0
    Last Post: 6th October 2009, 09:24
  4. Just for fun game
    By vermarajeev in forum Qt-based Software
    Replies: 6
    Last Post: 13th December 2007, 22:52
  5. Qt3 Memory game
    By rjk in forum Qt Programming
    Replies: 3
    Last Post: 6th December 2007, 22:05

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.