Help me to make editor

Anything libgdx related goes here!

Help me to make editor

Postby dirtycode » Sun Nov 11, 2018 7:38 am

Hello
i want to make GameEngine editor like unity3d or unreal engine.i made about 10 games with LibGDX and i am programming java for 6 years.
i started Swing application and used LwjglCanvas and now i need your help to make it.please help me.

i saw Overlap2d but i think it has no good base (like unity or unreal).

my idea: i made a class that extends Sprite and then made List that when game desiner clicks on button , an item adds to my List and when game designer exports game , in initialize function , it loads list and draw

<> MY PROBLEMS <>
level1(must be solve first):
1) how to click on Sprite and move it?
2) how to attach script to Sprite?
3) how to get(return) mouse position(x and y) to Swing when i click on LwjglCanvas?

level2(for later):
1) how to make arrows around sprite to move sprite?
dirtycode
 
Posts: 2
Joined: Sun Nov 11, 2018 7:19 am

Re: Help me to make editor

Postby evilentity » Sun Nov 11, 2018 2:11 pm

You want to make libgdx game editor in swing?
Looking for a freelancer? PM me!
evilentity
 
Posts: 4555
Joined: Wed Aug 24, 2011 11:37 am

Re: Help me to make editor

Postby dirtycode » Sun Nov 11, 2018 9:56 pm

YES and i did it but it has not complete yet
my game engine has properties panel , viewport , scene view , outliner view and some tools
dirtycode
 
Posts: 2
Joined: Sun Nov 11, 2018 7:19 am

Re: Help me to make editor

Postby raeleus » Mon Nov 12, 2018 11:01 am

I'd suggest learning Scene2D.UI. It will make for a better editor and integrate better with your assets. You wouldn't have to worry about translating coordinates like you're asking about.

Moving a sprite around would seem trivial for someone who's made 10 games already. Is there something I'm missing?
Play Forward Gunner!
Create skins visually with Skin Composer.
raeleus
 
Posts: 426
Joined: Wed Aug 07, 2013 10:57 pm


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot] and 1 guest