Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Sora death sprites and RAM question

                  
   
  1. #11
    DCEmu Legend gunntims0103's Avatar
    Join Date
    May 2006
    Location
    Brentwood, NY
    Age
    34
    Posts
    2,976
    Rep Power
    112

    Default

    Quote Originally Posted by Buddy4point0 View Post
    ok do you guys still have this problem?
    cause if you do there is an easy fix.

    it would go something like this

    function cleanup()
    image1 = nil
    image2 = nil
    image3 = nil
    collectcarbage()
    end

    ...

    cleanup()
    Thanks so much. I never knew about the cleanup function. Ill try to implament it as soon as i can.

    Thanks

  2. #12
    DCEmu Legend Buddy4point0's Avatar
    Join Date
    May 2006
    Location
    The Lounge Awesomeness: 1337
    Age
    33
    Posts
    4,026
    Rep Power
    139

    Default

    Quote Originally Posted by gunntims0103 View Post
    Thanks so much. I never knew about the cleanup function. Ill try to implament it as soon as i can.

    Thanks
    the collect garbage function is a defualt set function that unloads all the images that are set to nil.

    this sets the cleanup function so that your images you dont need are set to nil, then unloaded.
    and im glad i could help.
    if u need anymore help im pretty knolaglable because ive ran into most problems myself while codeing

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •