## Search found 416 matches

Mar 31, 2006 19:25
Forum: General
Replies: 16
Views: 3326
I see. Thanks guys! Much appreciated
Mar 31, 2006 18:47
Forum: General
Replies: 16
Views: 3326
so like this:

deallocate(Sprite[2])
deallocate(Sprite[1])
deallocate(Sprite[0])
deallocate(Sprite)
Mar 31, 2006 18:44
Forum: General
Replies: 16
Views: 3326
i index sprites in a linear array. which means if w * h + 4 = 260( IN 8 BIT ), then sprite0 goes at [0], sprite1 goes at [260], sprite3 goes at [520], etc. this method seems it can only allow one size of sprite. So it's good for tiles. The method you showed me can be used for sprites of different s...
Mar 31, 2006 18:39
Forum: General
Replies: 16
Views: 3326
Do I need to deallocate everything like this:

Code: Select all

` deallocate(Sprite) deallocate(Sprite[0]) deallocate(Sprite[1]) deallocate(Sprite[2])`

or can I simply do this:

Code: Select all

` deallocate(Sprite)`
Mar 31, 2006 17:36
Forum: General
Replies: 16
Views: 3326
I guess I'll post an example of how sprite indexing can be done using this method: DIM AS INTEGER PTR PTR Sprite N = 3 'Number of sprites Sprite = callocate(len(integer ptr) * N) ' W,H = dimentions of sprite.(Below is for 8-bit mode) Sprite[0] = callocate(len(integer&...
Mar 31, 2006 17:26
Forum: General
Replies: 16
Views: 3326
wow, thanks! This simplifies my sprite indexing a lot. I've incorporated it into my program and it works fine. Cheers
Mar 31, 2006 4:30
Forum: General
Replies: 16
Views: 3326

Let's say I have an array a(x, y). Is it possible so y can have a different number of elements for each x? For example:
a(0, 0 to 5)
a(1, 0 to 130)
a(2, 0 to 40)
...etc
Mar 31, 2006 3:11
Forum: General
Topic: using POINT within a buffer
Replies: 3
Views: 839
oh, i thought I tried that and it gave me compiler errors. I was looking in the FBIDE help, but it didn't specify that Point had any address attribute. I'll remember to check the wiki next time. Thanks
Mar 31, 2006 2:51
Forum: General
Topic: using POINT within a buffer
Replies: 3
Views: 839

### using POINT within a buffer

Is there any way to do this? It would be nice if I can specify a segment address like the other primitives.
Mar 30, 2006 21:49
Forum: General
Topic: assignment operator
Replies: 5
Views: 882
ahhhhhhhhhhh, thanks
Mar 30, 2006 21:23
Forum: General
Topic: assignment operator
Replies: 5
Views: 882

### assignment operator

is there no way of doing this like in C?:
a = b = 5
Mar 30, 2006 4:32
Forum: General
Topic: smooth graphics without interference...
Replies: 16
Views: 2830
That's the only way to run it, once it's compiled.
Mar 29, 2006 4:03
Forum: General
Replies: 21
Views: 2979
looks cool. You can simplify it by using the Line command instead of using all that data. In a loop, draw lines in a circular fashion where the position of the darker lines gets updated to scroll around. All this would be drawn at the mouse's coordinates.
Mar 29, 2006 3:09
Forum: General