Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK Visual Editor with sprite atlas.

Author
Message
Steve Ancell
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: Brighton, East Sussex, UK
Posted: 21st Mar 2018 10:37
I just downloaded the visual editor for AGK2. Is it possible to use sprite atlases (spritesheets) with this software?
Steve Ancell
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: Brighton, East Sussex, UK
Posted: 21st Mar 2018 10:39
What I should really be asking is if the atlas can be cut up inside of the editor, instead of having to tediously cut bits out manually and saving them out as indiviual images.
Steve Ancell
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: Brighton, East Sussex, UK
Posted: 21st Mar 2018 11:41
It's OK now, I've just worked it out.
LineOf7s
7
Years of Service
User Offline
Joined: 12th Jun 2017
Location: Brisbane, Australia
Posted: 22nd Mar 2018 00:30
For those of us playing along at home, would you care to share what you discovered?
edler
6
Years of Service
User Offline
Joined: 11th Jan 2018
Location:
Posted: 28th Apr 2018 11:01 Edited at: 28th Apr 2018 11:06
The atlas image and its txt recurse have to be in a folder. And then in visual editor select that folder.

more things.
-Visualeditor_playanimation function dont works.

-it is possible to work with virtual pixels in visual editor?
--
edler

AppGameKit forum in Spanish, yet!
Orvillian
TGC Developer
8
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 1st May 2018 08:27
You can also right click on an image in the media tab and select Create Sprite Sheet to build an atlas.

You may want to check the parameters to VisualEditor_PlayAnimation. It could be the speed, loop mode, start and end frames need to be altered.

When you say about working with pixels what exactly do you mean by this?
edler
6
Years of Service
User Offline
Joined: 11th Jan 2018
Location:
Posted: 1st May 2018 13:47
I want to say percentual pixels sorry. If its posible to work in visual editor and percentual pixels.

The function visualeditor_playanimation only have two enter variables (namesprite,animation)
--
edler

AppGameKit forum in Spanish, yet!
Orvillian
TGC Developer
8
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 2nd May 2018 08:45
In a future version I can adjust it so you can easily switch between percentage and virtual resolutions. Will be better if you can control that based on your own preferences.

Can you add a message box or print statement showing the parameters that get passed into PlaySprite within VisualEditor_PlayAnimation? May help to realise why things aren't working.
edler
6
Years of Service
User Offline
Joined: 11th Jan 2018
Location:
Posted: 2nd May 2018 09:04
in visual editor..
1-i create a spritesheet
2-create two anims called "walking" and "running". leave "defaul" to stop sprite and initial frame.
in agk..
3-then before loop add visualeditor_playanimation("sprite1","running")

but dont works. althougth the original command playsprite() works perfectly.
--
edler

AppGameKit forum in Spanish, yet!
Orvillian
TGC Developer
8
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 2nd May 2018 11:34
Please email me your project so I can test it here - orvillian@googlemail.com
edler
6
Years of Service
User Offline
Joined: 11th Jan 2018
Location:
Posted: 2nd May 2018 12:25
Upload from here.

Now works but mix frames. look it. ("ve_animation.rar")

Sometimes don't works - in other proyects that i have loose, sorry.

And "ve_013.rar" don't loads in visual editor.

THANKS!!
--
edler

AppGameKit forum in Spanish, yet!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 20:05:57
Your offset time is: 2024-11-23 20:05:57