| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I have made Creepy Invaders Python game for S60 3rd edition. You can download the sis packet and sources (under GNU license) from here: http://koti.mbnet.fi/~haviital/index...ts_python_apps I have coded it fully on device using E61i, E90 and Ped (First release was done with PyEditS60). Also graphics has been made on device, excluding background images. There are several new features and improvements in v1.1. Features: - Background midi music - Fast action & lot of moving objects - Levels & scores - Retro-style gfx made using ascii tables(!) - Beautiful background images (new in v1.1) - Adjusts to different device speeds (new in v1.1) - An alien mothership that you can steal a shelter from :-) (new in v1.1) - Volume can be adjusted by pressing <1>or <2> (new in v1.1) Thanks for the Forum members for giving very useful hints and tools for development :-) Br, Hannu
Last edited by haviital : 2008-08-25 at 07:56.
Reason: fixed the link
|
|
Quote:
But link is http://koti.mbnet.fi/haviital/index....ts_python_apps not the one you give us ![]() Please correct the link BR Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
hi Hannu
great update the game seems quite interesting. keep it up Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hi Hannu,
Good to see an update, May be you could implement these in your next update ![]() Quote:
Quote:
Croozeus |
|
Hi,
I do not have accelometer in my phone so that explains my little interest in that. But it is very easy to spot the place where direction keys are read in default.py of Creepy Invaders sources. Anyone willing to test how accelemeter works for Creepy? |
|
Quote:
Seems very easy task, I might give it a try at weekend. Sometime between swimming and circus ![]() Cheers, --jouni |
|
Help,
I have used ensymble just once in my life and everything went just fine. Now I get an error note: Quote:
![]() Is there any other way to install Creepy Invaders except creating SIS? I copied all the source/graphics/audio files from folder CreepyInvaders into "root", but this is no way to do it... Cheers, --jouni |
|
Hmph,
What's the filename of your ensymble? May be you should use ensymble_python2.5-0.27.py which is bytecode compatible with your Python 2.5? Could you try that option ? And I don't understand "Why you want to force Python 2.2 to use ?" ![]() Best Regards, Croozeus |
|
Hi JOM!
Yes, I develop and test the game on device with Ped. You just have to: 1) put all libraries under libs, E:\python\lib -wizgamelibv6.py -wsd_creepy.py -wspaceimages.py -creepy_startscreen.py 2) put other files under e:\python - default.py, *.jpg, *.mid 3) change variable in the beginning of default.py to: - "debug_dev_env = 1" That should be enough. You can see only one bg image in dev mode because of heap limitation of python shell. Br, Hannu |
|
Thanx for help, I got it running
![]() Turn phone left or right, then whats-its-name goes that way. Turn up or down, it shoots. Not really tested, but doesn't crash any more. I'll email you the sources to check and you can - maybe - integrate into next version. Please note it really needs testing! Btw thanx for the experience! If Creepy Invaders was my sw, I'd rewritten keyboard handler. Now I couldn't touch it, so had to figure out a nice & clean way to integrate - and found a pretty nice way to do it ![]() I'll have to update my Sensor Sample docs with this ![]() Cheers, --jouni having fun with sensors Just in case, here's diff: Quote:
|
|
Sorry,
Copy & Paste code. Even if it runs, doesn't mean it's ok ![]() Please remove the red lines. Of course I didn't run this modified version... Testing testing testing! Cheers, --jouni who found this while integrating Sensor API into another non-sensor application ![]() Quote:
|
|
That is great JOM! I will test that soon.
|
|
Hi,
I have tested "sensor-enabled" creepy version on N95. That is a nice hack :-) I think it could be better if the x position of ship would be more "sensitive", i.e. so that you do not have to turn the phone so much to move. It could also accelerate more if the phone is turned more. Or it could be using absolute position of the sensor, i.e. like raw mode in your sensor_sample application. Br, Hannu |
|
Quote:
![]() Quote:
Btw please check, if there's a defect in your code: not sure, but it seems like the whats-its-name can run leftwards or rightwards for ever. I'd like to suggest that it should not be allowed to run out of screen, at least not too far? With no limits in movements and more sensitive sensor detection, the "user" might easily slide a few meters off screen? Especially with additional acceleration! Integration is easy, calibration is hard. Quote:
Absolute position vs acceleration gives different user experience, not sure which one is more easy to understand. Absolute is easier to code, that's for sure. Absolute should also be easier/faster to learn in game play, no matter whether it's good or poor. Acceleration method would be more like in real life. Real life might be too hard? Anyway, doing such is a bit more complex than redirecting OrientationFilter -> keyboard handler. I recall your code was pretty much tied into keyboard handler status info? Most likely would have to change that a bit == possible trouble. Like I said, if Creepy Invaders was my game, I would have rewritten keyboard handling in different way ![]() Cheers, --jouni who might check the absolute positioning not this but next weekend if he still remembers |
|
Just go on and change keyboard handling if you like. That is no problem.
I think it should be relatively;-) easy to implement relative movement using "raw" events: Speed = (currValue - midValue)*factor. But I would be tempted to see how absolute position works also. It is had to say which is better before trying first. Yes, there is some bug in bounds checking. In E90 it works. Have to dig that out. Br, Hannu |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [announce] Game "Tricky Mirrors" updated | goetz_s | Python | 1 | 2008-08-19 07:52 |
| [announce] Creepy Invaders game | haviital | Python | 10 | 2008-04-12 22:24 |
| Create Flashlite 1.1 platform game for "Nokia" | narender_raul | Flash Lite on Nokia Devices | 1 | 2008-01-03 14:04 |
| [announce] Manhattan Story Mashup py_s60 online game | cyke64 | News, Announcements and Job Listings | 0 | 2006-09-19 07:08 |
| 有关mime type的问题,望大侠指教。 | budan | Web Technologies and Multimedia Content- Web 技术和多媒体内容 | 5 | 2006-01-30 12:44 |