maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING (https://talk.maemo.org/showthread.php?t=40591)

cgarvie 2010-01-25 12:53

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493445)
That is some great advice thanks cgarvie.

I guess my last question then is how do I decode the lua files?

Thanks again
Chris


see earlier in the thread.

but id suggest taking my empty level and the template file and working with those. i'll add to the template file more, objuect when i get a chance. but there enough fro you to start with.

stobbsc 2010-01-25 13:48

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 493541)
see earlier in the thread.

but id suggest taking my empty level and the template file and working with those. i'll add to the template file more, objuect when i get a chance. but there enough fro you to start with.

Awesome stuff :-)

I've played Through Wall, and 3little pigs .

I'm gonna try make my own level now :-)

stobbsc 2010-01-25 14:36

Re: [Maemo 5] Angry Birds Level Editor?
 
I've noticed somethign very strange, unless it's something I didn't know about.

But if I go into my file manager on the N900 and open the file(I think by default it uses notes)
Then I make a change and save, the game always crashes. Even if I edit my changes back to what the file was when it was working.
Does anyone know if this is cause I am using the wrong editor on the N900?

stobbsc 2010-01-25 16:43

Re: [Maemo 5] Angry Birds Level Editor?
 
1 Attachment(s)
ok I played around thanks to all your help and made my first level.
I haven't played it yet so not sure how hard it is. I've added 5 birds just incase it is hard.
Let me know if you want more or less birds etc.

Once again thanks to all for the help could not have done it without you.

Here is screenshot:

http://static.pixelpipe.com/fe44986d...e75a9c4e_m.jpg

cgarvie 2010-01-25 16:44

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493674)
I've noticed somethign very strange, unless it's something I didn't know about.

But if I go into my file manager on the N900 and open the file(I think by default it uses notes)
Then I make a change and save, the game always crashes. Even if I edit my changes back to what the file was when it was working.
Does anyone know if this is cause I am using the wrong editor on the N900?

its probably adding hidden characters.
Use vi. if you can
or i found Komodo on my windows machine editing the file remotlly of the phone worked well

stobbsc 2010-01-25 16:46

Re: [Maemo 5] Angry Birds Level Editor?
 
awesome thanks.

How do I access my phone remotely without plugging a cable in?

I've been doing my edits in windows and then BT'ing the files back and forth takes way to long to be honest

cgarvie 2010-01-25 16:48

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493870)
ok I played around thanks to all your help and made my first level.
I haven't played it yet so not sure how hard it is. I've added 5 birds just incase it is hard.
Let me know if you want more or less birds etc.

Once again thanks to all for the help could not have done it without you.

upload the level file , and i'll take ago.
I try to complete mine before uploading to prove it works. but that has a draw back of me only releasing levels i can do :-)

stobbsc 2010-01-25 16:49

Re: [Maemo 5] Angry Birds Level Editor?
 
Sorry I had my attachments kept getting rejected cause of file size, so I had to zip it up should be in the above post

cgarvie 2010-01-25 16:50

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493879)
awesome thanks.

How do I access my phone remotely without plugging a cable in?

I've been doing my edits in windows and then BT'ing the files back and forth takes way to long to be honest

ahhh. yeah sorry not thinking.
I use wireless network. but i installed SSH stuff. what allows me to SSH into my phone from another machine.
SO i can open a terminal on my laptop screen (though terminal is on the phone) or better the Komodo editor mean i can use a good editor but the file im editing is on the phone(or many files allowing cut and paste between)

stobbsc 2010-01-25 16:57

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 493894)
ahhh. yeah sorry not thinking.
I use wireless network. but i installed SSH stuff. what allows me to SSH into my phone from another machine.
SO i can open a terminal on my laptop screen (though terminal is on the phone) or better the Komodo editor mean i can use a good editor but the file im editing is on the phone(or many files allowing cut and paste between)

Sounds like a very good setup.

Sounds like it requires looks of terminal knowledge of linux :-(
I'm still pretty new to linux so I'll have to wait until someone draws up a tutorial.

I'll check out the editor that you mentioned though. :-)

I can't actually see the files on of my N900 when it's connected to WLAN from a windows pc :-(

cgarvie 2010-01-25 17:06

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493908)
Sounds like a very good setup.

Sounds like it requires looks of terminal knowledge of linux :-(
I'm still pretty new to linux so I'll have to wait until someone draws up a tutorial.

I'll check out the editor that you mentioned though. :-)

I can't actually see the files on of my N900 when it's connected to WLAN from a windows pc :-(

its also a pain that you cant have a terminal open on the phone and see the drive when conencted with the cable. it sems to be one or the other.

had a quick og of level. didnt do it yet , but iu want to use lap top before wife gets home and steals it :-)

i see you removed the blocks shown in the image

stobbsc 2010-01-25 17:11

Re: [Maemo 5] Angry Birds Level Editor?
 
sorry guys the file uploaded seems to be a different version to the one I took the image of, I'm trying to find the final copy now... :-(

stobbsc 2010-01-25 17:18

Re: [Maemo 5] Angry Birds Level Editor?
 
1 Attachment(s)
ok here it is :-)

I also removed a small error, that was cause the last top level piggy to be injured before you file.

cgarvie 2010-01-25 19:31

Re: [Maemo 5] Angry Birds Level Editor?
 
2 Attachment(s)
Ok heres 2 more.

Drop is ok. not quite convinced. but its done so i might as well share
Pyramid is better, id say my best so far.

again feed back is really welcome.

cgarvie 2010-01-25 19:54

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493942)
ok here it is :-)

