Jump to content




Question on the Paintutils API.


  • You cannot reply to this topic
3 replies to this topic

#1 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 15 March 2014 - 03:40 PM

Hai, I was making a background for something, and paintutils.loadImage won't return anything, nor will it load my image. I looked on the Wiki and all it said is this.

So I guess what I'm asking for is... Why isn't it loading my image?

The code I experimented with:
Spoiler


#2 CometWolf

  • Members
  • 1,283 posts

Posted 15 March 2014 - 03:50 PM

Putting a function in your own non returning function, will obviously result in it not returning a value...

#3 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 15 March 2014 - 03:57 PM

Also, you do understand that paintutils.loadImage just loads it (returns it loaded into a table) and doesn't draw it? You have to use paintutils.drawImage to draw it.

View PostLeGoldFish, on 15 March 2014 - 03:40 PM, said:

I looked on the Wiki and all it said is this.

Are you serious?


EDIT: I don't even know why I did that... [facepalm]MKlegoman357[/facepalm] Sorry about that LeGoldFish

Edited by MKlegoman357, 15 March 2014 - 04:11 PM.


#4 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 15 March 2014 - 03:58 PM

Oh. I do feel dumb. Thanks guys.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users