Points Extension

Justin

  • *
  • Posts: 4716
Here's a simple little extension as a Christmas gift.

https://dl.dropboxusercontent.com/u/9458929/Extensions/Points%20Extension.rar

It lets you place points on an actor, which then can be accessed in-game. No need to open an image editor and find and remember pixel offsets.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

getgoguy

  • Posts: 6
Hmm I get this error when importing/testing the example. Using build 7994

Unexpected problem on thread AWT-EventQueue-0: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:72)
   at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:66)
   at javax.swing.SwingWorker$5.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
   at sun.swing.AccumulativeRunnable.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
   at javax.swing.Timer.fireActionPerformed(Unknown Source)
   at javax.swing.Timer$DoPostEvent.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
   at stencyl.ext.polydes.datastruct.Main.onGameSave(Main.java:149)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:56)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:16)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


captaincomic

  • *
  • Posts: 6108
That's coming from the Data Structures extension and can probably be fixed by getting the latest version of it:
http://community.stencyl.com/index.php/topic,37292.msg210870.html#msg210870

Demkamen

  • Posts: 124
very useful extension, but doesnot work on last versions stencyls, Can you update it?