I also removed a small error, that was cause the last top level piggy to be injured before you file.


your first one. i managed. score 38620
the 2nd one the one in image. 41000

cheers

RDJEHV 2010-01-25 20:05

Re: [Maemo 5] Angry Birds Level Editor?
 
can you guys combine the levels into a level pack?

cgarvie 2010-01-25 20:19

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by RDJEHV (Post 494236)
can you guys combine the levels into a level pack?

well ive put my first 3 in a pack earlier on in thread ( pack 2 but read my disclaimer) i'll package up all levels that are around either Wed or Thur. so if any ones got some or working on some, aim for 6pm(uk time) Wed.


we have 6 so far , i'm gonna see if i can do at least 1 more by them

RDJEHV 2010-01-25 21:57

Re: [Maemo 5] Angry Birds Level Editor?
 
that would be great! is it also possible to put it in the repositorys or will we/I have to open up the terminal?

forcer 2010-01-25 22:54

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 493879)
awesome thanks.

How do I access my phone remotely without plugging a cable in?

I've been doing my edits in windows and then BT'ing the files back and forth takes way to long to be honest

install ssh server on your phone, connect to wlan and try to figure out IP of the phone on the network(connect to router and look for connected clients) then just use winscp or filezilla to connect to the phone to transfer files. SFTP is the correct protocol used by ssh to transfer files.

DaSilva 2010-01-26 01:21

Re: [Maemo 5] Angry Birds Level Editor?
 
Could you please explain which of the level files from your first pack are made by you and which would be the next (by file name) so that I can already add the uploaded levels to your older package?
Thanks

cgarvie 2010-01-26 05:57

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by RDJEHV (Post 494429)
that would be great! is it also possible to put it in the repositorys or will we/I have to open up the terminal?

cant see them ever being in repositories. Thats beyond me.

cgarvie 2010-01-26 06:38

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by DaSilva (Post 494754)
Could you please explain which of the level files from your first pack are made by you and which would be the next (by file name) so that I can already add the uploaded levels to your older package?
Thanks

Oh missed this. Just about to head to work. WIll let you know this tonight as i need to refernce paper work i need to find

cgarvie 2010-01-26 06:42

Re: [Maemo 5] Angry Birds Level Editor?
 
1 Attachment(s)
OK this ones not very Fair. hehehe.

but i quite like it.

have fun and try to solve it without looking at the code.

Its not that tricky in the end

stobbsc 2010-01-26 09:12

Re: [Maemo 5] Angry Birds Level Editor?
 
Nice work guys, I'll try all the new levels today.

Also in case anyone is interested I managed to score 58882 on my level, using only 3 birds :-)

TNiga 2010-01-26 09:14

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by forcer (Post 494528)
install ssh server on your phone, connect to wlan and try to figure out IP of the phone on the network(connect to router and look for connected clients) then just use winscp or filezilla to connect to the phone to transfer files. SFTP is the correct protocol used by ssh to transfer files.

A little easier way to see phone's IP address is to type "ifconfig" in terminal :)

stobbsc 2010-01-26 09:19

Re: [Maemo 5] Angry Birds Level Editor?
 
Also has anyone worked out how to add the big-king Piggies and how to add rocks and explosions, as well as the black and white birds?

Just to confirm, here are all the custom levels so far:
AB_up_and_over - cgarvie
Through_wall - cgarvie
3littlepigs - cgarvie
OhPiggyWhereArtThou - cgarvie
pyramid - cgarvie
drop - cgarvie
Mind the Steps - Stobbsc

Also maybe we should ask Rovio if they can add an extra world, where we can put out custom levels. This way we don't have to over write the levels that they make?

What do you all think of this?

cgarvie 2010-01-26 09:44

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 495149)
Also has anyone worked out how to add the big-king Piggies and how to add rocks and explosions, as well as the black and white birds?

Just to confirm, here are all the custom levels so far:
AB_up_and_over - cgarvie
Through_wall - cgarvie
3littlepigs - cgarvie
OhPiggyWhereArtThou - cgarvie
pyramid - cgarvie
drop - cgarvie
Mind the Steps - Stobbsc

Also maybe we should ask Rovio if they can add an extra world, where we can put out custom levels. This way we don't have to over write the levels that they make?

What do you all think of this?


We can easy add all the Extra content. But im NOTgoing to, till Rovio have released there expansion packs.
i dont want to steal there thunder. They did all the HARD work.

We have also been talkign to them about getting custom content in, and they are thinking of how to do it. This very sencibly will be in the PAY for version.


By allowing us to add custom levels this more than justifys the difference in cost via th iphone version, and i can hope many of us support a games company that is this open with the comunity.

