maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Accelerometer game proposal: sheepdog (https://talk.maemo.org/showthread.php?t=36198)

Catacylsm 2010-01-31 16:30

Re: Accelerometer game proposal: sheepdog
 
I'm loving the idea, get it done :D.

hopbeat 2010-01-31 20:43

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by mivoligo (Post 503590)
Just updated Sheep and it still appear under System. Maybe it's something wrong with Catorise?

Strange, my sheep have nicely moved to games. Can you show me your /usr/share/applications/hildon/sheep.desktop ?

mivoligo 2010-01-31 21:43

Re: Accelerometer game proposal: sheepdog
 
I was trying to open it with emelfFM2 but got this:

Code:

usr/share/applications/hildon/sheep.desktop  (1828)
/usr/share/applications/hildon/sheep.desktop: line 1: [Desktop: not found
/usr/share/applications/hildon/sheep.desktop: line 8: X-HildonDesk-ShowInToolbar=true: not found
/usr/share/applications/hildon/sheep.desktop: line 9: X-Osso-Type=application/x-executable: not found
/usr/share/applications/hildon/sheep.desktop: line 10: LogicGame: not found
>/usr/share/applications/hildon/sheep.desktop (1828) returned '127'


hopbeat 2010-02-01 08:07

Re: Accelerometer game proposal: sheepdog
 
@mivoligo can you just past cat of this file?

RevdKathy 2010-02-01 08:12

Re: Accelerometer game proposal: sheepdog
 
We got a couple of column inches in the new Maemo Weekly News!

That should bring us a few more (Bo) Peeps to test our sheepies.

Baaaa

TNiga 2010-02-01 08:19

Re: Accelerometer game proposal: sheepdog
 
@mivoligo: I think Catorise doesn't re-check the .desktop file on app update, so you need to uninstall sheep and install it again for it to go to Games instead of System. At least this worked for me.

Fargus 2010-02-01 08:28

Re: Accelerometer game proposal: sheepdog
 
I know things are fairly feature complete now but just a thought: how about a competitive option? How about playing the same level with same difficultly (or handicapped play) to try and beat the time of the other player al-la head to head?
I'm thinking of packet exchange over bluetooth (hence short range) or possibly IP stack (remote).

mivoligo 2010-02-01 08:39

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by hopbeat (Post 504715)
@mivoligo can you just past cat of this file?

I've just reinstalled and it's fine now. :)

lcuk 2010-02-01 09:58

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by Fargus (Post 504734)
I know things are fairly feature complete now but just a thought: how about a competitive option? How about playing the same level with same difficultly (or handicapped play) to try and beat the time of the other player al-la head to head?
I'm thinking of packet exchange over bluetooth (hence short range) or possibly IP stack (remote).

i use the OpenSoundControl library to do IP multicast over the local LAN, it seems to work well and has a simple transport mechanism and can handle multiple machines

thats in C though, liblo, don't know if anything exists for qt.

ezcola 2010-02-01 12:05

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by aspidites (Post 416620)
I'd imagine they'd have a few wardens from the crazy bin come along as well.

"He was barking at his phone, doc!"

I do like the whistle idea though. Would be more interesting than barking, assuming there was a varied enough command set.

I just hope Nintendo doesn't try to file another file suit siting Nintendogs copyright infringement ;-)

************************************************** ****
Hi!

I just thought of possible solution/help if some sort of a whistling function would be wanted.
There is an app for maemo called tuner and it registers sound frequencies.
Tuner has been made by Joseph Torra and Jari Tenhunen.
http://maemo.org/downloads/product/Maemo5/tuner/

There might be some ready string of code that could possibly be implemented quite easily for sheep-dog.
For example a whistle could be a trigger that might amplify/boost some attribute of the dog like make it move faster for 5 seconds or have larger effect raduis or what ever... this feature could be limited according to level or difficulty and have different number of uses per level or difficulty.
And just to make it as complicated as possible (:p) there could be different whistling triggeres like 1 long whistle would make the dog faster for 5 seconds, 2 short whistles would make it bark couple of times to make the sheep gather into tighter pack... or what ever you can think of.

Just some thoughts.

Thanks for this project!
It's a grat example of what a this community can do!

hopbeat 2010-02-01 13:44

Re: Accelerometer game proposal: sheepdog
 
I think that multiplayer will be a killer feature, if at any summit I'm able to play with several people MaeSheep I can die happily :)

@ezcola, thanks for the tip, I will check this out.

The most important task for me is to work on the movement mechanics and get rid of some bugs. Then we are ready to hit new features :)

