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 - PaLe

#1
donate.
Thank you very much for all the work you are doing.
#2
Sorry 4 quality...


Quote from: Kitty Hello on 2013-Jun-19
The S4 returned 1? Like "ONE"? Or the windows desktop?
Can you send me the console output of the Android log?
Gernot, I'm sorry but I do not understand really how to do. With the GLB or on the device?
#3
yes ONE .

how I do kitty ?

Inviato dal mio GT-I9505 con Tapatalk 2

#4
damn my English!
spacfractal I'm sorry, I should not write "strange" (strange).
I answered Gernot on command on S4, but I did not know because it is the first time I use the beta version V11.

Anyone who needs to test on S4 (4.2.2), I am available .

Regards
#5
Hi,
glb 11.414 return a strange result = 1 on  1080x1920 desktop ...

this is the simple code that I use:

// --------------------------------- //
// Project: TEST
// Start: Tuesday, June 18, 2013
// IDE Version: 11.414


SETCURRENTDIR("Media") // go to media files

TYPE coord
   x
   y
ENDTYPE

LOCAL desk AS coord
LOCAL font AS coord

LOADFONT "smalfont.png" ,0
SETFONT 0
GETFONTSIZE  font.x, font.y

GETDESKTOPSIZE desk.x, desk.y

LOCAL dpi$ = PLATFORMINFO$("DPI")

PRINT "  X: " + desk.x, 0, font.y
PRINT "  Y: " + desk.y, 0, font.y * 2

PRINT "DPI: " + dpi$ , 0, font.y * 4


SHOWSCREEN

MOUSEWAIT

Inviato dal mio GT-I9505 con Tapatalk 2

#6
thank you BigSoft !!! I recently upgraded to 4.2.x and I could not find this mode that seemed to have been overshadowed by v4.2

Inviato dal mio GT-I9505 con Tapatalk 2

#7
I played to Minecraft while ago.
I also tried to create a (small) redstone simulator but it never worked properly because of too many errors in Minecraft (pistons) ;)
#8
TNKS Ian  :)

yes bigsoft, it was so roughly, then I tried it was simpler ... and it was!

The coordinates where correctly read GetPixel are turned through 180° and differ from the original position with the result of the difference between the width and the height of the screen.

So I think both uncomplicated resolution for Gernot.



#9
@spacefractal: ok to move the post in the correct board but do not have the privileges to do (or not do it?)

@bigsofty: also happened on V11.263 (and... finally I changed Avatar!)



Maybe I explained myself badly.
I have attached an example (Pixel.zip) of how it is possible to perform properly GetPixel also in the manner described above, but I see no download.
On Android I need to use the command GetPixel and until GERNOT not solve the problem, in my opinion, is the most efficient way to do it.
#10
(Google translated)

GERNOT, I apologize if the problem is already known and being resolved.

Recently doing some testing on Android that creating a screen mode PORTRAIT and setting ORIENTATION = 1 to obtain a screen LANDSCAPE, GetPixel returned incorrect values and this error occurs on Windows creating the same mode screen.

After several tests I was able to understand that the read error occurs when you create a different screen mode from original, for example on a LANDSCAPE screen (then Width>Height and ORIENTATION = 1 or = 3) to obtain a PORTRAIT screen and viceversa if on a PORTRAIT screen (ie Height>Width and always ORIENTATION = 1 or = 3) to obtain a LANDSCAPE screen.

Also on these modes of Orientation I found a mathematical relationship that shows that the command GetPixel in reality can not find the correct value of the memory by the mouse coordinates but in other parts of the screen.

I conclude, therefore, that the problem is probably just mathematics where it reads the graphics memory to take the value of GetPixel in function of incorrect screen coordinates.

#11
Solved!,

Sorry for the trouble... 

mistake novices ... My other application on the device with the same name :whistle:
#12
Hi there,

(translated with Google)  ;)

I have always compiled on Android with GLBasic without problems,
But yesterday I discovered, unfortunately, have expired certificates.
I followed this post but without success.  :(
I get this message after compilation.


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:13f2e703 - 3D, NET
Wordcount:138 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\lebbo\POINT\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] No key.store and key.alias properties found in build.properties.
     [echo] Please sign C:\lebbo\POINT\distribute\Android\bin\glbasic-unsigned.apk manually
     [echo] and run zipalign from the Android SDK tools.


BUILD SUCCESSFUL
Total time: 8 seconds
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\lebbo\POINT\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] Running zip align on final apk...
     [echo] Debug Package: C:\lebbo\POINT\distribute\Android\bin\glbasic-debug.apk
     [echo] Installing C:\lebbo\POINT\distribute\Android\bin\glbasic-debug.apk onto default emulator or device...

BUILD SUCCESSFUL
Total time: 13 seconds
finished Android build-script.
Android=C:\lebbo\POINT\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 37.8 sec. Time: 14:00
Build: 1 succeeded.


Apk file is not installed on the device, I think I understand that the APK file is not properly signed (bold lines)

Windows 7 (EN)
JavaSDK 1.6.0_30
Glbasic 10.283 and 11.261

Suggestions?
Reinstall the current SDK or a better version? or... I have to change some parameters in the command I used?
Code (glbasic) Select
C:\Users\Administrator\.android>"c:\Program Files\Java\jdk1.6.0_30\bin\keytool.exe" -genkey -keypass android -keystore debug.keystore -alias androiddebugkey -storepass android -validity 1000 -dname "CN=Android Debug,O=Android,C=US"

Thanks, and Happy ST Patrick Day  :booze:
#13
SPACE-SNAKE

Puzzle Game, FREE !!!

(AppStore)http://itunes.apple.com/it/app/space-snake/id457516418?l=it&ls=1&mt=8




This is the evolution of the game released for PACC-2010 , improved with new features and intuitive controls  :good:
no button for return, just touch with two finger.
(poor menu due to lack of free time :zzz: )

the same simple rules: Move each Snake on their own eggs.

In this version you can find enemies/obstacle like: snakes without eggs or special tile that allow/deny the movement.

64 levels that will entertain fans of the genre.

                       

#14
Horse Hero,  € 0,79


a very simple PUZZLE-BOARD game (my first one game on iPhone, thanks to all for patience and support  :) ).


Can you solve the riddle of this puzzle, set in the game of chess?

Rules:
Move the horse as in chess and remove all boxes.


iTunes link: http://itunes.apple.com/it/app/horse-hero/id439599115?mt=8

[attachment deleted by admin]
#15
Quote from: Millerszone on 2011-Jun-04
Hit the Deck Baseball SD(update) and Just Pong SD apps got approved yesterday.
I am using latest XCode and GLBasic  Beta 9.104.
i Had too many errors (WARNINGS) with xcode4, maybe I'll install the latest 3.2.6-sdk4.2;

Quote
I used the NETWEBGET command for leaderboards.
If your app is accessing the internet, then test app in airplane mode to make sure it doesn't crash and
give some kind of notification that internet is not available or app could be rejected.
I have not planned to use the netwebget command but I remember your advice... even warning that the SAVE is local
Quote
For Default.png I just used a transparent image, I don't like that little flash.
I have not noticed the flicker because I generally use the transparency in PNG image; I'll try anyway just for curiosity  :P