Jibble

Author Topic: DynamicSprite functions have no autocomplete in Room script  (Read 511 times)

Monsieur OUXX

  • Mittens Vassal
  • Cavefish
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
    • Monsieur OUXX worked on one or more games that won an AGS Award!
    •  
    • Monsieur OUXX worked on one or more games that was nominated for an AGS Award!
That's something that has been bugging me for many versions of the Editor :

1) Go to your global script
2) Write this :
Code: Adventure Game Studio
  1. DynamicSprite* s = DynamicSprite.Create(1,1);
  2. DrawingSurface* ds = s.GetDrawingSurface
  3.  
3)
- What you observe (good) : the word "GetDrawingSurface" to be suggested as autocomplete when you start typing it

4) Now, repeat the exact same steps in a ROOM script :
- What you expect (good) : the word "GetDrawingSurface" to be suggested as autocomplete when you start typing it
- What you observe (bad) : the word "GetDrawingSurface" is not suggested

If I'm not mistaken, none of the DynamicSprite functions get their autocomplete in Room scripts


I'm using the latest version (I think it's 3.5.0.24 or something).
This issue has existed probably since 3.4.x

« Last Edit: 10 Feb 2021, 09:12 by Monsieur OUXX »
 

eri0o

Haven't checked... But, you need at least 3 characters before autocomplete kicks in on its own. Otherwise, Ctrl+Space invokes autocomplete.

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Room scripts are weird.

Anyway, I think this should be posted in the github issue tracker if it's actually reproducible.

Monsieur OUXX

  • Mittens Vassal
  • Cavefish
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
    • Monsieur OUXX worked on one or more games that won an AGS Award!
    •  
    • Monsieur OUXX worked on one or more games that was nominated for an AGS Award!
Haven't checked... But, you need at least 3 characters before autocomplete kicks in on its own. Otherwise, Ctrl+Space invokes autocomplete.

You should check, you will see that this case is quite unique.