This site is no longer active and is available for archival purposes only. Registration and login is disabled.

problem with 0.9.6


Postby kornalius » Mar 6, 2006 @ 3:01am

I will look into the code tomorrow. It might be your device having some other values for the hardware keys than usual PPC's. If I remember correctly, PocketFrog which drives the GameAPI is handling the key presses.

I will have a better answer for you tomorrow.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


another issue

Postby Matteo.m » Mar 6, 2006 @ 9:40am

I'm having another issue running the starfield demo.
Isnt working properly both sides pc and pocketpc
because the value of border.left$ border.right$
border.top$ and border.bottom$ are all set to 0.
thanks
Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Postby kornalius » Mar 6, 2006 @ 4:27pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Matteo.m » Mar 7, 2006 @ 8:40am

Hi kornalius, I'm using an ipaq 2750 with window mob 2003 sec edition, the code i'm running is the starfield into the demo folder. As i told you something wrong with the key to exit and also with the border values and this make the screen to not have stars on it. i Show the code where i putted to display the values.

#include "GameAPI.ppl"

// Initialize the stars array structure.
proc InitStars
ShowMessage(border.left$);
ShowMessage(border.right$);
ShowMessage(border.top$);
ShowMessage(border.bottom$);
i$ = 0;
while (i$ < 256)
Stars.x$[i$] = border.left$ + random(border.right$ - border.left$ - 1);
Stars.y$[i$] = border.top$ + random(border.bottom$ - border.top$ - 1);
Stars.Speed$[i$] = random(4) + 1;
i$++;
end;
end;
Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Postby kornalius » Mar 7, 2006 @ 2:35pm

Wow, I am getting the same results here. Sorry about not believing you. Until I tested I was sure nothing changed in the latest release. Boy I was wrong. I will look into it and get back to you shortly.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Mar 7, 2006 @ 2:40pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Matteo.m » Mar 7, 2006 @ 3:58pm

ok i did it, I removed the line as you suggested, and in effect now the border variable are set but the border.bottom$ is quite out of range because it contain 1162629200 and so is still not working properly, sorry
Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Postby kornalius » Mar 7, 2006 @ 7:20pm

Sorry add Border$ to the Global() line just on top. I forgot the variable needs to be a global.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Matteo.m » Mar 8, 2006 @ 11:10am

Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Postby Matteo.m » Mar 10, 2006 @ 2:10pm

Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Postby kornalius » Mar 10, 2006 @ 3:54pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby Matteo.m » Mar 10, 2006 @ 6:04pm

Matteo.m
pm Member
 
Posts: 23
Joined: Dec 15, 2005 @ 12:56pm


Previous

Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron