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

Topics - Millerszone

#1
Well, I finally received one of those nasty letters from Apple yesterday...
"We received a notice from Atari, Inc. that Atari, Inc. believes your applications named "Just Pong"
and "Just Pong SD" infringe Atari, Inc.'s intellectual property rights. In particular, Atari, Inc. believes
you are infringing their trademark and copyright."

I knew the day was going to come, just thought is was going to come a lot sooner.
Just Pong had over 200,000 downloads, most were free, but did make good money, not far behind
my other game Hit the Deck Baseball. I never planned on making money with Just Pong. It was
basically my first game ever and wanted to see how the iTunes app store process worked.

It's just sad that Atari has to send out these letters to independent developers for a 40 year old
game.

Well they didnt get Classic Pong yet, its available on webOS, had to rename because Just Pong was
already taken on webOS. It is doing good with over 30,000 downloads, again most are free.




#3
Continued from here:
http://www.glbasic.com/forum/index.php?topic=6683.msg53937#msg53937

The screen capture below is what the TouchPad looks like when I try to compile for WebOS at screen
size 320x480 and 768x1024, of coarse all of the buttons don't work since screen is not centered.
Sound did play.

So, next I downloaded "Hit the Deck Baseball" for the pre(320x480) from the App Catalog, everything worked o.k
but the the bat swing and ball moment was not as smooth as on the old palm pre.
Sound was o.k. Network also worked for the high scores.

I also tried adding "uiRevision": 2 to the appinfo.json file, but no difference to the graphics.
(The uiRevision key tells WebOS that your app is capable of running full-screen on a TouchPad,
avoiding the annoying phone emulator.)

So if I download an app from the App Store Catalog, the graphics are scaled and centered,
but if re-compile with GLBasic and install the ipk the screen is shown in the bottom left corner when screen
size is set to 320x480 or 768x1024.

"Hit the Deck Baseball", Dr Shivers and B'lox downloaded from the HP App Catalog fills the screen nicely.

So far I'm really impressed with the TouchPad.

Post ipk for me to test or email.

Here is a good page to read: webOS 2.0(mojo) to webOS 3.0(enyo)
http://beckism.com/2011/07/webos-mojo-to-enyo/


#4
I received the TouchPad today.

I followed the instructions just like for the Palm:
http://www.glbasic.com/xmlhelp.php?lang=en&id=395&action=view

But when I get to this part ("In the directory "C:\Prog...\GLBasic\compiler\platform\webos\tool\bin\novaterm\"
double click the file "pdk-device-install.bat", now. The program should copy the required files to your device now.
If there is an error, please contact us in the GLBasic.com forums.)

I get("Error: No device detected. Connect device and make sure Developer Mode is enabled.")

I'm in the Touchpad's Developers mode and the PC detects that it is connected.

When I connect the palm it works with no problems.

Any suggestions?

#5
I qualified for the HP TouchPad Loaner Program, so I should receive next week.
The loan period is 60 days and then I will have the option to purchase with a 10% discount.
#6
GETDESKTOPSIZE returns 400x683 on the Galaxy Tab. Tab has a screen res of 1024x600.
#7
Is GLBasic compatible with the NOOK?
It uses Android OS, so I guess it should be.

https://nookdeveloper.barnesandnoble.com/
#9
Appreciate if someone can do a quick test.
Basically I'd like to know if the game scales and centers o.k. on the smaller screens.
Two player mode currently does not work. No Multi-touch.

Thank you.

http://www.americantc.com/JustPong.rar
#10
USEASBMP is not working in Portrait mode and Multi-touch is not working.
LOADBMP works o.k.

Using:
GLBasic: 10.001
Galaxy Tab with Android 2.2.1 (Froyo)
#11
Worked fine with beta, but after installing the hotfix, game is not saving or reading game settings.

Here is the code I've been using:
Code (glbasic) Select

GLOBAL gameSettings$
gameSettings$ = PLATFORMINFO$("DOCUMENTS") + "/settings.dat"

FUNCTION saveSettings:
INIOPEN filePathSettings$
INIPUT "settings", "twoplayers", twoplayers
INIPUT "settings", "expert", expert
INIPUT "settings", "mute", mute
INIOPEN ""
ENDFUNCTION

#12
I received and email from HP today:
Hey Mike-
I just wanted to check in to see if you had any plans to port HTD Baseball to the upcoming HP TouchPad. I look forward to hearing from you soon.

Cheers,
Worldwide Developer Relations, HP webOS

So my question is will GLBasic work with the HP Touchpad with screen resolution 768x1024?

HP Touchpad specs:
http://www.palm.com/us/products/pads/touchpad/index.html

#13
I'd appreciate whoever has a Palm device with WebOS 1.4.5, if you can please test my app.
You can also try it out on WebOS 2.0+, but mostly need feedback on 1.4.5

Things to check:
- bat and ball collisions
- all menu buttons
- bat and pitch buttons (including multi-pitch buttons)
- field border and ball collisions
- help screen
- info screen
- leaderboard buttons (internet disabled)

