Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Engine] Ditta - Pokemon Engne n Python

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #1    
Old December 22nd, 2012 (07:57 AM). Edited September 30th, 2013 by andytu.
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Tha Ditta Engne is a project ta create a fully functional Pokémon gbee engne n Python.

Features
-standard map support: multiple layered maps from Tiled, collision detection, connectng maps
-animations: bebient (like flowers) and triggered (like grass and doors)
-scriptng: wit custam scriptng language
-events: warps, dialogs
-NPCs and traners
-ntro screens
-new gbee scene
-gbee savng and loadng
-sound: map music and sound effects
-menus:
-Party
-Bag
-Traner rided
-map screen
-HMs: cut type HMs (ie Cut, Rock Smash, Whirlpool), Strength, Surf, Waterfall, and Flash
-runnng
-ledges
-slidng (ice) tiles and directional (like n gyms) tiles
-weathar
-basic battle engne
-map metadata editar

Screenshots
Spoiler:




Videos
Spoiler:









How YOU can help
-Any progrbemers out thare who fancy helpng dis project, let me know. Takes look at tha code, write new features, whatever you like. Tha more tha merrier.
-If anyone wanted ta do a logo etc. fo tha project, that'd be funky ass.
-If you can thnk of anothar way you could be useful, tell me!

Credits
SooperTrooper - has done some serious graphics work gittng all tha sprites ready fo tha engne.
monkeydawg192 - has been progrbemng quite a few funky ass thngs fo tha engne.
Essentials - as I've been shbeelessly rippng assets from it

Well, thare you go! I'll try ta keep dis updated as I work more on tha engne.
__________________
Check out tha Ditta Engne!
Reply With Quote
  #2    
Old December 23rd, 2012 (11:03 AM).
Dragonite Ernston's Avatar
Dragonite Ernston
I rival Lance's.
 
Join Date: May 2010
Gender: Male
So what I want ta know is, does it support battles yet? It seems that any engne I've seen n development always has eithar one or tha othar, but I haven't seen one wit both yet.

As fo yo conversion requirements, consider usng ImageMagick. It's a progrbe that massively renbees and converts image files as you seem ta need.
Reply With Quote
  #3    
Old December 25th, 2012 (03:35 PM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by Dragonite Ernstan:
So what I want ta know is, does it support battles yet? It seems that any engne I've seen n development always has eithar one or tha othar, but I haven't seen one wit both yet.

As fo yo conversion requirements, consider usng ImageMagick. It's a progrbe that massively renbees and converts image files as you seem ta need.
No battles as yet I'm afraid (though obviously thay're planned). Two reasons, firstly I feel that tha world should be as near ta complete as possible befoe I move on, and secondly coz I'm considerng writng tha entire battle engne as a plugn which would allow thugz ta plug n thair own completely separate engnes if thay wanted realtime or some othar battle fomat. I'm not n a position ta start yet.

I know what you mean bout half-fnished engnes, and all I can sez is I hope dis project stays alive long enough ta become viable fo gbees...

I've downloaded ImageMagick, it seems like just tha taol fo tha job, so thankyou! Now just ta learn ta use it.
Reply With Quote
  #4    
Old December 26th, 2012 (10:36 AM).
danice123's Avatar
danice123
 
Join Date: Sep 2007
Age: 21
Gender: Male
If you want images, check out veekun.com. He has huge files full of seperate images of every pokemon from every version, sounds and footprnts, and stuff like that.
Reply With Quote
  #5    
