GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
131 stars 53 forks source link

New extension: Newgrounds API #500

Closed planktonfun closed 2 years ago

planktonfun commented 2 years ago

Description

Allows developers to use Newgrounds API for their games.

Limitations: only supports browser games

How to use the extension

To use this extension the developer must fullfill these requirements

developer must have API keys (to get this you need to create a game in newgrounds first as a draft) create scoreboards and medals in newgrounds. after that you call the loadNewgroundsAPI action using API key at the beginning of the scene. (first loaded scene event doesnt work for some reason)

from there, the developer can use the following methods to manipulate scores and medals in newgrounds

Conditions:

Actions:

StringExpressions:

Checklist

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

newgrounds-api.zip

Extension file

NewgroundsAPI.zip

github-actions[bot] commented 2 years ago

πŸ‘‹ Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply πŸ˜”. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟢ ❌ [JavaScript disallowed properties]: Found disallowed properties in extension 'NewgroundsAPI':
{
  allowedProperties: [
    'makeUuid',           'rgbToHex',
    'rgbOrHexToRGBColor', 'rgbToHexNumber',
    'hexNumberToRGB',     'hexToRGBColor',
    'copyArray',          'staticArray',
    'staticArray2',       'staticObject',
    'toDegrees',          'toRad',
    'random',             'randomFloat',
    'randomFloatInRange', 'randomInRange',
    'randomWithStep',     'evtTools',
    'Variable',           'RuntimeObject',
    'Logger'
  ],
  disallowedProperty: '_newgrounds',
  objectName: 'gdjs'

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines πŸ™

github-actions[bot] commented 2 years ago

πŸ‘‹ Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply πŸ˜”. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟢ ❌ [JavaScript disallowed properties]: Found disallowed properties in extension 'NewgroundsAPI':
{
  allowedProperties: [
    'makeUuid',           'rgbToHex',
    'rgbOrHexToRGBColor', 'rgbToHexNumber',
    'hexNumberToRGB',     'hexToRGBColor',
    'copyArray',          'staticArray',
    'staticArray2',       'staticObject',
    'toDegrees',          'toRad',
    'random',             'randomFloat',
    'randomFloatInRange', 'randomInRange',
    'randomWithStep',     'evtTools',
    'Variable',           'RuntimeObject',
    'Logger'
  ],
  disallowedProperty: '_newgrounds',
  objectName: 'gdjs'

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines πŸ™

github-actions[bot] commented 2 years ago

Hi @planktonfun! πŸ‘‹ This submission has passed all required tests, and has been moved to a PR as part of our submission pipeline. You can see the progress of your submission on this page. Community submissions are not reviewed by default, so your extension should be added once we've checked that your submission doesn't contain malicious code without further intervention on your part. If you wish for your extension to be reviewed (and thereby moved to the list of reviewed extensions), please follow the instructions written on the README. Thanks again for your contribution to GDevelop!