PDA

View Full Version : Milos Adventure Engine Test



Copes
February 18th, 2005, 09:27 AM
Hi guys, this is my first thread here. ive been reading the forum for quite awhile but ive never really been into forums, but i would like some opinions on a project me and a friend have been working on for some time now. the project was started to get out of doing a really cruddy sound breif for college.. lol but we decided to carry it on for more than the sound and were almost ready to start building the first installment of storyline. The engine does have some issues that i know of, but at the moment i cant seem to figure out why they happen. maybe someone could shead some light on it.

here is the url for the game in its current state:
http://rpg.copes-design.com (http://rpg.copes-design.com/)

im at work at the moment, but when i get home i will neaten up the current version because some things were added (the house and new screens) last night when i was very tired and needed my pillow.

Love to hear what you think, and any problems you find. i will list all of the current bugs i know of when i get home and find my arm length list :p

Copes.

SeiferTim
February 18th, 2005, 10:16 AM
That is awesome! Did you create it all yourselves, or did you follow any tutorials? ;)

Copes
February 18th, 2005, 11:54 AM
That is awesome! Did you create it all yourselves, or did you follow any tutorials? ;)
I guess you could say the initial ideas were from a tutorial i did for making a space shooter, showed me how to use key presses and hit boxes, aswell as how to add limiting factors into it all. Mainly tho there wasnt really a be all and end all RPG tutorial, that i could find atleast.

Most of it however was just kind of try, try and try again till something works. Now that the engine is 80% finished maybe for what i want to do for this installment of the game anyway, i cant help thinking of the different ways i would go about some of the coding. Guess that just comes with any large project you undertake. hehe maybe once this first hand in is out of the way (March 5th) then i will probably return and go through all of the code and neaten and change it, hehe im abit scared of editing large sections of working code at the moment tho. :!:

As i said earlier... the continuesly changing bus list:

* "sticking" issues with certain hitboxes, you can walk into it and back away from it fine, but if you want into the side of the house for example then try to walk up or down. it aint gonna happen, what is weird tho. if you go into the house, and back out it switches to another frame of the same content and the hitbox on that one is completely fine. nothing is different about the two. if anyone could maybe offer ideas that'd be great?

* "poison, fire, water and death" Every so often you can get yourself killed, but manage to regain health, while the death animation is playing. meaning the things that happen at the end of ur death, ie the respawn dont take place. and you just stay dead on the floor. obviously health potions can still be taken while your dead at the moment, thats a fix ill be adding later when i update the version. i imagine the same if statment could be used for the water aswell come to think of it. will let you know :)

* "areas" this isnt really abug, but simply me being lazy and not properly framing/keyframing the different frames or "areas" of teh world, so when you enter and exit the house all of the goodies are back on the floor for you to munch up.

Thats all i can really think of that people have found issues with. hopefully i will fix the 2nd and 3rd ones this afternoon and post the new version of the game over the weekend at some point.
* if anyone finds anything ofc post it and make my life harder :pleased:

hehe and if anyones interested i can paste the storyline of currently planned first installment of the game.

Copes

Inferno
February 18th, 2005, 01:34 PM
Yea thats really good :)

But u should probly make so if u take all the items and coins and go into house and go out of the house, the items wont appear again.. :S

Copes
February 18th, 2005, 04:17 PM
hehe yea thats the idea mate, got it all on my "todo" list :)

JoMan
February 18th, 2005, 04:37 PM
Man, that is very impressive :). Did you customly make those sprites yourself?

peace

Copes
February 18th, 2005, 06:01 PM
hehe yea, you wouldnt belive the list of things i have to make :x i think theres 143 seperate things between the two of us. within kinda a week? lol should be interesting :geek: ofcourse i volenteered myself for all the difficult ones. as you do.

Thanks for all of the nice comments about the game :) feel free to make suggestions too hehe, always good to get other peoples opinions and ideas. why im here really ;)

Copes

eiefai
February 18th, 2005, 08:59 PM
i like it, very much, seems interesting

Copes
February 18th, 2005, 09:05 PM
oh yes, there was something else i was pondering, were using 8-bit png files for all of the sprites in the game, but if you look at the rock you'll notice on some of them the side has 3 pixels of black on one side, and only one pixel on the other side. when the origonal png actually has a 2px border around the whole thing. i had this problem when aligning the house sections aswell. ive seen tile based worlds before and i assume there is a way, methology to get around this problem? all ears open :D

Copes

SeiferTim
February 18th, 2005, 10:52 PM
oh yes, there was something else i was pondering, were using 8-bit png files for all of the sprites in the game, but if you look at the rock you'll notice on some of them the side has 3 pixels of black on one side, and only one pixel on the other side. when the origonal png actually has a 2px border around the whole thing. i had this problem when aligning the house sections aswell. ive seen tile based worlds before and i assume there is a way, methology to get around this problem? all ears open :D

