Grid Sage Forums

Grid Sage Forums

  • May 17, 2024, 09:30:03 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - 0x41414141

Pages: [1]
1
Everything REXPaint / How to use rex_spite.js?
« on: April 11, 2018, 09:43:27 PM »
I'm a beginner with node.js, but I god I fucking hate it when developers include no example or comments in their code.

I'm trying to get this script to work, but it keeps throwing the error
"TypeError: Invalid non-string/buffer chunk"

Here is my code. test.xp is the xp file I want to display.
RexSprite(fs.createReadStream('test.xp'))

http://www.gridsagegames.com/blogs/files/rex_sprite.js

Pages: [1]