maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [ANNOUNCE] Space Invaders in QML (https://talk.maemo.org/showthread.php?t=71888)

piggz 2011-05-20 17:46

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by phap (Post 1010780)
Hi! I didn't try 0.3 but I have 0.3.1 and when the game is over the game just hang, so I can't start a new game and most of all I can't upload the hi-score!
(shame as I went to level 20 fisrt time and tried let me lose at level 2 to check but it's still hanging). Anyway thanks for your efforts

I cant reproduce this on either my phone or desktop....can you make sure you have libqtm-12 up to date, and maybe run it from xterm to see if there are any message that might help. Cheers.

phap 2011-05-20 20:20

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1011330)
I cant reproduce this on either my phone or desktop....can you make sure you have libqtm-12 up to date, and maybe run it from xterm to see if there are any message that might help. Cheers.

Now I'm too drunk I'll see tomorrow :-)

phap 2011-05-21 05:31

Re: [ANNOUNCE] Space Invaders in QML
 
I didn't have libqtm at all but that solves nothing.
Here's the message:
file:///opt/share/pgz-space-invaders/qlm/pgz-spaceinvaders/main.qlm:399: ReferenceError: Can't find variable: Pos5Score

corduroysack 2011-05-21 09:45

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1011168)
ah, this is likely a packaging bug, i did not specify a version for libqtm-12, so if you have the tech preview, it will need to be updated, i will put the right version in the next package.

i've downgraded for the time being, it's so simple just like the original, as soon as my mates heard the noises they knew exactly what i was playing brilliant lol :D

piggz 2011-05-22 11:13

Re: [ANNOUNCE] Space Invaders in QML
 
Ive recreated the lockup on gameover bug..it happens on levels >1. Will be sorted today, along with package bugs

retsaw 2011-05-23 21:09

Re: [ANNOUNCE] Space Invaders in QML
 
The sound effects don't respect the system volume, that is I can turn the volume on my N900 right down to zero and the sound effects' volume doesn't change.

piggz 2011-05-23 21:39

Re: [ANNOUNCE] Space Invaders in QML
 
Ive just pushed version 0.3.2, which, most importantly fixes the hang on game over, which turned out to be quite a serious, hard to find bug in the new settings code. Never mind, all is good again, and this version _should_ be quite good.

Ive also put better depends in the pacakge, so hopefully that is fixed too.

Enjoy.

piggz 2011-05-23 21:40

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by retsaw (Post 1013932)
The sound effects don't respect the system volume, that is I can turn the volume on my N900 right down to zero and the sound effects' volume doesn't change.

I'll add that as a todo

mohi2k7 2011-05-24 00:43

Re: [ANNOUNCE] Space Invaders in QML
 
ello can i make a sugestion that i think that will improve game play alot, dont know if it has been suggested before but can the keyboard controls be changed because its really diffcult to move and shoot at the same time plus cramped thumbs lol :D... e.g A + D to move and space to shoot...

retsaw 2011-05-24 10:55

Re: [ANNOUNCE] Space Invaders in QML
 
I seem to not be able to upload my high score. After I updated to the latest version, I created a gamer account, played a game then tried to upload my high score, but it isn't showing up on the global list, I ran it from the command-line and got this error
Code:

file:///opt/usr/share/pgz-spaceinvaders/qml/pgz-spaceinvaders/Hiscorewindow.qml:343: ReferenceError: Can't find variable: Settings
after I tried to upload the score again.

If it is relevant I have apt set up to give priority to testing over devel and priority to extras over testing and devel. This shouldn't cause a problem if you have the versions on your dependencies set correctly, but if you don't it may lead to me having older versions installed.

phap 2011-05-24 10:56

Re: [ANNOUNCE] Space Invaders in QML
 
Now the game doesn't hang on game over, but:
1) in the menu, if I select Setting, then local hi scores, fine I see my hi scores, but:
a) if I click on the button:
#1 the please wait banner comes under the hi score window
#2 it doesn't work, my hi score doesn't go on the global top20
b) if from the local hi score, I click menu then global top 20, the global 20 window comes under the local hi score so i can't see it.

2) the global hi score doesn't show the same as the net page: in ma global hi scores, I still see #5 tpd score 520 lvl1 date 2011-5-18...

Now I'll try with deleting all datas and reinstall the game

Edit: I can't find where are stored the user datas...

piggz 2011-05-30 20:32

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by phap (Post 1014295)
Now the game doesn't hang on game over, but:
1) in the menu, if I select Setting, then local hi scores, fine I see my hi scores, but:
a) if I click on the button:
#1 the please wait banner comes under the hi score window
#2 it doesn't work, my hi score doesn't go on the global top20
b) if from the local hi score, I click menu then global top 20, the global 20 window comes under the local hi score so i can't see it.

2) the global hi score doesn't show the same as the net page: in ma global hi scores, I still see #5 tpd score 520 lvl1 date 2011-5-18...

Now I'll try with deleting all datas and reinstall the game

Edit: I can't find where are stored the user datas...

Sorry, i totally missed your post until now!

