| Prev |   1   2   3   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Announce: Omnom (Pacman-like game for N900) (https://talk.maemo.org/showthread.php?t=67508)

FRuMMaGe 2010-12-30 14:49

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 907615)
compiling git? You using gentoo?

Ubuntu 10.04

Just following instructions I found online. Apparently git was not in the repos

epage 2010-12-30 14:54

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by FRuMMaGe (Post 907616)
Ubuntu 10.04

Just following instructions I found online. Apparently git was not in the repos

Check for the package "git-core", I think that is what it is called. Or usually if you try to run a command and don't have it installed, ubuntu will tell you the package name.

A somewhat decent app for browsing revision history is giggle.

EDIT: also if you do "apt-cache search git" that will give a list of potential packages.

FRuMMaGe 2010-12-30 15:07

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
1 Attachment(s)
Quote:

Originally Posted by epage (Post 907621)
Check for the package "git-core", I think that is what it is called. Or usually if you try to run a command and don't have it installed, ubuntu will tell you the package name.

A somewhat decent app for browsing revision history is giggle.

EDIT: also if you do "apt-cache search git" that will give a list of potential packages.

Made a few very minor changes:

Removed the SPACEBAR function of restarting the level. This was only for testing purposes and it's easy (and annoying) to press this by accident.

Changed player 2 controls from "s x z a" to "e f c s" to allow for easier keyboard sharing in local multiplayer.

EDIT: I've had a look, but can't solve this one myself. The hand drawn levels 4, 5 and 12 no longer load the correct background colour (180, 180, 180). Also for some reason I can no longer close the app with the x in the corner

EDIT 2: Also, the enemies used in the boss level are the same as in every other level. These need to be the bigger versions for any sort of challenge as well as being 50% faster than the player. :)

Can be simply done by changing:
"monster_01": "monster.png",
to "monster_01": "monsterBoss.png",

I'm still trying to understand how the levels are done now

mattbutsko 2010-12-30 18:10

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
what's the package called for the repo? I've grabbed updates twice both from fapman and terminal as a troubleshooter but cant seem to find it.

epage 2010-12-30 18:30

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by mattbutsko (Post 907768)
what's the package called for the repo? I've grabbed updates twice both from fapman and terminal as a troubleshooter but cant seem to find it.

The package is "Omnom" (see package page http://maemo.org/packages/view/omnom/) but it is only available in extras-devel because there are still things to resolve before pushing it into extras-testing (and eventually extras).

mattbutsko 2010-12-30 20:14

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Yeah I've got all the major repos enabled but I can't seem to find that package.

I'll just download it from the site.

epage 2010-12-30 20:29

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by mattbutsko (Post 907833)
Yeah I've got all the major repos enabled but I can't seem to find that package.

I'll just download it from the site.

I just did the following
Code:

apt-get update
apt-cache search omnom # found it
apt-get install omnom

Weird.

FRuMMaGe 2010-12-30 20:40

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by mattbutsko (Post 907833)
Yeah I've got all the major repos enabled but I can't seem to find that package.

I'll just download it from the site.

It's definitely in extras-devel. Not sure why you can't find it

mattbutsko 2010-12-30 21:18

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Yeah it isn't showing up, no biggy.

It shows great promise. Can't wait to see how this plays out.

epage 2010-12-31 04:26

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
I just pushed out 0.2.2 which includes the following:
  • Updating Player 2 keybindings
  • Code cleanup
  • Fixing the boss in level 15
  • Fixing the display glitches in paper mode
  • Adding back in the second player on all of the maps

FRuMMaGe 2010-12-31 18:00

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 908079)
I just pushed out 0.2.2 which includes the following:
  • Updating Player 2 keybindings
  • Code cleanup
  • Fixing the boss in level 15
  • Fixing the display glitches in paper mode
  • Adding back in the second player on all of the maps

Just tested the new version. All is well.

I suppose the only major changes I am capable of doing now is level design. Would be great to have 50+ levels

epage 2010-12-31 18:26

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by FRuMMaGe (Post 908498)
Just tested the new version. All is well.

I suppose the only major changes I am capable of doing now is level design. Would be great to have 50+ levels

Was there nothing else you were planning on adding to the game logic or UI? I hope nothing I've changed or said is discouraging you from working on this.

I've been throwing around ideas for level designs (and game logic tweaks to spice things up) in the README (https://github.com/epage/omnom). If there is interest in some of those game ideas, maps could be made now and then later adapted as new logic is added.

FRuMMaGe 2010-12-31 20:51

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Well I have a few more ideas, but it's taken me months to get the game to where it was when I uploaded it, and I'm not sure how much further my python knowledge can take it.

I'll do what I can though :)

New ideas:

Multiple monster types per level
Some monster types split in 2 when attacked
Items to temporarily slow monsters
Introduce AI pathing to actively chase player
Custom key bindings
Multiple block types per level
Scrolling levels, so levels can be much bigger

Just the ones I can remember at the moment :D

amadeukaos 2011-01-11 15:21

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
its only me that cant start the game? it shows the initial screen, but the only button that i click an go to another screen is the setup, de rest dont do nothing. :( how i start to play? the game looks awesome!

epage 2011-01-11 15:35

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 917882)
its only me that cant start the game? it shows the initial screen, but the only button that i click an go to another screen is the setup, de rest dont do nothing. :( how i start to play? the game looks awesome!

Please include the version of Omnom and what device you have.

I just tried this 0.2.2 on my n900 and it worked. I might be missing a needed dep though.

Would you mind trying to launch from the command line? and reporting the test it outputs?
Code:

/opt/omnom/nom.py
I've been slowly experimenting with some UI changes which one day I hope to release :)

amadeukaos 2011-01-11 16:51

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 917899)
Please include the version of Omnom and what device you have.

I just tried this 0.2.2 on my n900 and it worked. I might be missing a needed dep though.

Would you mind trying to launch from the command line? and reporting the test it outputs?
Code:

/opt/omnom/nom.py
I've been slowly experimenting with some UI changes which one day I hope to release :)

Its the last version 0.2.2-0
and this is the log of me clicking repeated on the "levels"


/opt/omnom/nom.py
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 451, in doLvl1
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 467, in doLvl3
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 467, in doLvl3
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
Traceback (most recent call last):
File "/opt/omnom/nom.py", line 467, in doLvl3
nomMain().MainLoop()
File "/opt/omnom/nom.py", line 42, in __init__
pygame.mixer.init()
pygame.error: Could not open requested file
/opt/omnom $ /opt/omnom/nom.py


thanks!!

amadeukaos 2011-01-11 16:53

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Maybe I have to install some python plugin?

epage 2011-01-11 17:28

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 917946)
Maybe I have to install some python plugin?

It looks like we aren't gracefully handling failure to gain access to play audio.

amadeukaos 2011-01-11 18:32

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 917976)
It looks like we aren't gracefully handling failure to gain access to play audio.

Any sugestion? Thanks!

epage 2011-01-11 18:34

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 918038)
Any sugestion? Thanks!

Well, hopefully tonight I'll get a build out that more gracefully handles this. As to why, i'll have to do some twiddling around.

amadeukaos 2011-01-12 20:49

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
So, I see the update, but still fails on my n900

Then i get and idea, opened and edited the config.py, seting gameMusic = False AND gameSound = False

Now it works! Great game! Only one thing, can you set the movement to be a one single hit to de side you want to go, like Pac Man? Like type right one time and the thing goes to right until stops in a wall or hit another direction?

Thanks! :)

epage 2011-01-12 20:53

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 918996)
So, I see the update, but still fails on my n900

Then i get and idea, opened and edited the config.py, seting gameMusic = False AND gameSound = False

Now it works! Great game! Only one thing, can you set the movement to be a one single hit to de side you want to go, like Pac Man? Like type right one time and the thing goes to right until stops in a wall or hit another direction?

Thanks! :)

Hmm, it should auto-set gameMusic and gameSound to false when it fails to init the sound mixer. Maybe I put that change in after the build.

Its been so long since I've played pacman. Let me reword your statement to see if I understand it. In the original pacman, you didn't hold down arrow keys to move but you pressed a key to get pacman going in a direction until he hits something. That correct?

