Why does nobody told me, that following code:
- Code: Select all
Method Compare:Int(withObject:Object)
Local l_hObject:TObject = TObject(withObject)
Return (Self.Y - l_hObject.Y)
End Method
is also used for identifying objects!!!
I thought that it is just used for sorting the objects and not for differentiating them!
This:
- Code: Select all
lObjects.Remove(tmpObject)
suddenly deleted 2 or 3 objects on the same coordinates (sometimes the player itself :) )
It took me 4 days (!) to find this strange implementation, which Mark Sibly has done. I always thought, that the address is the identifier...
Day 8:Particle EngineI implemented a small and easy to use particle engine. For now it is just used for creating blood if you hit an enemy with your weapon. Hopefully later it'll find usage everywhere in the game. In my opinion particles improve the looking of a game enormously :)
Fighting mechanicsNext I sensitized the fighting mechanics and tried to find and get a good feeling. But well, it is always impossible for the programmer to make a perfect control ;)
If you want, you can download the game and give me some hints, what I can make better.
Attention!!!: It has 11 MB and you can just fight against enemies which cannot attack you. Decide for yourself if it is worth ;)
I would be happy if you download it... obviously, hahaha
Download