Ive just uploaded version 0.3.3, which fixed the score upload bug...i didnt even know about it until i was testing 0.3.3 and got a decent score and the upload didnt work...i thought there was a lack of updates on the site :)

The other nice addition is explosion animation

* Added explosion animations
* Fixed bug where mystery ship sound continues if player is killed
* Moved message window to the bottom and made smaller
* Fixed bug in hi score uploading

Enjoy!

phap 2011-05-31 06:32

Re: [ANNOUNCE] Space Invaders in QML
 
Thank you, it worked like a charm!

mmlado 2011-06-01 18:26

Re: [ANNOUNCE] Space Invaders in QML
 
@piggz:
Thank you for your application, I'm learning much from it.
I didn't found under which license are you distributing it, and I'm hoping it's ok if I "steal" a little code from it.
I'm working on a, close to your game, game, sink submarines. Some principles are the same. I just used the accelerometer part in my code.

br1zer 2011-06-01 18:43

Re: [ANNOUNCE] Space Invaders in QML
 
@Piggz Loving this..any chance of PGZ Pacman :)

piggz 2011-06-01 18:49

Re: [ANNOUNCE] Space Invaders in QML
 
Remember, if you love it, vote for it in the meego coding competition at the end of June! :)

piggz 2011-06-01 18:51

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by mmlado (Post 1020359)
@piggz:
Thank you for your application, I'm learning much from it.
I didn't found under which license are you distributing it, and I'm hoping it's ok if I "steal" a little code from it.
I'm working on a, close to your game, game, sink submarines. Some principles are the same. I just used the accelerometer part in my code.

Feel free to use some code...i used some snippets from the web. I really should decide on a license...i'd like an open source license that still gives me the option of selling cheap on the ovi store. Any ideas?

piggz 2011-06-01 18:53

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by br1zer (Post 1020364)
@Piggz Loving this..any chance of PGZ Pacman :)

Could do....i was thinking of a breakout game too, as that would work will with the accelerometer....i also need to do more serios stull like my mobile database app, and ive got a half finished everytrail app too! :)

mmlado 2011-06-01 19:06

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1020369)
Feel free to use some code...i used some snippets from the web. I really should decide on a license...i'd like an open source license that still gives me the option of selling cheap on the ovi store. Any ideas?

Thank you.
I use GPL3+.
IMHO as the author you can give the app more then one type of license, only you need to write it like that. Probably you choose any, and add a section with exception.
Qt was licensed this way. You could get it under GPL and then you had to release your application under GPL, or you could get a commercial license and sell your app. Now with LGPL you can sell the app.

piggz 2011-06-01 20:07

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by mmlado (Post 1020379)
Thank you.
I use GPL3+.
IMHO as the author you can give the app more then one type of license, only you need to write it like that. Probably you choose any, and add a section with exception.
Qt was licensed this way. You could get it under GPL and then you had to release your application under GPL, or you could get a commercial license and sell your app. Now with LGPL you can sell the app.

Reading the GNU website, it says its ok so sell anyway, so GPLV3+ is probably as good as any, pending some further research http://www.gnu.org/philosophy/selling.html

attila77 2011-06-02 07:13

Re: [ANNOUNCE] Space Invaders in QML
 
LGPL is for libraries so does not really apply. GPL is OK, but as per Ovi rules, then you yourself have to provide the sources somewhere in some form (if you publish simultaneously to the free maemo.org extras-devel, that should be enough). You could go for a dual-license setup (piggz public license for Ovi, GPL for extras), but this might not be an option if you integrated snippets from all over the web.

And of course, IANAL :)

piggz 2011-06-02 21:28

Re: [ANNOUNCE] Space Invaders in QML
 
Level 17 is pretty impressive!

http://piggz.co.uk/index.php?page=spaceinvaders-scores

retsaw 2011-06-02 22:47

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1021279)

Heh, thanks. :D

I think I impressed myself with that one, the previous score I uploaded I lost my last two lives together, so I knew I could do better, but didn't think I'd get that far.

I think you've got the game pretty much perfect with this release.

piggz 2011-06-03 06:15

Re: [ANNOUNCE] Space Invaders in QML
 
A colleague thought that when you loose a life, the remaining bullets on screen should be deleted, to remove the possibility of that double death scenario. Thoughts?

phap 2011-06-03 07:06

Re: [ANNOUNCE] Space Invaders in QML
 
I agree, the remaining bullets should be deleted.

Now I have to go level 18!

Edit: I reachel level 33!

retsaw 2011-06-03 08:02

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1021461)
A colleague thought that when you loose a life, the remaining bullets on screen should be deleted, to remove the possibility of that double death scenario. Thoughts?

But that would make it easier!:eek:

I thought about suggesting some sort of invicibility for a couple of seconds after losing a life, but I think if you are careful you won't get into a situation where you need it, and well, it's not like I need the game to be any easier, not that I would want it to be harder either (that would make it less fun).

retsaw 2011-06-03 16:37

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by phap (Post 1021478)
I agree, the remaining bullets should be deleted.

Now I have to go level 18!

Edit: I reachel level 33!

Level 33! How could you do that to me, I've held the top spot for barely a day and you go and set a ridiculously high one like that. Oh well, gives me something to aim for. :D

JohnLF 2011-06-03 18:31

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1021461)
A colleague thought that when you loose a life, the remaining bullets on screen should be deleted, to remove the possibility of that double death scenario. Thoughts?

I have been meaning to suggest this, as I have been hit a few times with this and it is _really_ frustrating if you are doing well. I am sure the original deletes all the bullets (or they could continue to fall while the "explosion" animation is happening, with no more being released until you start again)

It's a great game, really enjoying it!

piggz 2011-06-03 22:21

Re: [ANNOUNCE] Space Invaders in QML
 
Just uploaded 0.3.4 to the auto builder with the following changes:
* Removed bullets when hit
* Really fixed bug where mystery ship sound continues if player is killed
* Added options for key configuration, left, right and fire
* Speed improvement on startup
* Better apply of useAccelerometer setting

To set the keys, click on the box in the settings pane for the key, and a message will pop up saying to press the key you want to use. It wont let you choose P or Q as these are predefined for Pause and Quit.

Enjoy.

JohnLF 2011-06-04 00:09

Re: [ANNOUNCE] Space Invaders in QML
 
found a bug, albeit not with the latest version, haven't been able to recreate it. Died on level 5, got the life lost msg. Died again, just got the explosion, no life lost msg. Third ship then invisible, I could only tell where it was when I fired. Game played normally otherwise, very weird. Anyway will upgrade to latest and see if it happens again.

Addison 2011-06-04 00:24

Re: [ANNOUNCE] Space Invaders in QML
 
Would your debbie work on the older Maemo 4 platform?

piggz 2011-06-04 08:05

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by Addison (Post 1021976)
Would your debbie work on the older Maemo 4 platform?

Ive no idea, i dont see why it wouldnt, so long as the older platform has a relatively new Qt + QML, but i dont have a device or sdk installed to try. Sorry.

piggz 2011-06-04 08:05

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by JohnLF (Post 1021971)
found a bug, albeit not with the latest version, haven't been able to recreate it. Died on level 5, got the life lost msg. Died again, just got the explosion, no life lost msg. Third ship then invisible, I could only tell where it was when I fired. Game played normally otherwise, very weird. Anyway will upgrade to latest and see if it happens again.

Ive seen this happen, usually when holding down the space bar to fire, is that what you were doing?

JohnLF 2011-06-04 10:57

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by piggz (Post 1022070)
Ive seen this happen, usually when holding down the space bar to fire, is that what you were doing?

I play with keyboard closed, using the screen tap to fire. Maybe I had left my finger on the screen, will try again. Not a major issue or anything as it's only happened once and as I said I've not been able to recreate it...

phap 2011-06-04 13:05

Re: [ANNOUNCE] Space Invaders in QML
 
Finally I can play with the game gripper! Thank you for this update! Just a little suggestion: the area for setting where you click should be a little bigger (not what you see but where you have to click), because most of the time I miss it.

piggz 2011-06-04 13:07

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by phap (Post 1022186)
Finally I can play with the game gripper! Thank you for this update! Just a little suggestion: the area for setting where you click should be a little bigger (not what you see but where you have to click), because most of the time I miss it.

I see you got a great score...unfortunately, i think whoever is currently number 1 has faked it already, im sure that score isnt even valid...i will add some code to the server to check for impossible scores.

The click area is the green box, which i thought was big enough, i'll look into it.

phap 2011-06-04 13:16

Re: [ANNOUNCE] Space Invaders in QML
 
Sure this score looks strange. Maybe he just waited for the special ship with only 1 invader left at every level...

For the area, I mean especially the down triangle... But maybe it's my fingers too big! Otherwise in the menu, when you click on for exemple 'Hi score', you have to click on the image, but in my opinion if you click on the word it should work as well

edit: what about some extra-lifes every xxx points or xxx level??

piggz 2011-06-04 13:35

Re: [ANNOUNCE] Space Invaders in QML
 
Quote:

Originally Posted by phap (Post 1022194)
Sure this score looks strange. Maybe he just waited for the special ship with only 1 invader left at every level...

For the area, I mean especially the down triangle... But maybe it's my fingers too big! Otherwise in the menu, when you click on for exemple 'Hi score', you have to click on the image, but in my opinion if you click on the word it should work as well

With the current scoring logic, the maximum per level is
22x10 = 220 +
22x20 = 440 +
11x30 = 330 +
300 (mystery ship)
--------
1290
*35=
45150

I can see your point about the touch areas, i'll see what i can do.

phap 2011-06-04 15:17

Re: [ANNOUNCE] Space Invaders in QML
 
Can it be only one mistery ship per level? If yes, then he's definitly cheating!

piggz 2011-06-04 15:27

Re: [ANNOUNCE] Space Invaders in QML
 
Yes, only 1 per level, and its worth 300 points. I'll delete with it later as i have to go to work, and i'll update the webserver to auto reject such cases :)


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8