amadeukaos 2011-01-12 21:29

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 919000)
In the original pacman, you didn't hold down arrow keys to move but you pressed a key to get pacman going in a direction until he hits something. That correct?

Exactly! He stops until he hits something, or put in another direction. But if he is going to right, and I press UP or DOWN, he continues to right until he CAN go UP or DOWN, he dont stop in the middle...

Sorry for my bad english, and thanks!

epage 2011-01-13 03:40

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 918996)
So, I see the update, but still fails on my n900

Then i get and idea, opened and edited the config.py, seting gameMusic = False AND gameSound = False

Now it works! Great game! Only one thing, can you set the movement to be a one single hit to de side you want to go, like Pac Man? Like type right one time and the thing goes to right until stops in a wall or hit another direction?

Thanks! :)

Wait, did you try 0.2.3 or 0.2.4? Looking back it seems i did both notice the problem and uploaded a new package. 0.2.3 fixed the mixer load issue, 0.2.4 auto-disabled sounds.

FRuMMaGe 2011-01-14 16:21

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by amadeukaos (Post 919029)
Exactly! He stops until he hits something, or put in another direction. But if he is going to right, and I press UP or DOWN, he continues to right until he CAN go UP or DOWN, he dont stop in the middle...

Sorry for my bad english, and thanks!

I attempted this originally in the early development stages but was unable to get it working. I'm sure epage can handle it though. :)

it doesnt make a difference to me as I play using a sixaxis which makes it 10 times easier.

Sorry for my lack of input recently, I have been busy applying to university and have just been dumped from a 3 year relationship

epage 2011-01-14 16:49

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by FRuMMaGe (Post 920285)
I attempted this originally in the early development stages but was unable to get it working. I'm sure epage can handle it though. :)

it doesnt make a difference to me as I play using a sixaxis which makes it 10 times easier.

Sorry for my lack of input recently, I have been busy applying to university and have just been dumped from a 3 year relationship

Life can keep one busy. I've been having to push out new releases for several of my other applications which has kept me tied up. I think I can take a break now.

Don't know what your thoughts are on this but I've been experimenting with the game using QGraphicsView. This would reduce the spawning of processes, loss of focus, etc. I have no clue how the performance will be yet. I've got everything drawing on the screen along with buttons for task switcher and back but haven't gotten around to hooking the view up with their controllers.

Even if my experimentation fails, my new start screen (more mario kart like) will be nice.

FRuMMaGe 2011-01-14 18:19

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 920317)
Life can keep one busy. I've been having to push out new releases for several of my other applications which has kept me tied up. I think I can take a break now.

Don't know what your thoughts are on this but I've been experimenting with the game using QGraphicsView. This would reduce the spawning of processes, loss of focus, etc. I have no clue how the performance will be yet. I've got everything drawing on the screen along with buttons for task switcher and back but haven't gotten around to hooking the view up with their controllers.

Even if my experimentation fails, my new start screen (more mario kart like) will be nice.

A new start screen sounds great. the current one really was a very quick disign I knocked out in 5 minutes in QtDesigner. Just for development purposes really

epage 2011-01-14 18:23

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by FRuMMaGe (Post 920379)
A new start screen sounds great. the current one really was a very quick disign I knocked out in 5 minutes in QtDesigner. Just for development purposes really

So then I'll probably port those code changes forward first and then finish working on any other things.

titiris 2011-01-16 23:40

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Hi,
I can't play the game, because my Spanish keyboard has no UP and DOWN keys: http://www.gsmspain.com/foros/attach/20/206821.jpg
Italian keyboards have the same arrow keys
could you solve it? perhaps a keys configuration menu, also for those unhappy with the standard keys assignment

thanks for sharing your work!

epage 2011-01-17 14:12

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by titiris (Post 921906)
Hi,
I can't play the game, because my Spanish keyboard has no UP and DOWN keys: http://www.gsmspain.com/foros/attach/20/206821.jpg
Italian keyboards have the same arrow keys
could you solve it? perhaps a keys configuration menu, also for those unhappy with the standard keys assignment

thanks for sharing your work!

