rtkiii's Recent Forum Activity

  • Hey everyone,

    Been working on on Math Quest for a few months and this trivia game is far from a memory hog but I have issues with the game restarting itself from time to time on iOS. No issues at all on PC.

    Let me walk this back some...Originally my game was crashing on all iOS devices when it got to the intro of the game but worked fine on my PC. My estimated RAM in CS2 for the entire game was listed at 850MB or something like that. I discovered that some of my layouts were using showing 400-600MB of RAM in CS2. So I worked on getting all my layouts to be 170MB or under in CS2. Saved as file and opened in CS3 to export to iOS. With all the changes the estimated RAM for the entire game is down to around 350MB, i believe. This was a good learning experience for sure and I thought I had a grasp on things. :)

    Started testing again and found some layouts we still crashing(by crashing I mean the game would just restart itself). Referenced layouts in CS3 and the bigger ones that were roughly 170MB in CS2 were showing as 400+ MB in CS3. I am not sure why but I worked on getting those down in CS3 and exported again.

    Started testing again on iPhone X and it seems to work ok.

    Started tested again on iPad Air 2 and it crashed after one play-through.

    so this leads me to my questions.

    - Why is CS2 showing the RAM preview as when debugging a layout at 170MB but CS3 shows it at 400MB for the exact same layout?

    - Why is memory an issue if Apple sites show their RAM allowance is now 4GB, which I am not even glose too.

    - If multiple play-through can suck up the RAM is there a way to reset the RAM at the start of a new play-through?

    Thanks,

    Rich

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I was able to get this to work but I disabled the array all together and used a different approach. It required me doing the task 5 times in CS2 but in the end it works and that is all I care about. :) While doing this I did add an IDLE animation for each of the characters too...so thanks for the suggestion on that!

  • Your values are backwards. correct/asked

    Damnit! I looked at like 10 times and my brain said "Yes that is right."

    Maybe I should not be making a math game :)

    Thanks for helping me out.

  • Add extra brackets after round and after 100.

    round((x/y)*100)

    Thanks for the info but still gives incorrect data.

  • I used an array and stored them in there...but man I wonder if I should have just set a variable the whole time...LOL

  • Hello,

    I thought this would be pretty easy but alas...as always...i am wrong. :)

    I have variable for Correct and Practice_Questions_Asked

    I have Every tick to display the Text on screen

    For percentage I have the below info but the data comes out incorrect. If you do not miss it is fine...but as soon as you miss...nothing happens and stays 100 :)

    Thanks for any help,

    Rich

    Tagged:

  • The Run Once on the Stage = # does get the animation to do what I want. Which is great but the only way it works correctly has to have Line 3 located where it is in my original post, but then the player display does not change like it should.

    I have to have line 3 at line 9 to get my player to display correctly. But when I do this the animation just keeps running regardless of the Stop animation I have at startup

  • Are you missing a trigger once? Also disabling the loop? The animations are set to run every tick so they will play constantly, also the animations are set to loop so even if you did use a trigger once it would appear to be constantly walking.

    Animation Loop - I tried it both ways and it did not change anything. But I will set them all not to loop

  • Ok thanks for explaining the Stage = # commands. That makes sense.

    For now it was just going to be static until i can get the thing to work as hoped...so I thought if I did a "Stop Animation" on the object at startup of layout then once it called the "Stage = #" I would do start animation it would do the walk animation...but alas it doesnt :)

    I have not tried any recommendations yet as I am at work.

  • I paid for the artwork for the character sprites. The world map I used a D&D map creator site to create it. I think that turned out well :)

  • The every tick on Stage 2 was a test I tried but looks like I forgot to remove that and it does not do anything from what I can tell in that example.

    But I will give the "Run Once A try."

    The Array just determines the the character to display on screen as the player gets to choose their character on the layout previous. So this is what I came up with to display the character. There is only the one object, with the 5 character options that only have one animation..which is walking.

    I like the idea of an idle but I'd like to to get the walking to work first :)

  • Man....this is really hurting my head. I have come back to this problem off and on for months and everytime it just not make any sense why it is not working.

    I have an array that determines the player display along with an animation when you select your player at the beginning of the game. That works fine on the displaying of the main sprite...but the character is constantly walking. I have done about 30 different things and i cannot explain so I ewant to show you what I have and see if anything sticks out to this smart group of people. The set animation to array command is what I am using to allow your player you choose to be displayed on screen. That sprite as 5 different animations but each animation is one character doing a walk animation. This works great from the stand point of showing the player...but again always walking. I am trying to get it to not be walking at the start and then when something is triggered do the walk animation for X seconds as the sprite makes it's way along the path

    Tagged:

rtkiii's avatar

rtkiii

Member since 1 Dec, 2015

Twitter
rtkiii has 1 followers

Connect with rtkiii

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies