プレイ日記
Guzzler nancyjohnson
It gives me the error, "OUT OF MEMORY 0:7" I'm trying to use arrays.
2そうだね
プレイ済み
返信[1]
親投稿
Kl'Dck Hul HissingToaster
You're creating multi-dimensional arrays, rather than array literals! SmileBasic doesn't support creating arrays like: ["things", "in", "array"] What you're doing is effectively creating an array of arrays of arrays of floats.
2そうだね
プレイ済み
返信[2]
親投稿
Kl'Dck Hul HissingToaster
Maybe try something like this. Im curious what are you are trying to accomplish. These look like SPDEF values; which should probably be stored in SPDEFs...
0そうだね
プレイ済み
返信[3]
親投稿
kouyama1435 kouyama1435
運営者により削除されました。 コメントのID : 3DB-NBL7-BXM-ZM99-FXV-4BAN
返信[4]
親投稿
Guzzler nancyjohnson
Thank you, Kl'Dck Hul! I'll be using this. But that means re-typing everything... That's just how programming works, I guess.
0そうだね
プレイ済み
返信[5]
親投稿
Guzzler nancyjohnson
I forgot to add that I made a playing card sprite sheet. These are the SPDEF values. I want to make solitare. I might just end up using N#(IAmAPerson's precompiler, "NOSSREC"). The file for the sprites will be on smilebasicsource.com.
0そうだね
プレイ済み
返信[6]
親投稿
Kl'Dck Hul HissingToaster
I'm curious why you would want to store these in an array, rather than just creating SPDEFs with the raw values. You can assign a name to each management number just like I did with arrays. Theres room for thousands of SPDEFs! (Also, use Lowerdash :P)
0そうだね
プレイ済み