My priorities:
  • Finish integrating the new launch screen
  • Make key mappings data driven
  • Make key mappings configurable
  • Experiment with artwork
  • Finish up the last things needed to push to extras-testing

To the side of those I'm also working on an experimental in-game UI. I'm tempted to add touch control, not sure if it'll go in the mainline in-game UI or the experimental.

The new launch screen is coming along. It looks great. I've just got a little bit more testing to do, re-introducing the config window, and figure out how I slowed down game play again.

epage 2011-01-18 03:49

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
I'm preparing to push out an updated Omnom with the new level selector. I think there still might be some kinks in it, so please let me know what I broke :)

epage 2011-01-18 15:37

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Issues:
  • The campaign selection button is highlighted before you even press it
  • The default campaign's levels don't automatically show up
  • Exiting a level with backspace puts you back in it again. Next backspace pulls you out
  • I've not played with task switching
  • I think somethings not quite right about lives count
  • Weird box characters in the display

I forgot to mention, "r" restarts a level and "n" skips the level and lets you move onto the next.

FRuMMaGe 2011-01-18 18:15

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by epage (Post 923081)
Issues:
  • The campaign selection button is highlighted before you even press it
  • The default campaign's levels don't automatically show up
  • Exiting a level with backspace puts you back in it again. Next backspace pulls you out
  • I've not played with task switching
  • I think somethings not quite right about lives count
  • Weird box characters in the display

I forgot to mention, "r" restarts a level and "n" skips the level and lets you move onto the next.

When I made the game I had 2 seperate lives counters. playerLives was 2, and refered to the amount of attempts you have left before you lose a life. So getting hit by an enemy returns you to your spawn but does not reset the level, but getting hit again causes you to lose a life from the deathCount variable.

Not sure if these are still used but just thought I'd mention it as its kind of confusing

Zekahz 2011-01-26 11:03

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
In pacman the character is locked to the grid. Here if you want to make a corner you sometimes get stuck.

jcharpak 2011-02-06 23:59

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
omnom is available for diablo but is not installable due to inability of HAM to find python-pygame.

ETA apparently because the package is called python2.5-pygame on Diablo. Since it built on Diablo's autobuiler I'm guessing build-depends is correct but depends is wrong for Diablo?

epage 2011-02-08 00:31

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by jcharpak (Post 937783)
omnom is available for diablo but is not installable due to inability of HAM to find python-pygame.

ETA apparently because the package is called python2.5-pygame on Diablo. Since it built on Diablo's autobuiler I'm guessing build-depends is correct but depends is wrong for Diablo?

Yeah, I was awaiting getting more done before doing any serious Maemp 4.1 testing. I'm going ahead and prepping a build with the dep fix. Performance is going to be a killer though. We'll need to learn some lessons from projects like SolarWolf to figure out how to handle this or look to see if it is easier to get good performance with some Qt stuff.

I've been jumping around between projects too much to give this too much attention lately.

hellsing 2011-02-09 09:55

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Hello,

It is possible to add a support for non qwerty keyboard?
On azerty keyboard for exemple, we can only do left/right, up and down are done with fn+left and fn+right.

epage 2011-02-09 11:41

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Quote:

Originally Posted by hellsing (Post 939778)
Hello,

It is possible to add a support for non qwerty keyboard?
On azerty keyboard for exemple, we can only do left/right, up and down are done with fn+left and fn+right.

There is plans to add configurable key bindings. I need to find my post for what my roadmap is.

epage 2011-02-19 19:58

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
@FRuMMaGe I'm requesting a spot on bugs.maemo.org to pass off the bug tracker extras requirement. Do you have an account on it? Would you like to have rights to edit bugs?

JamesBond@ge 2011-02-19 20:35

Re: [Maemo 5] Announce: Omnom (Pacman-like game for N900)
 
Overclock to 800mhz just to play a Pacman style game?

I'll pass on that, thanks. I'd sooner fire up Picodrive and play Pacmania on my stock phone.

It's a nice idea and all, but I don't want to overclock my phone, just to play Pacman.


| Prev |   1   2   3   | Next
All times are GMT. The time now is 21:26.

vBulletin® Version 3.8.8