21st Century Smalltalk

July 5, 2007

Silverlight Games – Test 1

Filed under: Browsers, Games, Silverlight — pfisk @ 8:33 pm

game1

Above is Smalltalk/DLR running in a browser with Silverlight 1.1.

Above is a simple game created in a few minutes using the Designer. To run it, open a Designer window and select:

  • Server->Load->game1.des
  • Prev->Engine->Run
  • Press the space bar to release “bombs”

At the bottom is a target sprite which has been given a timeline that starts at the left then moves to the right and which also is set to automatically reverse direction.

At the top is the attacker sprite which has been given a timeline that starts at the right then moves to the left and which also automatically reverses direction. This sprite is also designated as a “shooter” which means that it will release objects when a key is pressed.

There are still several details to be worked out:

  • collisions for compound objects aren’t defined yet, so the “bombs” pass right through the car
  • when “bombs” reach the floor, they should probably disappear or explode – for now, they bounce
  • there is no way yet of keeping score

The positive aspects of this game are:

  • it was totally created in the browser with no outside tools
  • instant deployment – as soon as it is saved on the server, anyone in the world with a Silverlight 1.1 enabled browser can play it

All of the game parameters are stored on the server in a JSON dictionary.

The next release of Silverlight 1.1 will likely support sockets, which means that browser-to-browser communcations will become possible. Then, by exchanging JSON-encoded data in a similar manner, we should be able to build realtime user-driven games or other types of applications.