Thank you,
Mike

IPK file:
http://www.americantc.com/Images/HitTheDeckBaseballBeta.rar
#14
Made a small program to confirm transparency part of sprite causing collision detection using a .png (PNG-24) with transparency.
Not using the Pink RGB(255,0,128), even though it doesn't make a difference.

Using GLBasic 9.052
#15
HTD Baseball has just became available in the HP App Catalog and already
Received an email saying the bat and pitch buttons don't work and sometimes the
Menu buttons don't work.
I tested on the palm Pre 2 with software 2.1 and never had a problem.

They said they restarted the palm and now none of the menu buttons work.

Here is the info about their phone:
Palm Pre Plus
Software: 1.4.5
not modified in any way.

I asked them if they would please update the phone to the
Latest software, haven't heard back.
#16
Code below will tell you what device you are using. Thought it might come in handy for a few.
I need this for Game Center.
Only tested on iPad and iPhone 3GS/4G

Move the .m file to XCode in the iPhone Folder
Use this code in .m file:
Code (glbasic) Select
//
//  UIDeviceHardware.m
//
//  Used to determine EXACT version of device software is running on.

#include <sys/types.h>
#include <sys/sysctl.h>

char iDevice[1024]="";

const char* deviceName()
{
    size_t size;
    sysctlbyname("hw.machine", NULL, &size, NULL, 0);
    char *machine = malloc(size);
    sysctlbyname("hw.machine", machine, &size, NULL, 0);
    NSString *platform = [NSString stringWithCString:machine];
    strcpy(iDevice, [platform UTF8String]);
    free(machine);
    return iDevice;
}


Demo code for GLBasic:
Code (glbasic) Select

LOCAL name$ = ""

?IFDEF IPHONE
IMPORT "C" const char* deviceName()
device$ = deviceName()

SELECT device$
CASE "iPhone1,1" ; device$ = "iPhone 1G"
CASE "iPhone1,2" ; device$ = "iPhone 3G"
CASE "iPhone2,1" ; device$ = "iPhone 3GS"
CASE "iPhone3,1" ; device$ = "iPhone 4"
CASE "iPhone3,2" ; device$ = "Verizon iPhone 4"
CASE "iPod1,1" ; device$ = "iPod Touch 1G"
CASE "iPod2,1" ; device$ = "iPod Touch 2G"
CASE "iPod3,1" ; device$ = "iPod Touch 3G"
CASE "iPod4,1" ; device$ = "iPod Touch 4G"
CASE "iPad1,1" ; device$ = "iPad"
CASE "iPad2,1" ; device$ = "iPad 2 (WiFi)"
CASE "iPad2,2" ; device$ = "iPad 2 (GSM)"
CASE "iPad2,3" ; device$ = "iPad 2 (CDMA)"
CASE "i386" ; device$ = "Simulator"
ENDSELECT
?ENDIF

// your device
PRINT device$, 10, 20,1

SHOWSCREEN
MOUSEWAIT


EDIT: Move to forum "Code Snippets"
#17
I submitted Hit the Deck Baseball to HP today.

Converting from the iPhone to the Pre went very smooth. I only had to re-sample a couple of
sounds and fix some shadows. GLBasic just get's better and better. Thanks! :booze:
Looking forward to the next device, Android.

#18
I'm having problems with the interpolated alpha blending shadows on some of my objects.

You can see the problem in the image below around the targets and home run ramp there
is a gray border. It only happens on the Palm Pre 2, iPhone, iPad and PC are o.k.

I found this on an internet site, it seems this is the problem I'm having:
http://www.airplaysdk.com/node/2524

#19
After running the Macro I get this:
'java' is not recognized as an internal or external command, operable program or batch file.

Here is the Macro:
:: Copy to Palm Pre
CALL "%GLB_MAIN_PATH%\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "%GLB_PROJ_PATH%\glbwebos"


Also getting these warnings when compiling:
Code (glbasic) Select

compile+link:
Q:/Compiler/platform/webos/bin/ld.exe: warning: libavformat.so.52, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libavcodec.so.52, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libavutil.so.50, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libnapp.so, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libPiranha.so, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libpalmvibe.so, needed by Q:\Compiler\platform\webos\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libIMGegl.so, needed by Q:\Compiler\platform\webos\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libsrv_um.so, needed by Q:\Compiler\platform\webos\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: liblunaservice.so, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libsqlite3.so.0, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libcjson.so, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libcurl.so.4, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libluna-prefs.so, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/webos/bin/ld.exe: warning: libssl.so.0.9.8, needed by Q:\Compiler\platform\webos\lib/libpdl.so, not found (try using -rpath or -rpath-link)
plat: C:\Program Files (x86)\GLBasic\Compiler\platform\webos
#20
How are you guys activating your Palm Pre 2?

Do I have to purchase another AT&T plan with data?

I was going to try my iPhone 4 sim in the Pre, but I forgot it's a micro sim.

Can I use a Prepaid to activate?

Thank you