Hey
I'm making a Mario game which will probably be the best looking on scratch if I finish it, though I have a problem and need your help. There are two ways I'm could make the game:
- The first is to use lists to control the locations and status' of the boxes and enemies. I think this is a bad idea as it will probably lag the game as it will be continusally (sorry spelling) checking lists.
- The second is to have one sprite for each box and enemy and just make it so they have their own scripting of their locations etc. This will be easier but will look bad as it will have so many sprites.
So bascially I need your view - which way is better or could you think of a better way. Which will cause the less lag and which will look better.
Thanks in advance,
Offline
Dan01 wrote:
Hey
I'm making a Mario game which will probably be the best looking on scratch if I finish it, though I have a problem and need your help. There are two ways I'm could make the game:
- The first is to use lists to control the locations and status' of the boxes and enemies. I think this is a bad idea as it will probably lag the game as it will be continusally (sorry spelling) checking lists.
- The second is to have one sprite for each box and enemy and just make it so they have their own scripting of their locations etc. This will be easier but will look bad as it will have so many sprites.
So bascially I need your view - which way is better or could you think of a better way. Which will cause the less lag and which will look better.
Thanks in advance,
Honestly, I usually choose neat methods like the list method over having an enormous amount of sprites. The sprites may end up causing just as much lag as the list, and as long as you do not have the list visible, the lag for the project shouldn't be to bad in presentation mode.
Offline
shadow_7283 wrote:
Honestly, I usually choose neat methods like the list method over having an enormous amount of sprites. The sprites may end up causing just as much lag as the list, and as long as you do not have the list visible, the lag for the project shouldn't be to bad in presentation mode.
Thanks for that! I'll bear it in mind.
Offline
I am with Shadow. The list will keep things alot neater, although it will probably be alot hard to program, I think it is your best bet.
Offline
i would have chosen many sprites seen as i can't do lists that well but ok
Offline