Gdevelop: newIde 1.0 is a bad default value for frame duration, also duration should be set in the animation previewer

Created on 17 Dec 2018  路  8Comments  路  Source: 4ian/GDevelop

Describe the issue

Right now in the newIDE when you create a new animation, the default value for frames duration is 1.0
This results in an extremely slow default playback, which almost always the user will need to change to something like 0.02- 0.05

I suggest to change this value to 0.05 or something that is more likely to be used by default.
Having a better default should help make workflow smoother - taking one step less to set up each animation in most cases

The other thing is that when you want to set the playback speed, you also need to be able to preview it. It would make much more sense if the user is able to set it in the preview animation window. So another suggestion is to add that to the animation player :) I will make a pull on that part tonight.

Just the thoughts of an ex-animator here

Most helpful comment

Pull coming tonight - to address the second point in this issue :)
gd-setframerateinpreview
Changing the animation speed would this way take way less steps/clicks - as preview is shown upon value change and doesnt require several clicks.
I also made the input field lest wasteful vertically

the current workflow to adjust animation speed is

  1. change value
  2. click to open preview
  3. close preview to go back
  4. select input again to adjust value
  5. go back to step 2 to preview the change again

With my pull, you can still do the old way, but you can also do

  1. Open preview
  2. change value there and see changes immediately inside the preview
  3. close preview to apply new value

All 8 comments

I think so, do you know what that means?, yes, recompile libGD.js >:)

hehe yes. Come to think of it, the default value should be even lower!

0.05 or below

I've started adding an input field to change the time in the preview dialog - it's much more intuitive now- but need to sort out its css

Pull coming tonight - to address the second point in this issue :)
gd-setframerateinpreview
Changing the animation speed would this way take way less steps/clicks - as preview is shown upon value change and doesnt require several clicks.
I also made the input field lest wasteful vertically

the current workflow to adjust animation speed is

  1. change value
  2. click to open preview
  3. close preview to go back
  4. select input again to adjust value
  5. go back to step 2 to preview the change again

With my pull, you can still do the old way, but you can also do

  1. Open preview
  2. change value there and see changes immediately inside the preview
  3. close preview to apply new value

Wonderful!

pull here
https://github.com/4ian/GDevelop/pull/811

it only addresses the animation previewer. recompiling gdevelop.js is a bigger task for me - even for something as simple as changing a default value. Might try it later on if nobody has addressed it and there is an agreement that 1.0 is a bad default that likely nobody will use

ok this can be closed now :)
@4ian thank you for changing the default value as well as reviewing the changes

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Silver-Streak picture Silver-Streak  路  4Comments

BWPanda picture BWPanda  路  4Comments

Wend1go picture Wend1go  路  5Comments

blurymind picture blurymind  路  5Comments

PascalLadalle picture PascalLadalle  路  3Comments