Example

DIM example

1

Tinycloud778 2019-04-25 22:02

This is an example on how you can use DIM

Press “A” to create a house

Dim Example.nx | Open in app
2019-04-25 22:02

Timo 2019-04-26 06:28

You are creating arrays with only one element, so they are used like simple variables. I'll try to post a fixed version soon. In any case that reminds me that I still have to write the chapter about arrays for my tutorial! :O


Tinycloud778 2019-04-26 18:38

Ok thanks


Timo 2019-04-27 09:29

Here it is. Now it stores the positions for up to 64 sprites in the arrays BX and BY. When all are set, it starts from index 0 again.

Dim Example 1.1.nx | Open in app
2019-04-27 09:29

Log in to reply.