[Gambas-user] What is most efficient method of creating simple paths for sprites to follow?

2009-04-30 Thread jbskaggs
I need to write a path maker for my game maker- it needs to be a graphical interface s the game maker is geared for people with little to no computer programming skills. Paths are used to define the movement of sprites on the game screen like the aliens in Galaga moving in from the side, etc. Of

Re: [Gambas-user] TreeView: why is error = TRUE?

2009-04-30 Thread Fabien Bodard
in fact nothing is unlogical ... it's the gambas way... in gambas an error, impossibility, return true... in all the function that return a boolean you can imagine to write this in that way CONST bError as Boolean =True if .MoveChild = bError then ... its the same ! in another way it limit

Re: [Gambas-user] Problems compiling under Ubuntu 9.04

2009-04-30 Thread Jussi Lahtinen
I tested Ubuntu 9.04 with VirtualBox, and I managed easily to install Gambas2 and Gambas3. So there shouldn't be any problems, at least in my use (read what Benoit said). Jussi 2009/4/29 Benoît Minisini gam...@users.sourceforge.net: I'm also looking forward using kubuntu 9.04 (AMD64),

[Gambas-user] read a file into a listview - but backwards

2009-04-30 Thread Joshua Higgins
Hi all, Is it possible to read a file and load it line by line into a listview, but backwards? I have been using the example from gambasdoc for loading files line by line, but I'm writing a logging page and want to show newest items first. Thanks. -- joshua higgins --

Re: [Gambas-user] read a file into a listview - but backwards

2009-04-30 Thread Charlie Reinl
Am Donnerstag, den 30.04.2009, 18:46 +0100 schrieb Joshua Higgins: Hi all, Is it possible to read a file and load it line by line into a listview, but backwards? I have been using the example from gambasdoc for loading files line by line, but I'm writing a logging page and want to show

[Gambas-user] Rounding numbers to pre-set increments

2009-04-30 Thread M0E Lnx
This dilema is running circles around my head... I need help I need a way to take a number, say an integer and round it up to the nearest increment of 250. This may imply decreasing or increasing the number. For instance input = 400 I need my app to round up to 500 input = 550 I need my app to

Re: [Gambas-user] Rounding numbers to pre-set increments

2009-04-30 Thread Frank Cox
On Thu, 30 Apr 2009 14:00:06 -0500 M0E Lnx wrote: I need a way to take a number, say an integer and round it up to the nearest increment of 250. This may imply decreasing or increasing the number. Divide the number by 250. If the result is x.5 then (x+1)*250 If the result is x.5 then

Re: [Gambas-user] Rounding numbers to pre-set increments

2009-04-30 Thread M0E Lnx
Thank you guys. The first suggestion worked. On Apr 30, 2009 3:24 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: Frank Cox a écrit : On Thu, 30 Apr 2009 14:00:06 -0500 M0E Lnx wrote:I need a way to take a number, say an... A = N mod 250 N = N - A if A 125 then N += 250 In

Re: [Gambas-user] read a file into a listview - but backwards

2009-04-30 Thread Stefano Palmeri
Il giovedì 30 aprile 2009 19:46:25 Joshua Higgins ha scritto: Hi all, Is it possible to read a file and load it line by line into a listview, but backwards? I have been using the example from gambasdoc for loading files line by line, but I'm writing a logging page and want to show newest