Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Share Your Creations
Home Register FAQ Members List Search Today's Posts Mark Forums Read

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


Nightmare Park - Retro Classic Game


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2009, 01:55 PM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default Nightmare Park - Retro Classic Game

Hello,

Welcome to the Nightmare Park Game dev thread.

The game is now version v1.10.

Supported device resolutions are 320x240, 320x320, 400x240, 480x480, 640x480 and 800x480 at the moment.

Its free so please download and enjoy.

NPARK.ZIP - Just the game EXE and text files
NPARKDEV.ZIP - Game, docs, source code plus other DEV stuff.

If you are not a BASIC4PPC member, download is available from TheRealEasterBunny

(Original text for replies below as follows:
"Anyone any ideas of a faster way to draw pixels to screen? Different library perhaps?")
Attached Files
File Type: zip nparkdev.zip (195.0 KB, 20 views)
File Type: zip npark.zip (60.5 KB, 19 views)

Last edited by badkarma : 09-12-2009 at 07:47 AM.
Reply With Quote
  #2 (permalink)  
Old 03-29-2009, 05:20 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,457
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Drawing pixels with Form.Line is very slow as Basic4ppc automatically refreshes the form after each drawing.
You should draw on a bitmap with the ImageLib library (Bitmap.SetPixel), and then draw the bitmap on the form with a Drawer object.
__________________
Basic4ppc reference list
Reply With Quote
  #3 (permalink)  
Old 03-30-2009, 11:43 PM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

Thanks Erel,

I have recoded it with BMPs in an ImageList and it is much faster.



Credit needs to be mentioned here to Bob Chappell who seems to have written the original from 15/4/80 (or 14/5/80 depending on the version you have) as per npark.prg which can be downloaded from PET websites off the Internet (and then subsequently run on the VICE emulator). I have tried to contact Bob, but as yet to no avail. Bob, if you're out there, please get in touch!

Last edited by badkarma : 05-09-2009 at 04:39 PM.
Reply With Quote
  #4 (permalink)  
Old 04-12-2009, 12:57 AM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

Have fun!

Last edited by badkarma : 04-18-2009 at 10:53 PM.
Reply With Quote
  #5 (permalink)  
Old 04-12-2009, 10:11 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,251
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Maybe I'm being stupid but on both my Axim X30 (QVGA) and my iPAQ 214 (VGA) whatever direction I choose at the start the heart symbol moves North (up) then I fall into the abyss. Am I missing something obvious?

EDIT:- I was missing the not-quite obvious. I thought you needed to tap the appropriate N, S or E character in the line at the top to move as that is how I would have coded it. In fact it is the top, left or right of the screen you need to tap

Last edited by agraham : 04-12-2009 at 10:23 AM.
Reply With Quote
  #6 (permalink)  
Old 04-12-2009, 02:40 PM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

Hi agraham,

Yes, sorry, not done the docs yet - will explain movement in the docs, but its worthwhile explaining for the people who are downloading it currently as follows:

To navigate the map (and on Multiplying Lurgi / Zigzaggers screens) you must tap the screen in the area you wish to move, ... imagine you have a big X stretching across the whole screen ... click in one of the four triangles that would be there if the X was visible to navigate North, South, East etc. Its best to tap near the edge of the screen either at the top, far right, far left or bottom to ensure you dont accidentally move in the wrong direction... a few goes and you should be up to speed with the operation.

For people downloading the beta, a better visual / understanding can be seen at Mathematical Genius Required

How does it function on the X30 / 214? All OK so far?

I'll have a bit of time tomorrow to have a dabble at Stampeding Unicorns / Stinging Arrows - I may need to look for something that can do a rapid screen chunk copy / paste.

Cheers!

Last edited by badkarma : 04-18-2009 at 10:56 PM.
Reply With Quote
  #7 (permalink)  
Old 04-12-2009, 03:18 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,251
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by badkarma View Post
How does it function on the X30 / 214? All OK so far?
Fine on both except that the amount of time the memory test data are shown on the screen seems to be almost impossibly short - at least for these old eyes, especially the gorilla name which at 170mS goes before you can locate where it is on the screen!

Quote:
- I may need to look for something that can do a rapid screen chunk copy / paste
You won't get much faster than DrawImage.

Last edited by agraham : 04-12-2009 at 03:21 PM.
Reply With Quote
  #8 (permalink)  
Old 04-12-2009, 07:41 PM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

Quote:
... the amount of time the memory test data are shown on the screen seems to be almost impossibly short ...
Yes, I've been thinking about this. I may build in some levels such as Easy, Normal, Hard and Nightmare and set timings and randoms accordingly... for now, I've bumped up the display time.

Quote:
You won't get much faster than DrawImage.
Thanks agraham. I have got a speedy working solution now which I will integrate into NPARK.

Last edited by badkarma : 04-13-2009 at 07:11 PM.
Reply With Quote
  #9 (permalink)  
Old 04-13-2009, 07:10 PM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

Have fun!

Last edited by badkarma : 04-21-2009 at 06:57 PM.
Reply With Quote
  #10 (permalink)  
Old 04-20-2009, 08:31 AM
Senior Member
 
Join Date: Mar 2008
Posts: 196
Default

What's New in Nightmare Park

[v1.10]
- On German text, cursor flashed in wrong place.
- Added umlauts etc for German text here and there.
- Cosmetics cleared up on Maniacal Memory Tester if wrong.
- Faster draw routine on main map.
- Reverse video for mini game titles.
- More authentic Barbs moving action.

[v1.09]
- Modified keys colour to light yellow. Now when pressed you can see it as it flicks to black.
- Put 0 key after 9, not before 1.
- Set Blabbers / Najjers to use 1-9 and not 0-8.

[v1.08]
- Standardised timings on mini games headers and outcomes.
- Split up a couple of sentences including "Death Rays!", "Keep still and hope!"
- Losing on The Doors outcome now says "Devoured!" instead of "The lion feeds enthusiastically!"

[v1.07]
- Added authentic flashing cursor on input of Gorilla's Name and Mad Mathematician.
- Due to popular demand, "Back To The Start" has gone!
- If killed by Death Rays, it will now stop after being killed and not carry on 5x2.
- Converted Manual and What's New text files to HTML.

[v1.06]
- Rejigged Gruesome Gambler - again - everything great now - honest!
- 'mhc' kindly refined German language text. Thanks mhc!

[v1.05]
- Gruesome Gambler bug rectified in random numbers selection.
- "The shortest route may not be the best" - Playerpos bug fix

[v1.04]
- Added in-game German language support.
- Set AcceptNav to false from Title to Map whilst map is drawn.
- Now stores preferred orientation / language in NPARK.INI
- If the device is already in a landscape mode (and there is no INI file yet created), it uses the default landscape mode set.

[v1.03]
- Spelling mistake on Gruesome Gambler.
- Prompt for 'Are you sure?' on exit.
- Clicking on About screen image puts you back to game.
- Bugfix on Blabbers/Najjers scromping on good guess on last move left.

[v1.02]
- Added support for 480x480 and 400x240 screens.
- Added rotate option for left / right handed landscape screen preferences.

[v1.01]
- Bug fix on 800x480 screens for The Doors coordinates.
- Bug fix on 800x480 screens for Map moving direction tap detection.
- Bug fix on 800x480 screens for Unicorns and stingers final BMP positions of player.
- Bug fix on 800x480 screens for Unicorns and stingers direction tap detection.
- Bug fix on 800x480 screens for Multiplying Lurgi / Zigzaggers direction tap detection.
- Reduced Doors opening / closing sleep times.

[v1.00]
- Official first release.

Last edited by badkarma : 09-12-2009 at 07:44 AM.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How use my own 'Classic' DLL in Basic4PPC Bruno Questions & Help Needed 4 05-01-2008 06:27 PM
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 08:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 10:27 PM
[GAME] Merchants legugusse Share Your Creations 4 07-11-2007 09:36 AM
Game jorgerhv Share Your Creations 0 05-20-2007 01:09 AM


All times are GMT. The time now is 03:28 AM.


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