Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Pong - a little game

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2010, 06:23 PM
mhc mhc is offline
Junior Member
 
Join Date: Jan 2009
Location: Austria
Posts: 41
Awards Showcase
Beta Tester 
Total Awards: 1
Default Pong - a little game

Hi,

please could you try this little game I have attached?
I am interested if it run on different devices.
Myself useing an ASUS A696 on which this App is running well.
Before I waste my time with senseless improvement of the game I want to have a feedback.

The idea behind is not to recreate the xx-version of the old well known PONG game. It's rather a question of user-friendly interface: no menu necessary, no needless buttons. Just start the game and all the required action is done with a simple click.

Thanks

mhc

EDIT:
Attached modified files
Attached Files
File Type: zip pong.zip (65.6 KB, 61 views)

Last edited by mhc : 03-17-2010 at 05:33 PM.
Reply With Quote
  #2 (permalink)  
Old 03-10-2010, 12:57 PM
Junior Member
 
Join Date: Oct 2009
Location: London
Posts: 43
Default

Great job.
The 'pop-up' window was tiny on my device Touch pro HD, so this could be made larger - i couldn;t read what it said - but it kept popping up.

The ball paused whenever i moved the paddle, and my opponent didn't seem that good! At my age a larger paddle would be nice!

You could put a small amount of randomness to the ball direction, if you touch the screen and don't move the paddle the ball will go backwards and forwards forever :-) an alternative might be to randomise the start/serve angle of the opponent.

Game brings back memories of my grandstand video game console :-)

Last edited by Simontelescopium : 03-10-2010 at 01:06 PM. Reason: added comments
Reply With Quote
  #3 (permalink)  
Old 03-10-2010, 02:31 PM
mhc mhc is offline
Junior Member
 
Join Date: Jan 2009
Location: Austria
Posts: 41
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Simontelescopium,

thanks for your reply and your suggestions

- I will create a bigger 'pop-up'
- also I will change the size of the pad
- the 'intelligence' of the opponent is not really implemented yet - that was what meant by "... waste my time with senseless improvement... ". First I want to see if the App works on different devices.
And this is my question I ask back:
When you move your paddle the ball paused immediately? Which kind of device is yours?
On my Asus A696 it runs very well (sometimes to fast).
Thanks again.

mhc
Reply With Quote
  #4 (permalink)  
Old 03-10-2010, 03:39 PM
Junior Member
 
Join Date: Oct 2009
Location: London
Posts: 43
Default

Quote:
When you move your paddle the ball paused immediately? Which kind of device is yours?
I am running on an HTC Touch Pro, it has an 800x 480 screen. If i touch the screen to position the paddle there isn't a pause however if i slide my finger on the screen, while i am sliding, the ball stops.

On the User interface I like the use of the whole screen but my finger gets in the way of the paddle - I wonder if you left some space to the right (top in portrate) of the screen to place your finger if this would be nicer for the user? - if this was in full screen mode you you would have a little more space I think.
Reply With Quote
  #5 (permalink)  
Old 03-17-2010, 06:32 PM
mhc mhc is offline
Junior Member
 
Join Date: Jan 2009
Location: Austria
Posts: 41
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Here I am again.

I have done some modifications based on Simontelescopium suggestions.
I tested some changes but at least I come back nearly the origin layout.
- Full screen only to remove the title bar. To have the menu bar save the need of additional buttons (i.e. to close the app)
- the mentioned size of the pop-up should be now right. It works fine on my ASUS device.
- Resizing the paddle was not so stunning. Especially in combination to have more space to slide with the finger. The whole look and feel appeared stocky and plumb. And the distance between the to paddles was to short - or alternatively the two paddles faced asynchronous. Therfore I resized back.
-I've got the chance to have a look on a HTC device during the last days. In my opinion there are two possible reasons for the observed ball pausing:
1# sliding with the finger means that we have in rapid succession an OnClick event of the display. Cause the finger covers - in contrast to the pen - an area and totters. This fires all the time an event and effectuates the movement of the ball paused. Maybe one explanation Perhabs I will follow an idea of multithreading in the future.
2# In the program code there was a query to prevent that the paddle runs out of the screen. I solved this with an other algorithm.

Next weekend - if I have more time - I will think about improvement of the "intelligence" of the computer player

Please find in post #1 the changed files.

cu
mhc
Reply With Quote
  #6 (permalink)  
Old 03-27-2010, 08:43 AM
Junior Member
 
Join Date: Feb 2010
Posts: 33
Default error

On my Acer laptop it displays an error message "Can't load dll 'coredll.DLL'" every time the ball hits the paddle or the screen margine.
Reply With Quote
  #7 (permalink)  
Old 03-28-2010, 09:15 AM
mhc mhc is offline
Junior Member
 
Join Date: Jan 2009
Location: Austria
Posts: 41
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi,
coredll.dll is the main dll that windows CE uses, and is roughly equivalent to kernel32.dll on a PC or notebook. The game plays some wav-files. So, if you run the exe file which is compiled for the pocketpc on the desktop the runtime machine of basic4ppc can't handle the required dll.
If you want to try out the game on the desktop please use an emulator. Searching around in this forum will give you some hints how to install and using an emulator.

mhc
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game for two using Remoting derez Share Your Creations 3 10-10-2009 12:27 PM
Game and keys pmu5757 Questions (Windows Mobile) 13 06-01-2008 03:56 PM
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 07:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 09:27 PM
Game jorgerhv Share Your Creations 0 05-20-2007 12:09 AM


All times are GMT. The time now is 12:32 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0