thatoneguy
@thatoneguy
New Member
Joined: Feb 14, 2024
Topics: 77 / Replies: 395
Topic
17 years ago
Forum
Replies: 4
Views: 10
Reply
RE: CustomAttribute Array?

Also don’t forget there are User Defined Properties. Edit: Nevermind… go ahead and forget User Properties. They don’t have arrays at all

17 years ago
Forum
Reply
RE: CustomAttribute Array?

It can hold just about anything if you save it as a string.

17 years ago
Forum
Reply
RE: Throw an error on missing Start up Script

I would recommend against the filesize method. I used it extensively in a script and it failed on occasion to identify that a file didn’t exist.

17 years ago
Forum
Reply
RE: Browse Directory Button

All of the function names for getting and returning folder/file names are really wonky: Getmaxfilesavefilenamefromfileofsavemaxfilename() The three…

17 years ago
Forum
Topic
17 years ago
Forum
Replies: 0
Views: 12
Reply
RE: how to write the code for creating the human in the box randomly.

pos:[x,y] is for when you’re executing a function or defining a struct. example: struct human (pos) bob = human pos:[5,5] or in the case of a fu…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

Well here is what I have now. Still just using scene cubes as a quick and dirty way to drive the BoxShapes array. It’ll be replaced with more speciali…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

Interesting. So when I do: Canvas.bitmap = CompositeBitmap should I be doing copy Canvas.Bitmap CompositeBitmap as well? So that the assignment of…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

But GC() causes a pretty big performance hit. I tried executing a GC() on each tick but that caused some serious problems and slowed it wayyyy down. …

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

It kind of does but if you do bitmapOne = bitmap 16 16 BitmapTwo = copy bitmapOne setpixels bitmapTwo [1,2] #(black) bitmapOne = undefined Shouldn’t…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

Ahhhhhhh so just treat bitmaps as if they were nodes. They still exist beyond the variable they’re associated with got it. Just like if you said ne…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

I got it mostly working… but have been unsucessful in tracking down the memory leak through trial and error. I thought it might be at first because …

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

Oops I accidentally hit Edit instead of “reply” to my previous comment. See above. Is there like a V-Sync or equivalent step I’m missing? Edit: I jus…

17 years ago
Forum
Reply
RE: Best way to Draw Boxes in Rollout?

try(destroyDialog BoxDrawing)Catch() global BoxDrawing global BoxShapes = #() ( struct BoxShape (pos,width,height,border,bordercolor,bgcolor,active,f…

17 years ago
Forum
Page 19 / 32