mOOnpunk's Recent Forum Activity

  • I do a lot of simulation stuff.

    I made myself a fuzzy logic plugin but found it was too hard to calibrate, so i took it a step further and turned it into an adaptive neuro-fuzzy inference system.

    It's fuzzy logic but the difference is you set a number of steps, it then runs the fuzzy data set, then it takes the results and feeds them back into the fuzzy sets on the next step to auto tune or calibrate itself.

    It worked but the plugin was never finished to a releasable state.

    EDIT> just reread the original post, this probably is not relevant to what you need.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I see what you mean, but to be fair it literally and clearly explains it at the top.

  • So people pay you to make the plugins, then they have to subscribe to your service to use them?

  • Try pressing f12 when the message pops up, the console may have logged the error.

  • I guess you have to let the bots on the site if you want ai to be knowledgeable about construct. At the moment their knowledge is still very hit and miss.

  • chatGTP bot probably someone asked chat gtp a question about construct and its looking for the answer.

  • // SDK v1

    let myinstance = this._inst.GetWorldInfo();

    myinstance.SetXY(x, y);

    // SDK v2

    // Access the position property directly or use the methods provided

    this.x = x;

    this.y = y;

    this.setBboxChanged();

    This returns a runtime error, function not found.

  • what is the correct way to update the bounding box in sdk v2?

    At runtime.

    i use a red rectangle to compute the bounds and need the bounding box to get its shape and position from it, but it wont update.

    Thanks.

  • Thanks i will take another look.

  • Thanks.

    I tried console.log(this)...

    instance.js:127 [Polygon] DrawingInstance: this: DrawingInstance bounds: {minX: -50, maxX: 50, minY: -50, maxY: 50, width: 100, …} collisionMode: "0" moved: (6) [408, 119, 458, 219, 358, 219] points: (6) [0, -50, 50, 50, -50, 50] rotatedBounds: {minX: 0, maxX: 0, minY: 0, maxY: 0, width: 0, …} updateBbox: true #t: C3.WorldInfo _x: 408 _y: 169 _w: 100 _h: 100 _ox: 0.5 _oy: 0.5 _boundingBox: C3.Rect {_left: 358, _top: 119, _right: 458, _bottom: 219} _inst: C3.Instance runtime: self.IRuntime [[Prototype]]: self.ISDKWorldInstanceBase

    The #t: C3.WorldInfo object exists, but the instance isn’t linked to it via GetWorldInfo().

    The plugin executes

    plugin.js:1 [Polygon] plugin.js: Loading plugin.js type.js:1 [Polygon] type.js: Loading type.js instance.js:1 [Polygon] instance.js: Loading instance.js conditions.js:1 [Polygon] conditions.js: Loading conditions.js main.js:1 [Polygon] main.js: Loading main.js main.js:17 [Polygon] main.js: All plugin scripts imported.

    globalThis.SDK is undefined, but globalThis.ISDKPluginBase, globalThis.ISDKObjectTypeBase, and globalThis.ISDKWorldInstanceBase are available.

    main.js:4 [Polygon] main.js: SDK namespace: undefined plugin.js:5 [Polygon] plugin.js: SDK namespace: undefined plugin.js:6 [Polygon] plugin.js: ISDKPluginBase available: true type.js:5 [Polygon] type.js: SDK namespace: undefined type.js:6 [Polygon] type.js: ISDKObjectTypeBase available: true

    DrawingInstance lacks the GetWorldInfo() method required for IWorldInstance.

    instance.js:126 [Polygon] DrawingInstance: Constructor called instance.js:127 [Polygon] DrawingInstance: this: DrawingInstance instance.js:130 [Polygon] DrawingInstance: GetWorldInfo exists: false instance.js:134 [Polygon] DrawingInstance: this properties: ["runtime", "objectType", "plugin", "effects"] instance.js:145 [Polygon] DrawingInstance: Could not assign GetWorldInfo, C3.Instance lacks method instance.js:174 [Polygon] DrawingInstance: WorldInfo after init: undefined instance.js:176 [Polygon] DrawingInstance: GetWorldInfo missing after init, instance may not be fully registered as IWorldInstance

    Overlapping fails

    conditions.js:23 [Polygon] IsOverlapping: this.GetWorldInfo() failed, this: DrawingInstance

    Ashley any guidance?

  • I'm stuck until this is resolved. Shame i think a lot of people would have liked this plugin.

  • i think rgba() use a range from 0-100, not 0-255.

mOOnpunk's avatar

mOOnpunk

Early Adopter

Member since 29 Mar, 2017

Twitter
mOOnpunk has 3 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies