Search results

  1. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I do apologize. I realized FF LNS wasn't a good go_by and I actually took you guys advice not to use FF LNS as the go_by and decided to make my own game by learning as much as I can from this forum. I have no intention to ignore you guys advice as you guys have so many years of experience...
  2. Bruce

    Set player position in select screen

    Ahh, I totally forgot about the NULL() for X and Y! thank you I've tried the to change the z axis for the screen animations and the character selection sprite in the updated.c, but the characters were still always in front of everything. I am still trying to understand the difference between...
  3. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    Further investigation: I've found out that the sprites that I had for Dante's super1 and super 2 were one of the reasons that caused the memory overload. I captured these sprites from the UVC3, and they already had the black background on them, and I can not remove this black background because...
  4. Bruce

    Set player position in select screen

    Is there a function that I can set the z position (toward the screen or further away from the screen)? Right now I am trying to make the character appearing behind the character selection image, but I can't seem to find the function/script on the manual. Yes, I know I can set it up with the...
  5. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I even followed the index conversion in Photoshop from DC here, which looks very promising and easy, but it is still not solving the memory overloading problem :-( I've been trying to do tests, including disable some functions/script to see if it would help. Sadly nothing helps. My updated.c...
  6. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    Here is the new updated.c This code can run 330+ times with only selection screen animation being used for the title, menu and selection screen before it freezes. After I added 2 more screen animations, it freezes very quickly... #include "data/scripts/common/constants.h" #include...
  7. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    Well, I just did the test with GIMP and PalApply2, it also crashed with the out of memory issue. I will post my new code and the video that I created and what I am trying to do shortly. Video track: resolution=1920*1080, display resolution=1920*1080, 30.00 frames/second Audio track...
  8. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    Sorry I do apologize for asking questions and I do very appreciate for those who have tried to help me. I wasn't trying to be an idiot. As far as index conversion, I did try to follow the exact step by step instructions that they had on this forum. If it was working fine for all the sprites I...
  9. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I created a title and menu video in Filmora myself and extracted the png files for the title and menu animations last night. They overloaded the memory very quickly. I think it may have to do with the way I converted them to indexed png files with the batch converter that I created myself in...
  10. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I removed the array lists, 2 sprites, and limited to 1 animation per screen, and use localvar instead of globalvar. Now it can run 357 times before it freezes. I guess I am happy with it for now. However, I still would like to understand why the it overloads the memory overtime with the array...
  11. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I disabled them and fixed the array(x), and it's alot better now, but it eventually overloads the memory regardless. something is leaking the memory, maybe the screen animations? But still if I spawn the screen animations and destroy them with killentity then free them from the globalvar or...
  12. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    I will try that. lol I need to work on better abbreviations then. Not yet because I am not home until later tonight. Haven't said that, I think I've found part of the problem in the SetupArrayLists() function. Take a look at the comments where I wrote all caps below. I added more items to the...
  13. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    So after you unload them, then load them again with these? setglobalvar("borders", loadsprite("data/sprites/borders.png")); setglobalvar("charHud", loadsprite("data/sprites/charhud.png")); That's what I was trying to do, but with an array instead. Maybe I didn't setup or free the array...
  14. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    If you take a look at the function ClearGlobalArrays(), there are free() function inside. I know it's not a good naming, so I'll rename it. If I understand it correctly, if I don't unload the sprites and everytime I use drawsprite(), it would add more memory. Basically, it adds 50 times more...
  15. Bruce

    Out of Memory - Title, Menu, & Character Selection Screens

    Hello everyone, I've posted my question regarding to this issue in another topic, but I think it is better for me to create a topic and post all my code. I started learning how to add backgrounds and animations with arraylist to the title, menu, and character selection screens. If I just start...
  16. Bruce

    Help reduce memory usage

    Yes, there is counter to make sure the animation only triggers once and continues looping. I have found that I have functions ClearGlobalvarArrays(); InitializeGlobalArrays(); If I remove these two functions off the in character selection screen, then it can run 40-50 times more. Somehow these 2...
  17. Bruce

    Help reduce memory usage

    I am having issues with out of memory. I am learning how to add animation backgrounds to the title and character selection screens. When I start game, there is no issue, but if I loop the title screen then char selection screen back and forth for like 20 times, then it runs out of memory. I...
  18. Bruce

    Solved How to setup #define values the right way?

    I am seeing a bunch of go_bys using them, and I like these shortcuts because of less messy in the coding. However, your advises are priceless, so I will remove all these defines of my game. Since you have not mentioned or explained which method is better, I assume, all methods are the same as...
  19. Bruce

    Solved How to setup #define values the right way?

    Hello everyone, I am seeing different methods to set it up from go_bys, and I always have questions about them in my mind. I do know they all work, but it's best for me to learn the right way at the beginning rather than copy and paste the code. Therefore, I have 4 methods below, can someone...
Back
Top Bottom