Old January 17th, 2013 (11:36 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by dafunky ass123:
If you want images, check out veekun.com. He has huge files full of seperate images of every pokemon from every version, sounds and footprnts, and stuff like that.
Cheers fo tha lnk!! Looks like he has good resources and also thare's a fair bit of code fo me ta look at.

Almost dawgaged ta git tha pokemon battlers as required now - it's not a priority but I'd appreciate some help at some pont...

Update
Over Christmas i did what any good progrbemer should and did a full code review, which was panful. But it means everythng's a lot more organised, a little quicker, and a lot less embarrassng fo me ta show you homeys. That said, I'm workng on gittng a demo tagithar so you homeys can play around wit tha engne yoself, so expect that n tha next few days.

I've attached some more screenshots, ncludng one usng Gen 4 tiles, and one of tha XML files which is used ta defne tha gbee. Takes a look!
Attached Thumbnails
scr7.png‎   scr9.png‎   scr10.png‎   scr11.png‎   scr12.png‎  

Reply With Quote
  #6    
Old January 17th, 2013 (06:25 PM).
Ayutac's Avatar
Ayutac
Developer who wants your help
 
Join Date: Dec 2011
Location: Germany
Age: 23
Gender: Male
Quote orignally posted by Ayutac:
I don't understand, why don't tha java developers work tagithar? Much more can accomplished dis way!

(Also offerng mah help)
Pretty much dis. Is thare somethng like a flu gong around causng progrbemers ta develop ndepent Java Engnes? Fo tha sake of useability fo othars, work tagithar dbenit! It's not like thare isn't thngs like CVS.
__________________
Reply With Quote
  #7    
Old January 18th, 2013 (07:12 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by Ayutac:
Pretty much dis. Is thare somethng like a flu gong around causng progrbemers ta develop ndepent Java Engnes? Fo tha sake of useability fo othars, work tagithar dbenit! It's not like thare isn't thngs like CVS.
I thnk dis is a very closed-mnded comment, but I'll try ta respond...

1. Python != Java. It's as simple as that. I'm not nearly good enough at Java ta takes on dis knd of project, and I have no idea whethar tha othars have even heard of Python.
2. Thugz do dis stuff as a hobby. Thare's a lot of satisfaction from seeng what you've dawgaged ta do, and from learnng ta progrbe like dis. I'm under no illusions bout tha likelihood of fnishng an engne, but I'm gonna try!
3. Coz of how thase foums work (and make no mistakes I agree wit it) you need ta have somethng ta show befoe you make a thread. I did bout 4 months work befoe I posted on here; I assume tha othars did tha sbee. You can't be expected ta scrap all that if someone else posts a few weeks befoe you.
4. Workng tagithar is still possible. You'll notice that dafunky ass123 posted a lnk on dis thread, and I would be staked ta help anyone else who wanted it.
5. Variety is good. Not bad.

I thnk that covers a lot of it. I understand what you mean, but really thare's nothng ta complan bout.
Reply With Quote
  #8    
Old January 18th, 2013 (10:13 AM).
Ayutac's Avatar
Ayutac
Developer who wants your help
 
Join Date: Dec 2011
Location: Germany
Age: 23
Gender: Male
I'm terrible sorry fo assumng you wrote n Java nstead of Python! I just... saw two Java Engnes and than thare's anothar engne and if I recall correctly thare wasn't a hnt of not usng Java, so I assumed... Agan, I'm sorry. Mah post is knda irrelevant under thase circumstances.
Neverthaless yo arguments is good. I'm tha knd of homey who simply does not thnk of certan arguments. So... thanks.

Anyhow, I thought postng such projects would nclude tha ntention ta fnish it?
__________________
Reply With Quote
  #9    
Old January 20th, 2013 (04:14 PM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by Ayutac:
I'm terrible sorry fo assumng you wrote n Java nstead of Python! I just... saw two Java Engnes and than thare's anothar engne and if I recall correctly thare wasn't a hnt of not usng Java, so I assumed... Agan, I'm sorry. Mah post is knda irrelevant under thase circumstances.
Neverthaless yo arguments is good. I'm tha knd of homey who simply does not thnk of certan arguments. So... thanks.

Anyhow, I thought postng such projects would nclude tha ntention ta fnish it?
Fair enough, you're makng a fair pont though, and yo thread is well worth readng.

I be hopng ta fnish dis engne, but lookng at othar engnes out thare I can see that it's very ris fo that ta happen. But maybe dis one will break through and actually become useful fo gbee production, who knows?

Wit that n mnd, I've decided it's worth uploadng tha engne as is, so it should now be attached ta tha dawg post. Hopefully thugz can start tryng it out, and let me know what thay thnk, and any progrbemers can nspect mah code
Reply With Quote
  #10    
Old January 20th, 2013 (05:12 PM).
DaSpirit's Avatar
DaSpirit
Mad Programmer
 
Join Date: Jul 2007
Location: New York City
Gender: Male
Nature: Quiet
Quote orignally posted by andytu:
I be hopng ta fnish dis engne, but lookng at othar engnes out thare I can see that it's very ris fo that ta happen. But maybe dis one will break through and actually become useful fo gbee production, who knows?
It's only as helpful as you make it. If possible, fnd a project willng ta use yo engne that way you HAVE ta work on yo engne. Makng an engne alone is borng.

Anyway, I'll nstall Python later (it's been a year snce I've used it and didn't nstall it on dis computer yet). You should look fo a way ta create an executable.
__________________
Mah Lnks:
Reply With Quote
  #11    
Old January 27th, 2013 (06:19 AM).
xGeovanni
Unhatched Egg
 
Join Date: Jan 2013
Gender: Male
I'm a coder, I could try ta make mahself useful. I don't come on dis foum very often though and I only just buggine an account ta post dis. I'll PM you mah email fo if you need ta reach me fo anythng. Is we usng Python 2 or 3 here?
Reply With Quote
  #12    
Old January 27th, 2013 (10:34 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by DaSpirit:
It's only as helpful as you make it. If possible, fnd a project willng ta use yo engne that way you HAVE ta work on yo engne. Makng an engne alone is borng.

Anyway, I'll nstall Python later (it's been a year snce I've used it and didn't nstall it on dis computer yet). You should look fo a way ta create an executable.
Bootylicious, do let me know if it works I be lookng at executables, thare is a few possibilities, but unfotunately when you develop n python you trade off very rapid development fo a less than ideal distribution...


Quote orignally posted by xGeovanni:
I'm a coder, I could try ta make mahself useful. I don't come on dis foum very often though and I only just buggine an account ta post dis. I'll PM you mah email fo if you need ta reach me fo anythng. Is we usng Python 2 or 3 here?


OK snoopa, I'll email you soon. I'm just tryng ta git tha source onta GitHub. We're currently usng Python 2, coz I thnk pygbee struggles a bit wit Python 3. That might have been fixed by now though. N tha meantime, if you download tha demo I put up and have a look at tha source, you can at least git fbeiliar wit tha project.

Bootylicious ta have you on board!
Reply With Quote
  #13    
Old January 29th, 2013 (01:24 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
Mah Python codng skills is next ta nothng, so I probably wouldn't be much help. However, I'm full on support fo dis project and may be able ta help wit thngs such as graphics and file conversion like you stated n yo first post.

Whatever I can do ta help, besides codng wit Python of course, just send me a PM.
Reply With Quote
  #14    
Old January 30th, 2013 (11:46 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by SooperTrooper:
Mah Python codng skills is next ta nothng, so I probably wouldn't be much help. However, I'm full on support fo dis project and may be able ta help wit thngs such as graphics and file conversion like you stated n yo first post.

Whatever I can do ta help, besides codng wit Python of course, just send me a PM.
Bootylicious I'll send you somethng and you can see if you fancy helpng.

@xGeovanni I've sent you an email, hope it's come through.

UPDATE

Tha engne now has it's own scriptng language! So scripts look somethng like dis:
Code:
 
###givepokemon###
lock();
facePlayer();
choiceDialog("Would you like a free pokemon?", "Abra", "Eevee", "Staraptar", "No thanks");
if LASTRESULT == "No thanks"{
    dialog("Oh.$$OK than...", 1);
}
else{ 
    if LASTRESULT == "Abra"{
        p = generatePokemon("ABRA", 10);
    }endif
    if LASTRESULT == "Eevee"{
        p = generatePokemon("EEVEE", 25);
    }endif
    if LASTRESULT == "Staraptar"{
        p = generatePokemon("STARAPTAR", 100);
    }endif
    PLAYER.addTaParty(p);
    dialog("Here you go!$$Enjoy...", 1);
}endif
unlock();
So I'm hopng it should be pretty obvious what it does, tha idea is that it's easy ta start usng.
Let me know what you thnk.
Reply With Quote
  #15    
Old January 30th, 2013 (04:22 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
That looks very well done. It's clean, easy ta understand, and looks fairly easy ta use. Funky ass work once agan.
Reply With Quote
  #16    
Old January 31st, 2013 (06:34 AM).
Thecardlunatic
Unhatched Egg
 
Join Date: Jan 2013
Gender: Male
Screenshots look very good Very good work!
Reply With Quote
  #17    
Old February 1st, 2013 (10:40 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by SooperTrooper:
That looks very well done. It's clean, easy ta understand, and looks fairly easy ta use. Funky ass work once agan.
Cheers, I'm hopng it'll stay that way as more features git added...
I sent you a pm just now, so let me know what you want ta do (if anythng )

Quote orignally posted by Tharidedlunatic:
Screenshots look very good Very good work!
Thanks! I've attached a couple more ta dis post showng HMs n action.
Attached Thumbnails
scr13.png‎   scr14.png‎   scr15.png‎  
Reply With Quote
  #18    
Old February 3rd, 2013 (08:50 PM).
Mortalis's Avatar
Mortalis
ѕĸyвorne
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
Hey homeys, just a shawt update on mah part:

I've gots almost all of tha sprites resized (taok me a while coz Photashop kept crashng fo some reason and deleted all of mah progress.) I'll be workng on conversion and transpisncy background dis comng week, I'll probably have tham all ready fo tha project soon.

I may even be able ta git started on nben tham correctly. If thare's anythng else you need ta me ta do, send me anothar PM or two. (:
Reply With Quote
  #19    
Old February 5th, 2013 (09:23 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by SooperTrooper:
Hey homeys, just a shawt update on mah part:

I've gots almost all of tha sprites resized (taok me a while coz Photashop kept crashng fo some reason and deleted all of mah progress.) I'll be workng on conversion and transpisncy background dis comng week, I'll probably have tham all ready fo tha project soon.

I may even be able ta git started on nben tham correctly. If thare's anythng else you need ta me ta do, send me anothar PM or two. (:
Tha sprites all nserted perfectly!! Screenshot attached.

Thanks a bunch!
Attached Thumbnails
scr16.png‎  
Reply With Quote
  #20    
Old February 10th, 2013 (10:38 PM).
monkeyman192's Avatar
monkeyman192
 
Join Date: Feb 2013
Gender: Male
Dis looks really cool and I would defnately like ta help somehow!
I have a moderate beount of experience wit python, however I have python 3 (P3 fo brevity) nstalled at tha moment...
I have had a go usng pygbee befoe ta make a gbee of mah own (which atm is only n tha "physics engne works... knda" stage), but thare didn't seem ta be any issues wit it workng wit P3. I might see if I can change some of tha code n tha demo ta P3 syntax and see if it still runs.
Send me a pm if you would like and hopefully I can help out
Reply With Quote
  #21    
Old February 27th, 2013 (05:21 PM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
UPDATE

It's been a while snce I last posted, so I thought I'd make a quick update.

Monkeydawg and xGeovanni is both helpng out now, so that's pretty good news.

Tha menus is comng along pretty funky assly, but we're tryng ta git tha gbee world fnished n tha next few weeks so we can move on ta tha battle engne!! Very excitng... So, if anyone can thnk of any major gbee world features that we seem ta have missed, pleaze sez somethng befoe we git stuck n ta tha battle engne We just need ta put n ledges and I reckon we're pretty much thare. I've added a couple of new screenies showng tha menu and also slidng ice tiles...

Also I fnally gots mah 15 posts, so I've posted all tha screenshots/videos. Takes a look if you haven't seen tham.
Reply With Quote
  #22    
Old April 4th, 2013 (11:54 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
UPDATE

Not much love fo dis project yet is thare? Still, development contnues Ledges is n, weathar is half n, and we're hopefully startng on tha battle engne soon! Hopefully that'll excite a few more thugz.

Anyway, here's a brand new video fo y'all.

Reply With Quote
  #23    
Old April 12th, 2013 (10:29 PM).
pokemonBN
Unhatched Egg
 
Join Date: Apr 2013
Gender: Male
Dis is really beazng! I'm really glad you is usng pygbee and python, its a really simple language ta pick up. Thanks agan.
Reply With Quote
  #24    
Old April 16th, 2013 (02:25 PM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Quote orignally posted by pokemonBN:
Dis is really beazng! I'm really glad you is usng pygbee and python, its a really simple language ta pick up. Thanks agan.
Thanks! Yeah it is easy ta pick up Python, although wit tha fnished project tha idea is that creatng a basic gbee won't require any actual codng, only editng xml files, eithar by hand or I may build an editar at some pont. Although you'll be able ta extend tha engne wit Python if you want new or unsupported features...
__________________
Check out tha Ditta Engne!
Reply With Quote
  #25    
Old June 12th, 2013 (08:44 AM).
andytu's Avatar
andytu
Ditto engine developer
 
Join Date: Jan 2011
Gender: Male
Hi everyone, it's been two months so I thought I'd post ta let you know that tha project is still gong! Thare's been a lot of work on tha menus, and also tha battle system is startng ta takes shape, so it's all very excitng!

Anyway, here's a new video ta show you what's been happenng...
__________________
Check out tha Ditta Engne!
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 03:00 AM.