Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: GUI C++ game World Editor based on SFML  (Read 4955 times)

0 Members and 1 Guest are viewing this topic.

Redee

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
GUI C++ game World Editor based on SFML
« on: November 30, 2014, 10:43:21 pm »
Sorry, I search few days but do not find no one.

My main goal > GUI C++ game World Editor based on SFML
> Where we can simply create all using only mouse and select what need to us
> When save world - GUI generate all enough source files (create and write data from memory)
> Then we add sources to solution and compile all stuff

Somebody advice me something if it is.
Thanks in advance.
« Last Edit: November 30, 2014, 10:45:16 pm by Redee »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11031
    • View Profile
    • development blog
    • Email
Re: GUI C++ game World Editor based on SFML
« Reply #1 on: November 30, 2014, 10:53:33 pm »
SFML is NOT a framework or game engine, it's a library. You're supposed to write your own stuff on top of it.

If you want something like that, then it has little to do with SFML, but you're in luck, because someone wrote such an editor and uses SFML under the hood: GDevelop
But it seems to create HTML5 games in the end and I don't think you can add your own C++ source or so.

Either you learn how to program your own stuff or you should look out for something like Unity or Unreal Engine 4 or Game Maker or any other framework.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Redee

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: GUI C++ game World Editor based on SFML
« Reply #2 on: November 30, 2014, 11:42:30 pm »
Interesting site.
I ask questions at other forums also.
Thank you, try find answers there later today, hope it some help in GUI generation source files.

Turbine

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: GUI C++ game World Editor based on SFML
« Reply #3 on: December 01, 2014, 12:56:25 am »
Thank you, try find answers there later today, hope it some help in GUI generation source files.

It doesn't help there's no such thing in the standards, nor SFML. Even finding a decent one suitable for games is very hard to come by.

By sticking to such a simple method to create games, they're not going to have anything exactly new or cutting edge. It sounds like you want to make a game without coding anything.

Gambit

  • Sr. Member
  • ****
  • Posts: 283
    • View Profile
Re: GUI C++ game World Editor based on SFML
« Reply #4 on: December 01, 2014, 04:55:55 am »
Thank you, try find answers there later today, hope it some help in GUI generation source files.

It doesn't help there's no such thing in the standards, nor SFML. Even finding a decent one suitable for games is very hard to come by.

By sticking to such a simple method to create games, they're not going to have anything exactly new or cutting edge. It sounds like you want to make a game without coding anything.

What do you mean by "standards"? If you are refering to the C++ standard, there is only 1, and like SFML, the idea is that they provide you with a vast array of tools to build your own things. Considering that they are dozens of GUI librarys for C++ and SFML, the only problem I can see is that people are ignoring them or they want someone to make one for them. Things like SFGUI or even the Windows Form widgets are suitable even for test programs or to begin with.

UglyIgloo

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: GUI C++ game World Editor based on SFML
« Reply #5 on: December 01, 2014, 10:03:27 pm »
What you'll want to do is either program your own parser or download an XML library for your base engine. After that, look into SFML mouse events. You can set your program to snap to a 32/32 grid if you know how to round numbers in C++.


Good luck!

Gambit

  • Sr. Member
  • ****
  • Posts: 283
    • View Profile
Re: GUI C++ game World Editor based on SFML
« Reply #6 on: December 02, 2014, 01:34:43 am »
XML isnt what everyone wants. Some people might JSON for their maps or something. You could even bind a script language to your game and use that for your maps if you want.

 

anything