TNiga 2010-02-01 16:16

Re: Accelerometer game proposal: sheepdog
 
What's the purpose of the movable icons in top right corner?

EDIT: Only thing I noticed them to do is crash the game sometimes.

stobbsc 2010-02-01 16:19

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by TNiga (Post 505307)
What's the purpose of the movable icons in top right corner?

EDIT: Only thing I noticed them to do is crash the game sometimes.

If you move the icons to the bottom of the screen they become active.
So if you throw the bottom icon to the bottom of the screen the sound goes off.

There is a plan to add activated lines to make this less confusing.


I'm also up for a multiplayer version and for the whistling once again , any help such a dog noises I'm, your man he he he

hopbeat 2010-02-03 22:47

Re: Accelerometer game proposal: sheepdog
 
As a part of my Qt studies, I have complied and run MaeSheep on Symbian v5 (Nokia N97). I had to remove all the platform-specific stuff (e.g. resetting backlight, accelerometer handling) but the rest works.

Of course this is just-for-fun, I haven't done any optimization (different screen size). Still, within 2 or 3 hours, it should be possible to have sheep running perfectly well on this device. I will try and check non-touch device (Symbian v3).

Video

[edit] I have checked MaeSheep on Nokia N96 (non-touch device, Symbain v3). I can use the same binary as for N97 (no need to recompile) and it runs. This is really, really nice :)

RevdKathy 2010-02-04 07:51

Re: Accelerometer game proposal: sheepdog
 
Wow! Our sheep have escaped and gone native on symbian. Well done Hopbeat! that's terrific. Now you can be famous on two platforms instead of just one.

hopbeat 2010-02-10 21:29

Re: Accelerometer game proposal: sheepdog
 
It seems that despite our efforts, sheep will be penned in extras-devel for some time because of this. Not a great issue, but something good to know :)

RevdKathy 2010-02-10 21:35

Re: Accelerometer game proposal: sheepdog
 
Bah! (Baaa!) Still, we are ahead with being ready for PR1.2. Apps in Qt 4.5 need adapting.

zehjotkah 2010-02-13 16:00

Re: Accelerometer game proposal: sheepdog
 
I've made and uploaded a video about maeSheep:

maemo Games: maeSheep for N900

http://www.youtube.com/zehjotkah#p/u/0/1JmYmRDZmmw

RevdKathy 2010-02-13 17:58

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by zehjotkah (Post 524792)
I've made and uploaded a video about maeSheep:

maemo Games: maeSheep for N900

http://www.youtube.com/zehjotkah#p/u/0/1JmYmRDZmmw

I was watching you on twitter - you were doing very well with it too!
:)

lcuk 2010-02-13 18:13

Re: Accelerometer game proposal: sheepdog
 
yes hopbeat thats unfortunate right now, but not wholy unexpected.

we should do what we can though and have it ready for the same time - nice and finished and stable :)

was speaking with one of the maemo UX designers the other day about apps.
do we have UI sorted for splash screen and startup menu and the ultimate high score table?

might be an idea to call into #maemo-ui and speak with people if possible - show them the thread and the media assets we have and lets see if can round up the rest of the pieces people have offered in these threads.

hopbeat 2010-02-14 08:30

Re: Accelerometer game proposal: sheepdog
 
@zehjotkah, thanks!
@lcuk, sounds good, time to put everything together is slowly coming :)

Sheep have been in slight winter sleep for a while, but I should be back to them this week. I have the whistling thing almost sorted out, it wont't be perfect but should be usable (if anyone has some experience with gstreamer I could use some help :)

RevdKathy 2010-02-14 09:52

Re: Accelerometer game proposal: sheepdog
 
Sheep were safely grazing, I assumed. Mind, Zehjotkah gave them a good working out yesterday - do we have a 12 step programme for addicts?

Concentrate on your studies first, Hopbeat. Whistling at our sheep will still be there in the spring. :)

(Great ideas, Lcuk)

hopbeat 2010-02-14 16:17

Re: Accelerometer game proposal: sheepdog
 
maesheep 0.0.1 is now in extras-devel (remember, monsters out there).
Before installing, please remove sheep (if installed), from now on the package will use the name maesheep.

The main change here is the initial support for whistling. On the left hand side you can see a whistle icon and a 'dog power bar'. When the bar reaches 0 you won't be able to move your dog around.
To charge the bar, press and hold the icon (the bar will get green) and whistle.

The mechanism is a bit laggy, you while see the results after a while (keep the icon pressed). It is not perfect, at the moment however it seems like a gstreamer issue to me (and well, this game is a testground for me, so not everything must be perfect :) ). I found that three short and loud whistles work best for me. You should be able to find your own way :)

Any feedback, as always, is appreciated (although yes, I know that whistling thing lags).
Enjoy :)


[edit] WARNING: when the game starts it may look as if it crashed (the window closes and shows you menu). In fact the game is starting, just give it a few seconds. This will be soon fixed.

RevdKathy 2010-02-14 18:20

Re: Accelerometer game proposal: sheepdog
 
The new version is very glitchy. It has crashed on me every other time I tried to open it. And once I managed to get a field with no sheeps and no dog. (But I could still hear them!)

Not sure how to make the whistle bit work - the dog was about as responsive as my terrier.

hopbeat 2010-02-14 18:27

Re: Accelerometer game proposal: sheepdog
 
@RevdKathy, this is strange. It may take a while longer for the game to open (it may look like it crashed, but it will start) and it may be slightly slower (due to whistling module) but nothing as serious as you're describing.

Could anyone confirm if it is working for them or not?

[edit] any chance that after seeing the game as if it didn't start (window apparently closes and brings you back to the menu, but the application itself should start in a few seconds) you run it multiple times?

RevdKathy 2010-02-14 18:30

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by hopbeat (Post 526213)
@RevdKathy, this is strange. It may take a while longer for the game to open (it may look like it crashed, but it will start) and it may be slightly slower (due to whistling module) but nothing as serious as you're describing.

Could anyone confirm if it is working for them or not?

Three times it has opened, run with the little circling to show it's doing something, then returned me to the desktop. Then once it opened and I got an empty field.

I'll do a reboot and see if things stabilise.

hopbeat 2010-02-14 18:36

Re: Accelerometer game proposal: sheepdog
 
@RevdKathy, yes, when the windows with the circle disappears the application is still starting, even though it may take you to the desktop. So give it a few seconds and you see happy sheep on the field :)

Qt currently does not support splash screens, so I will need to change start path to prevent this behaviour (move loading sounds to after some graphics is shown).

RevdKathy 2010-02-14 18:40

Re: Accelerometer game proposal: sheepdog
 
Aha! I am being impatient. Sorry!

hopbeat 2010-02-15 07:54

Re: Accelerometer game proposal: sheepdog
 
@RevdKathy, does it work for you?

zehjotkah 2010-02-15 08:03

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by hopbeat (Post 526949)
@RevdKathy, does it work for you?

For me it works, but I don't understand the whistle...
We have a constantly decreasing bar, if we click on the whistle, the bar will turn green, and decrease faster. If we plant plants the bar will decrease faster, too. Right?
But it's decreasing so fast, you can't finish the game anymore... Or it's just me?

