[Gambas-devel] Socket Component
Rob
sourceforge-raindog2 at ...19...
Wed Aug 13 03:43:29 CEST 2003
On Tuesday 12 August 2003 21:02, Trax wrote:
> Just wondering... I do not work so I put all my time
> into programming... My ultimate goal is to make a Role
> Playing Game in gambas.. With sound.. Another
You currently have a couple of options for doing that, from running an
existing sound app with no user interface and pumping a stream of PCM to it
constantly to just shelling out to some command line player for events. If
your app isn't that sound intensive I'd go with the latter for now and plan
to reimplement it later once SDL gets made into a component.
> possibilty is would it be possible to make it internet
> playable with gambas?
You might be able to implement something like that now using some crafty
combination of shells out to netcat (nc) and some backend server program
you'll have to write in some other language like perl or python, but again,
people are working on socket components already and it won't be too long.
> It will be a 2-D tile based
> game? What are the limits? I really want to be able to
There really are no limits as long as you're clever ;) Feel free to grab my
Gambas implementation of robotfindskitten (which is so simple it's not called
a game but a "zen simulation") off of my website, http://www.kudla.org so you
can get the basic idea of how to do a tile based game using just labels on a
blank form, then start looking into Image and Picture and DrawingArea objects
and embellish from there.... and if you're planning on doing some REALLY BIG
maps, don't feel you have to throw the whole thing onto a Scrollview or make
a gigantic drawing area, but instead draw just the visible part of your map
and the visible players with each move or redraw.
Rob
More information about the Devel
mailing list