Copes

Turn off "Smoothing". When you right-click on your graphic in the Library, you should see an option...

Copes
February 19th, 2005, 10:51 AM
smoothings already off. might it have something to do with objects at co-ords like
240.6 / 120.3 ?

JoMan
February 19th, 2005, 11:32 AM
smoothings already off. might it have something to do with objects at co-ords like
240.6 / 120.3 ?

Hmmmm, since this is a sprite game, do you have the quality automatically on "LOW"?

EDIT: n/m. By the way, how did you change the swapDepth properties for the hero when he goes behind a tree? Did you say:



if (hero._x >= tree._x) {
hero.swapDepths(1);
} else {
hero.swapDepths(10);
}

peace

pizzaguy234
February 19th, 2005, 12:00 PM
hey, the problem you are experiencing with the pngs is an issue with flash. there was a site posted a while back, which explains the problem and the solutuion but i can't remember it.

Basically, u can solve the pixel shift problem by putting each sprite into a movie clip, with the registration point in the bottom right hand corner.

This means that all of the image, png or whatever, is in negative space.

for instance x=60 y=60 should be changed to x=-60 y=-60

well, hope that helps, try it out, i promise you it works. Also try an image in a MC with reg in the center. you can see the shift in some parts, but not in others

peace. andy.

Lord Rahl
February 19th, 2005, 02:40 PM
Neat, the design and layout are uniqe. Keep it up.;)

Inferno
February 19th, 2005, 02:40 PM
Uhm.. What program did u use when u made those graphics?

Copes
February 19th, 2005, 03:48 PM
omg, is it just me or when you type a message and preview it, does this box occasionally grey out? and you lose all your message.. maybe its just me lol wouldnt suprise me.

to answer some questions...


Inferno, Uhm.. What program did u use when u made those graphics?

I use Adobe photoshop for my pixel graphics, using the pencil tool set to 2px. My co designer Alex uses Pixen. It seems a very good application, bitmap based, has layers, layer effects. seems very good for this kind of work. The only draw back however is... Its a mac only application. which i dont have :(


joMan, By the way, how did you change the swapDepth properties for the hero when he goes behind a tree?

Actually we dont use that method for making the 2D and a half view. We did consider doing it that way, but decided it would just be alot more code to manage. Instead i had ago at a more basic idea i had, basically using the layers like this:

Layer 1: http://rpg.copes-design.com/copes/halfrock.png
Layer 2:http://rpg.copes-design.com/copes/milo.png
Layer 3: http://rpg.copes-design.com/copes/fullrock.png
Layer 4: Hitbox

Basically its just a case of positioning the hit box layer so the character can move behind the half graphic, without sticking his feet out of the bottom of it. this makes it look as though the object is "3D" but ofc its not :)

Rather than using the bottom half of the graphic on layer 3, we decided to use the entire image, incase we needed to add a full object in unaccessible places and to stop possible gaps between the two graphics.

I hope that answers some questions :) and thank you pizzaguy234 i will try using registration points in the bottom right corner.

Is there a way of repositoning reg points on a mc after its been made? theres quite a few mc's i would have to remake :x dont really want to dismantle the whole game at this point. lol but i havent been able to figure out how you do it, if you can?

Im meeting up with alex on monday to add the finishing code thats missing for the "major" parts in this version, so hopefully ill have something new and exciting to post.. lol :D

Thanks guys, Copes

Inferno
February 19th, 2005, 05:09 PM
whoa.. I think photoshop is hard so I use paint :D

Copes
February 19th, 2005, 05:44 PM
hehe its not really that hard, make sure your using the "pencil" tool tho. you can get it by holding on the brush icon, and the pencil tool icon flips out. its alot easier when it comes to adding shade etc, because u can use the layer settings like multiply and screen. aswell as just having layers to seperate things out. and you can pattern fill to do big areas quickly :)

Inferno
February 20th, 2005, 05:57 AM
Could you draw me a tree for an example? Because I got inspired by your rpg and now im making a movie and I use my own pixel graphics!

Inferno
February 20th, 2005, 06:46 AM
Hey!

U inspired me with ur pixel graphics so I started to make a game and I use my own pixel graphics too!

I havent made much progress by my own but this is what I have made in one day:
(ok I didnt know how to make a tree so I stole yours, im going to change it after ive practiced a bit ;))
http://salsaish.tripod.com/talo.bmp

Copes
February 20th, 2005, 07:40 AM
hehe its cute, i like the rose :)

Inferno
February 20th, 2005, 07:58 AM
thanks, its tulip ;)

Oh yeah and thats a .gif so it doesnt have the real colors..