Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Sixth Sense

#31
Yep I'm a full paid up member of the GLBasic club, and I'll give reinstalling GLB a go if you think it might solve the problem. (4 full days at this and I still have not got past stage 1, am slowly losing the will to live! :giveup:
#32
OK, removed 1.7 Java SDK and loaded 1.6 to root of C:
Reset the environmental variables
Checked emulator was still working ok
Deleted old GLBasic test program and created a new one on root of C:
Set android options as before
Compiled to android and am now back to original error report at build 1 of "The system cannot find the path specified."

Please have a quick look at new screenshot and check that I have set the variables correctly.


[attachment deleted by admin]
#33
Thanks MrTAToad for your suggestions.

I have tried adding the setting you have suggested to the best of my ability but still no joy, I'm obviously doing something wrong but just can't figure what. GLB is now looking for the java in original  location of "C:\Program Files" (with spaces???) which I have now reloaded in root of C:.

None of this is mentioned in the 'Compiling for android section' of the GLBasic help file and I don't know where to look for more information. So after three days of trying to sort out this simplest thing should I just admit defeat and give up with Android?

I've enclosed a screenshot showing the environment setting I've made, the locations of the files on my drive and the latest error from the glbasic output. Can anyone spot where I'm going wrong?

(There may be an almost new Android tablet going cheap in the near future)


EDIT: see post below for latest example screenshot.
#34
I was initially getting the warning to set the JAVA_HOME environmental variable, but since setting this I now get this report when compiling to android:

Quote*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:60343307 - 3D, NET
Wordcount:3 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
The system cannot find the path specified.
BUILD STAGE 2: Install on device
The system cannot find the path specified.
finished Android build-script.
Android=C:\test\distribute\Android
success

Things I have tried from reading other forum posts:

Have deleted and re-loaded Java (jdk1.7.0_01) to root of C: (No spaces in path)
Have set JAVA_HOME variable and tested from command prompt that everything is ok.
Have created a "hello world" test program in GLB in the root of C:. (No spaces in path)
Program name is "TEST", Company name also set to "Test". (No spaces anywhere)
Have removed my device and set up a virtual drive for the emulator all of which works fine.

I'm running Windows 7 (32bit.), so which path can the system not find? Can anyone help please?
#35
 :( App appears in the top left of my 7" 2.3 gingerbread (800x400) with both the original and the compatibility mode versions. Second beta seams to start slightly quicker and both versions run at 57 FPS.
#36
OK problem solved, I'll post my mistake in case it helps saves some head scratching for someone in the future:

Attached fonts background was set to RGB (6,6,6) and not black as I thought. If I re-render font with black background or use SETTRANSPARENCY RGB(6,6,6) within the program, kerning works as it should.

Thanks folks.
#37
I'm probably doing something stupid, but any fonts I now create using the font creator don't work with kerning. If I replace the font with one I have created a few weeks ago it works!!! This only appears to have started since updating to 10.179 but this perhaps is a red herring and I am assuming for the moment that it is me doing something wrong. If possible could someone please test the attached .png file to see if kerning works?

[attachment deleted by admin]
#38
I use this one now and again, good for working a pixel level.


http://www.qualibyte.com/pixelformer/
#39
sorry I could not resist.

[attachment deleted by admin]
#40
Thanks for the feedback, I'll get to work on the glitch ASAP, it looks like it only happens when the last number picked is negative.

I originally programmed the game to use a single click for selection, but my family (my beta testers) found that they kept noticing better moves once the cursor had moved to their chosen position. Their suggestion was an 'UNDO' feature, but I thought it made the game even slower (and kind of cheating) so the left/right click and keyboard options were introduced. I myself now play the game using the arrow/enter keys which I find pretty fast with the added bonus of being able to quickly 'wrap-around' the edges of the grid. It also gives me the option of moving the cursor one square at a time along the line to allow me to easier work out what the consequences might be before I confirm a move with the enter key.
#41
GLBasic - en / Re: BETWEEN?
2011-Oct-22
Quote from: bigtunacan on 2011-Oct-22
Obviously pretty easy to roll your own, but it is commonly supported in a lot of langs

I've been using BASIC for about 30 years now and have never come across this one before, which language did you use it with?
Am I missing the point or is it just as easy to say IF a>4 and a<11 THEN ?
#42
Interesting article from BBC News......

http://www.bbc.co.uk/news/technology-15400984
#43
Because of work commitments I had not done any serious programming since 1995, but since retiring earlier this year I am now spending my spare time polishing up my rusty programming skills using GLBasic. As an old fan of the Amiga, I thought it might be a good idea to re-write and update some of my old games that went down well in the old days.

I now have 3 of them complete and my request is for someone to test the first one before I pace it in the announcements and showcase sections, I also hope to get a personal website up and running with this as a free featured game.

The game is for PC only and can be downloaded directly from the Google docs link or follow the link to my (first attempt, work in progress) website if you want some info on the history of the game.


Download from Google docs:
https://docs.google.com/leaf?id=0BxI6Fw6RLQfeOWZlNDc0ZjItOGI5OS00ZTY1LWEwYzAtZjhmYjE5ZDNlZGQw&hl=en_US


Download and game play info:
https://sites.google.com/site/6ixth6ense/Featured-Game




[attachment deleted by admin]
#44
If contracted to Kaoslords, would the game still appear as an iPhone app?

I was an avid Amiga programmer and worked with François Lionet on the development team of Amos Professional. A great computer in its time but I think the Amiga should now be allowed to rest in peace to save spoiling the memory of how good it was.

At the moment I am doing the opposite to ampos by re-writing and updating some of my old Amiga Licence-ware using GLBasic.
#45
I should  have noticed that a value of <0 for the length param in mid$ would read string to end. (that's what happens when you get old!)

:nw: Thanks to everyone who pitched in, problem solved. :nw:

Syntheetic's function suits the job in hand and Ketil and MrTAToad's information on peek & poke has given me other ideas for the future.

:good: