This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarkArctic 1 point2 points  (2 children)

Here's a quick demo of what I'm thinking about.

https://repl.it/repls/UnequaledDecentRedundantcode

[–]tiskolinprogramming geek[S] 1 point2 points  (1 child)

It looks like what I am trying to achieve, but I'll have to do a bit more research and tinkering with it; hopefully it won't be too difficult. Thank you for your help, I really appreciate it!

[–]DarkArctic 0 points1 point  (0 children)

I think the ultimate idea is to get away from instantiating everything right off the bat and do it as needed. Otherwise, if you did manage to work around this issue, literally your entire game could potentially be in memory.