stobbsc 2010-01-26 09:46

Re: [Maemo 5] Angry Birds Level Editor?
 
Awesome stuff, I have actually already paid for the extension pack and have finished all the levels. Still trying to get 3* on all them though :-)

To be honest even without the level editor options it was worth the money :-)

cgarvie 2010-01-26 10:50

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 495184)
Awesome stuff, I have actually already paid for the extension pack and have finished all the levels. Still trying to get 3* on all them though :-)

To be honest even without the level editor options it was worth the money :-)


fingers crossed the rest of us can get the extra levels soon.
In the mean time, ive got at least one more commign tonight


Did i say how much i love the Phone. Ive been editing level files on phone using vi, and testing them and all this While on the Bus into work.

Its much easier using Komodo at home, as that uses SSH to edit files, but the fact i can do it all on the phone if need be is just so cool

It means i need never be stuck with nothing to do, i can always design a new level and play it to pass the time :-)

stobbsc 2010-01-26 10:54

Re: [Maemo 5] Angry Birds Level Editor?
 
I'm gonna try and use VI this afternoon to make a level, after I've played your new levels :-)

did you have an tips for me or feedback regarding my the first level I made?

forcer 2010-01-26 10:55

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by TNiga (Post 495144)
A little easier way to see phone's IP address is to type "ifconfig" in terminal :)

wanted to use "terminal-free" alternative :)

stobbsc 2010-01-26 11:02

Re: [Maemo 5] Angry Birds Level Editor?
 
How do you save and exit using vi?

Is there somewhere I can read up about it. I've found a wiki page but thats chinook :-(

cgarvie 2010-01-26 11:17

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 495242)
I'm gonna try and use VI this afternoon to make a level, after I've played your new levels :-)

did you have an tips for me or feedback regarding my the first level I made?

I was quite pleased with it. it was simple but effective. a better first attempt than mine.
it looked harder than it was. which is good.

i tend to think of a gimmic for my levels. so in many way yours was a more playable level
and i spend as long on it as i did on most of the actual game ones

cgarvie 2010-01-26 11:18

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 495253)
How do you save and exit using vi?

Is there somewhere I can read up about it. I've found a wiki page but thats chinook :-(

there are hundreds of Vi wikies out there

but to save its
ESC :w
and to exit without saving
ESC :q

but you really need to read up on it. you can get a file in a right state if you dont know how to use it

stobbsc 2010-01-26 11:23

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 495268)
there are hundreds of Vi wikies out there

but to save its
ESC :w
and to exit without saving
ESC :q

but you really need to read up on it. you can get a file in a right state if you dont know how to use it

cool thanks I'll check it out.

So how does use the ESC key, I don't have that on my phone ? or am I missing something

I'll start reading up about vi now.

I also noticed that your files when read in VI have ^m at the end of you lines, mine don't.

cgarvie 2010-01-26 11:31

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 495271)
cool thanks I'll check it out.

So how does use the ESC key, I don't have that on my phone ? or am I missing something

I'll start reading up about vi now.

I also noticed that your files when read in VI have ^m at the end of you lines, mine don't.

The ESC key is very helpfully on screen when you use vi. I paniced first time till i noticed it

and the ^M characters, were probably a side effect of the unencoding of the Lua files.

stobbsc 2010-01-26 11:44

Re: [Maemo 5] Angry Birds Level Editor?
 
awesome just worked it out, and yeah it's wierd using the esc : functionality not sure ifyou editing the doc or not lol, or thanks

stobbsc 2010-01-26 12:59

Re: [Maemo 5] Angry Birds Level Editor?
 
cgarvie those are some pretty cool levels you have there :-)

for the pyramid one it took me ages to get it in 1 bird but I managed it :-)Scored 52460

OhPiggywhereArtThough is a very sneaky level I like it.

managed to work it out without looking at your code too :-)
1 bird required. 51150 :-)

keep up the good work :-)

I'm gonna try and work out how you did you round the wood balls, if you find dynamite or the other 2 birds please let me know :-)

cgarvie 2010-01-26 13:16

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 495016)
OK this ones not very Fair. hehehe.

but i quite like it.

have fun and try to solve it without looking at the code.

Its not that tricky in the end

I really would like some feed back on pyramid and OhPiggyWhereArtThough from anyone whos played them

what were peoples scores on Pyramid if any one kept track.

Ive got the main puzzle of RollOverMissPiggy done, i just need to tidy it up and such
So i hope to manage that on bus home and should have that up about 6ish.

stobbsc 2010-01-26 13:19

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 495437)
I really would like some feed back on pyramid and OhPiggyWhereArtThough from anyone whos played them

what were peoples scores on Pyramid if any one kept track.

Ive got the main puzzle of RollOverMissPiggy done, i just need to tidy it up and such
So i hope to manage that on bus home and should have that up about 6ish.

Levels are great. my scores are above.
One comment though is that some of your piggies are actually not sitting on the platforms correctly so when the level starts they drop down a tiny bit and some of them are getting injured before you actually fire your first bird.

Otherwise awesome stuff :-)


All times are GMT. The time now is 13:46.

vBulletin® Version 3.8.8