50 Comments »

  1. With Firefox I have the problem, that I can’t see the contents of the launcher. And i can’t drop any bombs! :)
    See the website link to illustrate the problem.

    Comment by laza — July 6, 2007 @ 10:04 am

  2. Whcih should be http://www.blobworks.com/demo/silverlight/test.htm

    Comment by laza — July 6, 2007 @ 10:04 am

  3. I have changed the foreground color in the Launcher to blue (from black).

    Also, the Launcher now has a sizeable border – try resizing it if you still cannot see the content.

    – Peter

    Comment by pfisk — July 6, 2007 @ 2:23 pm

  4. Same link? Same problem…

    Comment by laza — July 7, 2007 @ 7:15 am

  5. the same problem…

    Comment by Ian Horowitz — July 9, 2007 @ 7:27 pm

  6. Hi,

    I also have the same problem: I can’t see the content of the launcher, the server and some other windows.
    The links are there: if I blind clik I have the action which is suppose to happen but I can’t see the “links” where I’ve clicked.

    I’ve tried first in Firefox. I’ve switched to IE 7 but have the same problem.
    I have the latest Silverlight plugin and I’m on Win XP SP2.

    The content of the Help window is visible so maybe it is just links which aren’t visible.

    What you’re doing seems really interesting, If you have any suggestion about the above problem problem it would be great. :)

    Comment by francois — July 13, 2007 @ 12:52 pm

  7. Hi Peter, I assume you are busy with the day job at the moment. However, I was just wondering when you thought you might have a Smalltalk version we could start playing with.

    Cheers
    AB

    Comment by Andy Burnett — July 23, 2007 @ 7:20 pm

  8. Andy,

    I am in the process of moving to Calgary, Alberta and I will have very little time available for the next couple of weeks.

    There are some problems with my control library (eg ListBox) on certain machines/browsers which I have been unable to correct so far. Microsoft will soon be releasing a new DLR with (AFIK) their own control library.

    Once they release the next Silverlight 1.1 (beta?), I will release a Smalltalk for it.

    Comment by pfisk — July 24, 2007 @ 1:18 pm

  9. Thanks Peter, good luck on the move, and I shall look forward to playing with the new version when Msoft release the code.

    Cheers
    AB

    Comment by Andy Burnett — July 24, 2007 @ 3:42 pm

  10. Hi,

    Just for information I can’t make your example work anymore since Microsoft move from alpha 1.1 to alapha 1.1 “Refresh” version friday(and you link to it).

    Maybe this could help:
    http://weblogs.asp.net/mschwarz/archive/2007/07/31/upgrading-your-project-to-silverlight-alpha-1-1-refresh.aspx

    All the best to you for your move to Calgary.

    francois

    Comment by francois — July 31, 2007 @ 11:17 am

  11. So….. Are you on vacation or something? I was quite surprised to see no new blog post since I was last here a couple of months ago. You were pretty regular until now.

    Comment by Jason — September 5, 2007 @ 4:13 am

  12. Oh…. moving. *blush*

    Comment by Jason — September 5, 2007 @ 4:14 am

  13. Any news?

    Comment by Mike — September 24, 2007 @ 9:25 pm

  14. CalmoSoft Project for Vista Smalltalk for Oct 05, 2007 :
    http://hsug.freeblog.hu/files/CalmoSoft_Project_842_20071005.zip

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — October 5, 2007 @ 12:47 pm

  15. sad, still no word about any potential news in a future time-frame (not even the quick adaptation to to alapha 1.1 “Refresh”) :(

    I guess this was just another “proof of concept” which are unfortunately so common in Squeak / Smalltalk. Just to show the world that it can be done (like WxSqueak for example) and then let it go.

    This “proof of concept” way of life is the main reason why I’ve quit Squeak/Smalltalk but I still would love to see Smalltalk go more mainstream and I thought this project through Silverlight had some potential to contribure(I guess I was wrong).

    Anyway, thanks for bringing this nice proof of concept :)

    francois

    Comment by francois — October 8, 2007 @ 12:30 pm

  16. Gal: Are you further developing the Vista Smalltalk engine? Your browsers are very impressive.

    Mike

    Comment by Mike — October 18, 2007 @ 7:00 pm

  17. Mike,
    I do hope that I can further develop the Vista Smalltalk but I do not know what you exactly mean by “engine”.
    I am only a contributor of Vista Smalltalk (as you can see at the botttom of main site).
    I develop games (CalmoPuzzle, SuePuzzle) and tools (PowerBrowser, MethodFinder, SystemBrowser, PowerWorkspace, PowerObjects).
    I was very happy to read that my browsers are very impressive.
    Should you have any suggestions or bug reports let me know about them.
    I will be very grateful to you.
    CalmoSoft Project for Vista Smalltalk [build 842] for Oct 09, 2007 you can download from here :

    http://hsug.freeblog.hu/files/CalmoSoft_Project_842_20071009_new.zip

    The latest versions can always be found and downloaded in the Downloads section.

    – Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by gzs — October 20, 2007 @ 12:49 pm

  18. CalmoSoft Project for Vista Smalltalk for Oct 23, 2007 :
    http://hsug.freeblog.hu/files/CalmoSoft_Project_842_20071023.zip

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — October 23, 2007 @ 5:10 pm

  19. Any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — November 2, 2007 @ 12:06 am

  20. Any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?

    REfatdsAny news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?

    Regards,
    – Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — November 13, 2007 @ 5:36 am

  21. are thre any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — November 16, 2007 @ 2:50 am

  22. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — November 16, 2007 @ 9:56 pm

  23. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 !!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — November 18, 2007 @ 9:09 am

  24. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 106 days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by CalmoSoft — November 19, 2007 @ 9:00 pm

  25. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 108 days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by comic — November 21, 2007 @ 1:20 am

  26. Excuse me I have an question :
    Vista Smalltalk maybe has same future as NetLisp 0.7 ?

    Comment by CalmoSoft — November 21, 2007 @ 1:53 am

  27. Excuse me I have a question :
    Vista Smalltalk maybe has same future as NetLisp 0.7 ?

    Comment by CalmoSoft — November 21, 2007 @ 1:53 am

  28. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 132days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — December 14, 2007 @ 8:20 am

  29. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 135 days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by CalmoSoft — December 17, 2007 @ 12:49 pm

  30. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 136 days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by Gal Zsolt — December 18, 2007 @ 1:51 pm

  31. Are there any news about Vista Smalltalk,
    final Silverlight 1.1 and Peter Fisk ?
    There is no any news since July 05, 2007 ( 139 days )!!!

    Gal Zsolt
    ( ~ CalmoSoft ~ )

    Comment by CalmoSoft — December 20, 2007 @ 9:57 am

  32. Weird silence don’t you think?
    Hope he’s ok.

    Comment by Mike — December 28, 2007 @ 10:04 pm

  33. I hope he’s ok too.

    Comment by CalmoSoft — December 29, 2007 @ 8:33 am

  34. I hope he is fine as well. Scary such a long silence…But maybe he was hired by Microsoft, got an NDA and is developing a MS-Smalltalk :-o

    In any case, I find his idea of Vista Smalltalk very fascinating. Does someone have an idea how to continue this work as an open source community project?

    Regards Thomas

    Comment by Thomas H. — January 10, 2008 @ 8:58 am

  35. Look at
    http://www.vistascript.net/vistascript/docuwiki/doku.php?id=contributors:calmosoft

    orat:
    wwww.hsug.freeblog.hu

    Gal Zsolt,
    ( CalmoSoft )

    Comment by CalmoSoft — January 23, 2008 @ 2:09 pm

  36. Hello Gal,

    that looks cool. But do you have the source of the VM?

    Greetings Thomas

    Comment by Thomas H. — January 31, 2008 @ 12:50 pm

  37. Hello Thomas,

    Sorry I have no the source of VM.
    Thanks you for the congratulation,
    but Vista Site now is expired.

    Greetings Zsolt

    Comment by CalmoSoft — March 10, 2008 @ 2:34 pm

  38. So Peter, what are you up to?

    Comment by Joe — March 10, 2008 @ 5:08 pm

  39. Hey Peter,

    What’s the current status? What’s the future? : )

    Cheers!

    Comment by stoptv — March 13, 2008 @ 4:19 pm

  40. So… it’s “Game On” time… Oh. I got it at which has one of the better interfaces for customizing your order. They also have the better deals when your putting everything together. You can buy these parts individually on pricewatch. com and save a few bucks but it’s too much of a hassle for an entire PC.

    Comment by game player — April 20, 2008 @ 2:27 am

  41. Hi Peter,

    Hope you’re still working on this!

    Comment by Sean — May 20, 2008 @ 6:48 am

  42. Remember back in the day when you had to pay a quarter to play your favorite games and have some snot nosed kid bugging you while trying to play your Arcade Games?

    well now you can play them for free in the privacy of your own home!
    http://www.Armastevs.com
    Have fun guys!

    Comment by benjiballin — June 25, 2008 @ 7:01 pm

  43. What the heck happened to Peter Fisk? I hope someone bought him out for a lot of money =)

    Comment by Jacob Wagner — August 10, 2008 @ 4:54 am

  44. Here is the CalmoSoft Project for Vista Smalltalk :

    http://hsug.freeblog.hu/files/CalmoSoft_Project_842_20080918.zip

    Best Regards,
    Gal Zsolt
    ( ~ CalmoSoft~ )

    Comment by CalmoSoft — September 18, 2008 @ 8:18 am

  45. eto zdorovo na samom dele eto zdorovo na samom dele eto zdorovo na samom dele

    Comment by n90yn0 — May 4, 2009 @ 2:21 pm

  46. hdr3672 bla bla bla bla bla bla

    Comment by ijynwr — May 8, 2009 @ 8:53 am

  47. hash986 test test

    Comment by p1swwy — May 12, 2009 @ 8:55 am

  48. rtr454 test test test

    Comment by fr15zi — May 12, 2009 @ 10:55 pm

  49. kmsda546 gfd work bla bla bla

    Comment by a3tdxj — May 13, 2009 @ 5:10 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.