Actor/Images limit?

JlmCJlmC Member Posts: 129
edited November -1 in Working with GS (Mac)
Well, i added 4 more images to my game, and now i can not even play it. All i see is a black screen. However, if i delete those images, i can play it normally.

Any helps?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Hmm there should be no limit. is the actor a background or something and maybe you have its color set to black and placing it on top of the layer instead of behind it?
  • JlmCJlmC Member Posts: 129
    No, no. I worked before. There is a memory limit?

    I think my game its using around 155mb
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Oh geez yeah you are way over.
    Someone post about a program called imageoptim or something like that to compress you png's.

    I'll see if I can find the post it was just near the top.
  • DreamLabDreamLab Member Posts: 2,127
    holy crap, way to much memory. yah I use image optim.

    here it is.
    http://imageoptim.pornel.net/
    DL
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Thanks DreamLab
  • JlmCJlmC Member Posts: 129
    How can i consume 155mb?
    When i spawn an actor, the other get delete Automatically
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    spawning and deleting eat up performance pretty quick. can you post a screenshot of the ram breakdown when you're playing it? maybe a youtube video of it in action?
  • JlmCJlmC Member Posts: 129
    I cropped the images. I got better performace, but its in 136mb.

    http://likeimg.com/images/screenshot20110215at.png
  • DreamLabDreamLab Member Posts: 2,127
    There is still WAAYYYY too much memory going into images. make sure when you save them, you save in 72ppi
    DL
  • JlmCJlmC Member Posts: 129
    already 72ppi
  • JlmCJlmC Member Posts: 129
    Sorry Double-post. I didnt want to.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    what exactly are you doing with all those images?
  • JlmCJlmC Member Posts: 129
    Its an Character Editor. Adding and removing images like hats, colors, eyes, etc.
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Instead of spawning and destroying, you could try just changing images of actors e.g. change 1 hat to look like another hat instead of spawning another hat. Just what I would do.

    Asymptoteell
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Double Post haiku
    I just made a double post
    now I'm editing
  • JlmCJlmC Member Posts: 129
    I think im going to start from 0 again.

    :D, thanks for the help
Sign In or Register to comment.