Search found 10 matches

by waspentalive
Saturday 23rd February 2019 12:05pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

I may have to distro hop away from Devuan, apearantly the current version (codename ascii) can't make use of that PPA.. Back to KDE Neon I suppose.

but not till my weekend (tues/wednesday)
by waspentalive
Friday 22nd February 2019 1:47am
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

I wanted to run it, but I seem to be missing a 'spring' - something special in your environment?
by waspentalive
Thursday 21st February 2019 10:15pm
Forum: General
Topic: Tiles-1-0-0 - Tiles placement game
Replies: 1
Views: 2931

Tiles-1-0-0 - Tiles placement game

The goal is to make it to the end of Level 7 and to do it with the most points. One way to get points is to place like tiles next to each other. Like neighbors are removed from the board and points are the result. The board wraps on both edges. There are other bonuses that I leave up to the player t...
by waspentalive
Wednesday 20th February 2019 4:43pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

Here is what I have so far.

This is licensed under GNU v3 - find the latest copy of the GNU Public License at https://www.gnu.org/licenses/gpl.html
by waspentalive
Tuesday 19th February 2019 4:43pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

-- edit Now using gb tags as pointed out below Tiles - This is what I have so far... I need to implement the rest of my btnfield routines There is also my main.form - I don't know how to show that to you yet. It's a game - you have a stack of icons you can draw from. You place these in a 5x5 grid. W...
by waspentalive
Tuesday 19th February 2019 2:34pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

Here's another one -I may hate the answer but can one pass buttons as parameters for a subroutine? ----------------------- Public button15_click() dobuttonclick(Button15, button10, button20) end Public dobuttonclick(center as button, top as button, bottom as button) if top.text = bottom.text then ce...
by waspentalive
Monday 18th February 2019 10:27pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

OH - I removed the DIM and now it seems to be working... strange.
by waspentalive
Monday 18th February 2019 9:25pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

Thanks all for the help so far - I used the 'graphical application" this time too.. Next question - I have looked around at the variable declarations, I will need some global variables but I don't know where to declare them - I have tried above all my 'public sub' subroutines - I have tried in ...
by waspentalive
Monday 18th February 2019 1:43pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Re: Buttons access like an array

Quinn, Thanks for your help - sorry it went way over my head - I don't get it at all :( but that's ok because the original version of my game was written using just plain buttons (with each button checking the neighbors in a hard coded way) I will just do that again. Anyone--- I went to start my pro...
by waspentalive
Saturday 16th February 2019 6:12pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18761

Buttons access like an array

==Newbie - programmed in visual basic for a while, Just installed Gambas3 I am writing a game where one of the elements is a 5 x 5 array. The elements in this array are placed by the player and are represented as buttons on the play field. I would like to refer to these button as field[x,y] where x ...