RevdKathy 2010-02-15 08:19

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by hopbeat (Post 526949)
@RevdKathy, does it work for you?

It's opening now, yes. But I'm not understanding the whistle, either. Is my dog deaf?

stobbsc 2010-02-15 09:13

Re: Accelerometer game proposal: sheepdog
 
HI All,
I been a away for a few days, I come and see there is talk of a new version of our beloved sheep.

Why are there now two downloads? Sheep and MaeSheep?

stobbsc 2010-02-15 09:19

Re: Accelerometer game proposal: sheepdog
 
Also when I try to install the new versions I get a conflict error for this package:
libqt4-maemo5-dbus(4.6.2-git20100203-0maemo1)

How do I resolved this conflict?

hopbeat 2010-02-15 09:26

Re: Accelerometer game proposal: sheepdog
 
@zehjotkah and @RevdKathy, press the whistle button and while pressed whistle to the phone. Keep it pressed (bar should be green) and after a while it should increase. I will make a video to show you how this works (in the evening), guess it needs some works in the user-friendliness department :)
I will fix the behaviour of quicker bar decrease when doing some activites, I just need separate counter for this.

@stobbsc, it is now MaeSheep. And to resolve the conflict just run

Code:

apt-get update
and

Code:

apt-get upgrade
as root on your n900. The problem is with qt 4.6 libraries that need to be upgraded manually.

noobmonkey 2010-02-15 09:43

Re: Accelerometer game proposal: sheepdog
 
Sorry been away from this thread a while! - just checked and i can now see two sheep versions in dev, maesheep (0.0.1-2) and sheep (0.0.2-5).

Assuming the sheep one is the newer version? (Nice icon by the way!!)

hopbeat 2010-02-15 09:53

Re: Accelerometer game proposal: sheepdog
 
@noobmonkey, no, actually the maesheep is the newer one, we have decided on this name.
I will get the sheep one pulled out of repositories not to create confusion.

zehjotkah 2010-02-15 09:53

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by noobmonkey (Post 527036)
Sorry been away from this thread a while! - just checked and i can now see two sheep versions in dev, maesheep (0.0.1-2) and sheep (0.0.2-5).

Assuming the sheep one is the newer version? (Nice icon by the way!!)

No, maeSheep is newer.

edit: hopbeat was faster :D

stobbsc 2010-02-15 09:54

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by hopbeat (Post 527026)
@zehjotkah and @RevdKathy, press the whistle button and while pressed whistle to the phone. Keep it pressed (bar should be green) and after a while it should increase. I will make a video to show you how this works (in the evening), guess it needs some works in the user-friendliness department :)
I will fix the behaviour of quicker bar decrease when doing some activites, I just need separate counter for this.

@stobbsc, it is now MaeSheep. And to resolve the conflict just run

Code:

apt-get update
and

Code:

apt-get upgrade
as root on your n900. The problem is with qt 4.6 libraries that need to be upgraded manually.

When running the upgrade I get an error:
You don't have enough free space in /var/cache/apt/archives/.

How can I free up some space there?

thanks again for the help

mece 2010-02-15 09:58

Re: Accelerometer game proposal: sheepdog
 
Quote:

Originally Posted by stobbsc (Post 527045)
When running the upgrade I get an error:
You don't have enough free space in /var/cache/apt/archives/.

How can I free up some space there?

thanks again for the help

you need to move the apt cache away from rootfs.
There are several ways to do this, for example number 3 here: http://talk.maemo.org/showpost.php?p=468063&postcount=1

hopbeat 2010-02-15 11:21

Re: Accelerometer game proposal: sheepdog
 
Soooo...
Do we now need to change MaeSheep to MeeSheep ? It even sounds more sheepish :)


All times are GMT. The time now is 14:55.

vBulletin® Version 3.8.8