Ooops
April 03, 2020, 12:49:08 PM

Author Topic: JugiMap - 2d map editor  (Read 365 times)

Offline Jugival

  • Jr. Member
  • **
  • Posts: 4
JugiMap - 2d map editor
« on: December 19, 2019, 02:53:56 PM »
Long ago when I was starting to learn programming I made my first map editor in BlitzMax.
These days I am again working on a map editor. No longer in BlitzMax though, I am now using c++ with Qt framework.

The editor is called JugiMap and is being developed for Windows OS. Here are some screenshots:








Along the editor I am providing also JugiMap API which is a library for using maps from the editor in game engines.
The API is currently developed in c++ and through extensions supports these engines: Cocos2d-x, AGK tier 2, SFML and nCine.
In future I plan to port it to more languages and cover more engines.

For API development I am using a small application called API Demo Test.

Check it out here:  https://jugilus.github.io/Jugimap-ApiDemoTest/JugimapApiDemoTest.html

Here is a screenshot of this application with Cocos2d-x engine.



The source code for API Demo Test is included with the API.

One interesting thing about the API is that it offer engine independent interface and a consistent, generic way for initializing and updating game scenes.
In example, the bulk of code for API Demo Test is engine independent code and engine specific things are mostly done at initialization.
Of course direct access to engine objects is also possible - API Demo Test has an example of using sprites as physics objects in simulation (for engines which offer physics system).

 
JugiMap is currently available for Windows OS. You can get it here: http://jugimap.com
JugiMap API is on GitHub: https://github.com/Jugilus/jugimapAPI

 


Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 701
Re: JugiMap - 2d map editor
« Reply #1 on: December 20, 2019, 01:10:48 PM »
very very nice

Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 2301
  • elgol developer
Re: JugiMap - 2d map editor
« Reply #2 on: December 20, 2019, 01:15:05 PM »
Yep, it looks very professional.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
C64, Raspberry pi 3 and 4.

Offline Jugival

  • Jr. Member
  • **
  • Posts: 4
Re: JugiMap - 2d map editor
« Reply #3 on: March 13, 2020, 02:55:30 PM »
Hello fellow developers,

A new version of JugiMap is out. This is a smaller update but important as it fixes some serious bugs. Among the new things there is improved handling of parallax and screen maps and several other additions and tweaks.

JugiMap is currently available for Windows OS. Get it here: http://jugimap.com


I also made a new demo application called "Parallax Scrolling" which utilizes the parallax map features of JugiMap API. It comes with source code and editor map files.

Check it out here: https://jugilus.github.io/Jugimap-ParallaxScrolling/JugimapParallaxScrolling.html

Here is a screenshot with the background parallax map of the demo in the editor:


In future I plan to make more demo applications, covering various aspects of JugiMap API. 


Offline Derron

  • Hero Member
  • *****
  • Posts: 2818
Re: JugiMap - 2d map editor
« Reply #4 on: March 13, 2020, 03:13:51 PM »
Looks pretty sleek (editor) and the scrolling demo worked pretty smooth here. Good job so far.


Regarding Editor: the Windows looks like a Windows 10 theme - while the widgets have a "plastic" theming which looks a bit alien there. Reminds more of buttons coming from my Linux Mint's GTK theme.

the black background of the "panel sections" is a bit too "much" imho - and the grey text on it seems to have too low contrast to the background. Bright backgrounds might suit better to the windows-caption color.

As you use QT I assume it is just a matter of configuring everything to fit to the OS theme.


Edit: What I also want to remark is: in the scrolling demo you scroll around a "level" but as soon as it changes from horizontal to vertical movement ("end of the level") it does it very aprupt. Maybe it would look better if the direction change became "smooth" too. A straight movement could be "lerped" and using one of the known algoithms (of course not "bounce" or "cubic" then :D). Chained movements could take the "successor" into consideration. So on the last "end - x" pixels of the first movement it incorporates the position "x" of the next movement. That way on a "perfectly horizontal then vertical" movement chain it would do a "quarter circle" movement when transitioning between them

bye
Ron

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 931
Re: JugiMap - 2d map editor
« Reply #5 on: March 13, 2020, 03:42:23 PM »
Oh my lord Jugival, exceptional work 😎

Offline Jugival

  • Jr. Member
  • **
  • Posts: 4
Re: JugiMap - 2d map editor
« Reply #6 on: March 13, 2020, 04:11:00 PM »
@Derron
I am using custom title bars for docks in Qt. The default one for Qt were to big for my taste and waste of vertical space. That was something I did several years ago and use since then. Dunno maybe Qt got more flexible in that regard over time but I am content with what I have. If you look at the non-resized gui you will see that the title texts have enough contrast.

Yes, I guess I could polish the camera movement, haven't really considered that important for the purpose of this demo. I may update it...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal