Can anyone explain this?

BlitzMax Forums/BlitzMax Programming/Can anyone explain this?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I know you've fixed the problem but this,
Local GameObjectList:TList = CreateList()
Which I assume you've changed to Global.
Make it a global field of TGameObject
Type TGameObject
        Global List:TList = CreateList()
	Field X:Int
	Field y:Int
	Field Speed:Int = 5
	Field Image:TImage
...
...
End Type
You dont need to change its name, but TGameObject.List makes more sence than TGameObject.GameObjectList. Then change all GameObjectList to TGameObject.List

This is just a sudjestion, but it seems right to me to stick the object list inside the object. Global are like fuctions they are concidered to belong to the type, rather than an indivigual instance.