DIALOGUE 2.0

Talk about making games.

Re: DIALOGUE 2.0

Postby pyrometal » Tue Sep 02, 2008 8:11 pm

Do you think you'd be able to use it if I posted a stripped down version?
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby DarkParadox » Tue Sep 02, 2008 10:43 pm

yes!!!!!
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Wed Sep 03, 2008 1:09 am

I'll try to post it soon, maybe on the weekend... My university classes started this week, so I'm slightly busy at the moment...
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Sun Sep 14, 2008 8:12 pm

I posted the graphically stripped version of the code in the first post of this topic. I shall create documentation for using it later. To start the conversation, click on the GE icon! This is to give you a slight idea of HOW to use the code to create dialogues and etc. I've added "answer selection" but it needs some other scripts to use its outputs. The GE icon's code shows one of many methods to do so. Good luck!

--pyro
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby DarkParadox » Sun Sep 14, 2008 9:50 pm

YAY!!!!!!!!!!!!!!!!!!!! x9999999999999 cuz i dont want to spam :D :D :D :D :D :D :D :D x99999999999

[Edit] you forgot the DATA FOLDER :( :( :(
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Sun Sep 14, 2008 10:52 pm

Fixed it! Sorry about that...
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby desertgamer » Wed Sep 17, 2008 12:46 am

Cool you released the source code...
BUT HOW DOES IT WORK ???
(Lol...) :lol: :oops: :twisted: :lol:
Do newbies want to experiment or get started right away? Take the source template:
viewtopic.php?f=6&t=6175
desertgamer
 
Posts: 47
Joined: Sun Dec 09, 2007 6:49 pm
Score: 5 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Wed Sep 17, 2008 12:58 am

Dark Paradox posted in my place the way it works in a seperate post, in General I think... Give it a good read
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby DilloDude » Tue Oct 07, 2008 4:31 am

pyrometal wrote:Its not complicated, its just very long to do because you have 95 pixel arrays for every character(letters and number etc) and you have to do every pixel one by one.

You could possibly store the font data in an external file, and load it into an array when you run the game. Then you just have to look up the correct character from the array.
Either you'd have to use an image format that you can make with another program, or make your own editor that saves as a custom format.

By the way, it would be awesome if you could add functionality to change the text size, maybe just have three sizes (normal, small and large). Of course, this would make figuring out where to draw the next line more complicated...
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Tue Oct 07, 2008 11:56 am

Font resizing is for vectorized fonts... It wouldn't work well here. But I can make it so you load the font from an external file fairly easily. Would you want me to?
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby DilloDude » Wed Oct 08, 2008 4:31 am

Loading from an external file would be pretty convenient if you want to make your own fonts. If you wanted to do resizing, you'd have to individually make the extra fonts. (If you were going to do that, you could make all sorts of exra stuff... make different characters speak different fonts, have different fonts for sound effects, all sorts of things... wow, headache...)
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Wed Oct 08, 2008 10:25 am

I'll start by exploring the importaion of fonts from external source, then we'll see about the "mix and match" process. I'll do this tonight, about 12 hours from now. I might finish today depending on how many problems I run into while doing this... I'll probably limit the colors used to 3, otherwise this become inefficient very quickly, this algorithm was was to be fast with only 3 things to track (black, white, and transparent pixels). Any more possibilities allow would require a color check every single draw... I may allow A few shades of gray for handmade anti-aliasing...
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: DIALOGUE 2.0

Postby pyrometal » Thu Oct 09, 2008 1:24 am

SUCCESS! But before I post the image font importation code, I need to create a tutorial on how to create fonts for this engine... Otherwise people will screw up the required formatting of the image. I shall post a complete demo some time later... This was TERRIBLY hard to do... I kept running in bugs every 2 minutes, I literally fixed 20 things which took me about 5 hours of work. I also had to change the picture font from an horizontal string to a vertical type, which is more awkward to work with... You shall see all this soon enough!

--pyro
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Previous

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron