Simple 2D Clown Space Invaders in Silverlight

I want to make a simple 2d game in Silverlight, but it seems that everything has changed since the last time I tried to make a game using the 13h graphics mode. Can someone let me know how you do it.

I just mean at a high level, focusing on Silverlight-specific aspects; not a common game design.

A fictional example might be: “The main game loop should not be a loop, use DispatchTimer instead. Use Canvas as the main drawing object; but understand that we are not trying to draw individual pixels — all your in-game objects must be represented by controls. Be sure to set UseHardwareFlag is true. Etc, etc.

+5
source share
1 answer

If you want to stick to programming mode 13, see WriteableBitmap .

Some very interesting demos here.

I managed to migrate Wolf3D (2 and a half D) to Silverlight in this way. I used the CompositionTarget.Rendering event

EDIT

I also found this , it is less than 13 mode and more according to your example.

+2
source

All Articles