Hi all
just a quick screen shot of my easter game that im cracking on with in window mode 800x600 , still early days yet and game could end up going in a few different directions depending how it looks
will post a demo as soon as possible ,
mick :)
That's very cute.
nice work micky. let me know if you need any animations or anything like that. i'd be happy to help out
Hi BlinkOk
thanks for the offer , not to sure what im using at the mo apart from the chics , eggs and hammers . but if i need anything ile give you a shout ,
dont think there is going to be much to this game as its going to be a simple bash the right colour chic with the right colour hammer job ,
not unless it unfolds into more , i am only doing this as a request from my girlfriend , jaq , to keep her happy as she lets me spend a lot of time on this p.c , but i am trying to do this program more like the way you guys do it and not my usual messy way , fingers crossed.
i have loads of other projects that im itching to start , so hopefully wont take to long on this.
mick :)
hi all
sorry for hogging posts hope you all dont mind
heres a demo as promised , timer bar is at bottom of screen , idea (yep i know it sound silly) , is that its to cold outside for the chic's to hatch yet so you have to keep them in there eggs so they keep warm
by tapping them back in their egg with the corrasponding colour hammer until the timer runs out , lots still to do as you can see , this is just a quick demo
any feedback welcome
click mouse to pick hammer with hand , click mouse to put hammer back , click mouse when you have hammer to strike bird eggshell , dont worrie this is a special soft hammer even though it looks hard , yeh right mick ,, lol
thanks mick :)
nice one micky. that's a pretty cool game mechanic.
Only got around the playing this one the other day. Seems pretty good. Since it's kind of a micro management game. How about adding some more tasks such as a heat lamp (to keep the room temp) and even rotation to avoid them cooking :) Could always have the mum chicken run in and chase you, or even change the hammer order. So over time the game play gets more and more frantic. A bit like Tetris.
Hi Kevin ,,
yep thanks for ideas , but i just finished it tonight , i know i could have done more to it , but its still a learning curve for me , the better i get the bigger ventures i will take and take a little longer to in doing projects , it was just a silly easter game , as it happens it aint got a great deal to do with easter apart from eggs and chicks , but overall im quite please with the result , well for me anyway
ok i honestly tried , but my code as gone all astray again , i must improve on this i know .
ok one question i must ask and hopefully you can help , how can i get the "score" and "time is up" to scale with the rest of the screen , the bit where it scales down to middle of screen inbetween levels , the screen and sprites that i rendertoimage scale but not the text score and time is up , can you help? , just would make it a little better
you have to get the hammer in line depth wise as well for it to work on eggs
hammer and change positions on each level
anyway hope you all like this effort , any comments welcome good or bad , lol :)
mick :)
screenie,,
ok im having a few days off to relax , takes it out of you all this programming , lol
i have loads of other projects in the pipeline , but can only do one at a time , what a shame..
my next maybe a pinball game , looking for some gravity code for that ,
but the one im really looking forward to do in a few months to come is thunderbirds..
wont bore you with the rest , but theres loads..
thanks to all on forums for help and code tips , great stuff
mick :)
Nice, Mick :D It's fun and looks nice too. Did you make the graphics?
Your code gets nicer with every game you make
Hi kanifox
No alas not , i had to do a bit of cutting and pasting with a pic i downloaded of the shed , the chick's are re-coloured images i downloaded , the eggcups are downloads but i have fame for the eggs , lol .
think it would be quite easy to do lots of games like this but a little more involve as Kevin said in he's last post.
yep i am improving as i go along i think , just love this playbasic program , its great fun , ohh and the headache here and there , lol
the code for this game could do with a lot of tiding up as usuall with my programs , but hopefully i will get better with this as i go along
thanks for comments
mick :)
Hey Mick,
Quote
ok one question i must ask and hopefully you can help , how can i get the "score" and "time is up" to scale with the rest of the screen , the bit where it scales down to middle of screen inbetween levels , the screen and sprites that i rendertoimage scale but not the text score and time is up , can you help? , just would make it a little better
What
Type of the font it is ? If it's Windows true type (Arial) , or windows bitmap (such as courier for example) ?, then you can't draw those to FX images. The Font would have to be first converted to the FX font. Then it can drawn to any surface.
My advice, use 1.64I and CRF fonts..
Hi Kevin
yes it was Windows true type (Arial) , ok thanks for answer , i will upgrade soon to 1.64i
thanks
mick :)
mickey dude.
do you mind if i do some gfx for this one? i ask because i might also need you to make some (very small) additions to the code as well.
let me know coz if you don't wanna make the changes i don't think it would be worth it.
thanks
blink
Hi BlinkOk
no problem make any gfx changes you feel fit , i know they are going to be tons better than mine , yes i will try to make the changes to the code as long as they are within my capeabilities , as you know i not fantastic at this , just incase i dont want to waste your time , if i cant manage them , then by all means you can do them , but ile give them a bash , just so you know if you get my meaning
thanks BlinkOk , look forward to gfx
mick :)
hey thanks mick,
the changes should be very easy i think. just a couple of animations here and there
ok ile give it a pop
thanks mick :)
ok i did a little work on it. i thought it could use a little colour. it's a real cutesy type game so i went with a cell shaded type look. very simple, bold graphics. i wanna really up the animation side of it. i thought we could have the chicks blink and maybe turn their heads a bit as they move up. when they get near the top they could shiver before dying. i have a dead sprite too.
the hammers could swing on the wall when they are not used and i have a animated first person style whack animation.
here are a couple screens. i really gotta do some more work on the splash screen though.
(http://i93.photobucket.com/albums/l75/blinkok/screen1-2.jpg)
(http://i93.photobucket.com/albums/l75/blinkok/screen2-1.jpg)
here's a flash animation showing some of the animation i was looking for;
ANIMATION (http://www.kazoowee.com/games/cracking%20on%20easter/title.html)
when you see the splash screen, right click and select "play" to see the animation
Hey Whats Happened Here Then ,,
yes its a little better gfx than mine i suppose , lol
BlinkOk thats superb , no unbelievable is a better word , how can you do this !! , and so quick
before you go any further i must lay my cards on the table so you know what a fool your helping out here , as i honestly dont want you to waste your time .
i managed to get your santa's sleigh animation into my other game ok , but as you see i did'nt have much of a clue in how to get the flash splash screen going of which was a shame on 2 fronts 1. would have looked nice in game and 2. time wasted by yourself.
so my programming skills are on the low side , all i have been doing is looking at all the examples and demo's included in playbasic mucking about with the values and seeing the results and then seeing i can adapt then slightly to make some kinda game , the rest is more luck than judgement and with playbasic rotation command make things very easy to animate , well so far anyway.
so what im trying to say is , i love the graphics you have done , there fantastic , you have a great talent and if you dont mind wasting it on my game , well that would be great , but i dont know if i can pull it all off with my programming skills , ile give it my best shot , but if it dont come out good , then maybe you could alter it ,
ok i dont think i need to teach you to suck eggs , lol
all your ideas sound sood , my sprites are the eggsfull inc cup , bottom eggs inc cup , top eggs , then birds and hammers as well as hand..
so the bird and top egg could be all in 1 sprite , as i only used 2 so i could tilt egg top when bird was dead..
the bird sprites hide behind the eggsfull inc cup and bottom eggs inc cup sprites so the birds rise behind them , thus covering birds..
the hammers on wall are all sprites , as for having them swing could maybe do this with a timer animation , or rotatesprite command maybe
the birds shivering , would this be a sprite animation?
first person hammer would look a lot better than the side view i have , i did look for a first person animation but could not find or do one myself.
ok i know you already know all this proberly , just incase
ok BlinkOk , ile leave it upto you on what you want to do and not as i know you know what you are doing
and look forward to your reply , but please remember its micky4fun your dealing with and not mickyKnowsWhatHe'sDoing , lol
thanks very much for you help
mick :)
ps just relised you have to right click splash screen to play it , absolutly superb BlinkOk
Quotei managed to get your santa's sleigh animation into my other game ok , but as you see i did'nt have much of a clue in how to get the flash splash screen going of which was a shame on 2 fronts 1. would have looked nice in game and 2. time wasted by yourself.
I posted an adapted version for you :)
Don't be so negative. Good programmers are a dime a dozen, Good designers on the other hand are Priceless !
Hi BlinkOk
i just put your screens into my game and it looks amazing , and i did just a quick cut out of hammer and chic in egg and used them as sprites and looks very good indeed , so proper sprites will look even better ..
its looking a very promising game now with thease new graphics..
QuoteI posted an adapted version for you
sorry Kevin i did not relise , thanks for that ,
QuoteDon't be so negative.
yes i know it sounds negative , but with someone else doing a lot of work i dont want to let them down ,
dont mind letting myself down thats ok and quite regular
cant wait for images , looking very nice indeed
thanks
mick :)
kevin's right micky dude. you're great at churning out games.
talking about writing a game is one thing but finishing one is another. and you have finished so many.
anyway. i still think i could implement all the changes with simple frame by frame animation.
i reckon i'll start by matching up my graphics to those in your /gfx directory
and then we'll make up a few sprite sheets and see how we go from there.
i'll get some time on it tomorrow
Hi BlinkOk
nice of you to say so , some stuff i start and if its going nowhere i just stop , usally within a hour or so ,,
ok ile wait for images/sprites and go and see how we get on from there .
ive been mucking around with Kevin snake challenge for a day or 2 now , alas not a snake in sight using somethink else , its plodding along slowly as i going down a few roads at the moment so slow progress ,
thanks again BlinkOk for all the hard work your putting in and look forward to images
mick :)
didn't get much of a chance to work on it today. kids soccer etc.
changed the splash and created a wind animation for the gameplay.
i'll make sure i produce some working assets tomorrow.
ANIMATION (http://www.kazoowee.com/games/cracking%20on%20easter/title.html)
Hi BlinkOk
Animation looks very good ,
Quotedidn't get much of a chance to work on it today.
anytime BlinkOk , dont want to take up all your spare time , but i seem to spend most of my spare time tapping away i just love it , but time goes so quick..
mick :)
ok. couple of final questions and stuff. please note that these are only suggestions. you are the game designer and you have the final say.
1. i think the shrinking and expanding of the gameplay area is a little distracting. we can make the eggs crack before a chick comes out so that should give the player time to adjust to a new level without being taken out of the experience by the shrinking etc. i though a simple level up animation might be ok. (click on the level up button in the gameplay screen to see the level up animation)
2. can you render anti-aliased graphics? some of these images have a transparency mask (mostly for shadows). if you want we can maybe get around this another way but it might be just as much work.
3. i now think i have most if not all of the graphics except for a success fail screen. have a look at the gameplay screen in the animation. you can pick up (and replace) hammers and clock the chicks. it shows an add animation for adding a value to the high score.
4. did you're game have a high score board??
5. do you want sprite sheets or separate images (for the animations)
if i can get an answer to these questions i can give you all the graphics
ANIMATION (http://www.kazoowee.com/games/cracking%20on%20easter/title.html)
Hi BlinkOk
Thanks for animation , look very good to, you have done some great work here
you have nearly done all the game ,
Quote1. i think the shrinking and expanding of the gameplay area is a little distracting. we can make the eggs crack before a chick comes out so that should give the player time to adjust to a new level without being taken out of the experience by the shrinking etc. i though a simple level up animation might be ok. (click on the level up button in the gameplay screen to see the level up animation)
yes that seems ok , i only did the in and out screens as a challange for myself ,
Quotecan you render anti-aliased graphics? some of these images have a transparency mask (mostly for shadows). if you want we can maybe get around this another way but it might be just as much work.
oh dear now your going beyond me , well for the time being , im still using pb 1.64c as quite used to this , i will upgrade soon , maybe you can do this ?
Quotedid you're game have a high score board??
no not yet , is this hard to do , as a top 5 or 10 scores would look good at the end
Quotedo you want sprite sheets or separate images (for the animations)
without a doubt separate images please , as not done any sprite sheets yet
as you can see im going to struggle a bit , a little out of my depth now , but ile give it all a bash , like i said if i cant get the final result , maybe you can take over or something
hope all this helps
thanks again
mick :)
no your not going to struggle at all mate. hopefully kevin will be along and point us in the right direction as far as anti-aliased images are concerned. i know there are some threads around here that explain it. i'll have a look and see.
Ok BlinkOk
ile take your word on that then , got you and kevin hopefully then to help us out i could not be in better hands ,, give it my best shot..
thanks mick :)
ok, like mr disney said; "lets keep moving forward". here are all the graphics required for the splash screen. can you have a go at putting them together?
Download images (http://www.mediafire.com/?sharekey=7aef7ece57cef92caf924764f9977b1de04e75f6e8ebb871)
thanks
check this thread for rendering anti-aliased images.
Anti-aliasing (http://www.underwaredesign.com/forums/index.php?topic=2509.0)
let me know how you go with it.
just in case i made up 1bit transparency images as well. they look a bit jagged but i guess they work ok. different style really. kinna 8bit old skool type stuff.
(http://i93.photobucket.com/albums/l75/blinkok/screen-2.png)
Download images (http://www.mediafire.com/?sharekey=7aef7ece57cef92caf924764f9977b1de04e75f6e8ebb871)
ok one bit chicken freezing anim (10 frames in all). if you combine this with a little programmed shake i think it will make for some good visual interest. if this is ok i'm not going to use the dead image. i think it's better that way seeing as this is more a young kid type game.
(http://i93.photobucket.com/albums/l75/blinkok/blue.gif)
let me know what you think.
Hi BlinkOk
just had a quick look at images as on way to work now
yes they all look good to me ,
Quotei'm not going to use the dead image. i think it's better that way seeing as this is more a young kid type game.
yes thats seems a good idea as well
when i get home ile have a muck around with the title screen and see how it turns out , see if i can do it justice
thanks BlinkOk , ile check on p.c at work for any replies etc
mick :)
ok we'll see how you go and then we can decide if we wanna go with the anti-aliased or 1bit images
Hi BlinkOk
sorry just a miss understanding by me i think , im at work had a spare 10 mins so was tickering about with front screen , is the chick sticking out of egg going to be stuff full out and 2 frame animation as if hes shivering , or is he popping up out of egg slowly
thanks
mick :)
ps ,, got it hes shivering , will continue when i get home later
Hi BlinkOk
this is just the frontscreen of game , the play sprite with with outline was not in zip files you did for me
also did'nt know how to make mouse pointer change to little hand ? , so i can change it while over the play sprite
anyway heres file
i see what you meen about slightly jagged around images
thanks
mick :)
ok so you wanna go with the 1bit transparency rather that the anti-aliased?
i don't mind either way. it's up to you.
let me know and i'll crank out all the other stuff.
thanks
Hi BlinkOk
Well to be honest i aint got a clue yet on how to do anti-alising , i had a look at the link , but did not grasp it at all
i know that the graphics would look a lot nicer with that on
just did a search on 1 bit transparancy and got this back
Quote1-bit transparency, meaning pixels are either completely visible or completely invisible, with no middle ground.
and i take it that anti-alising is the 8 bit version with 256 fades on the edge of images , so a lot better
but im quite happy with the version i just used on screentest so if thats ok with you ile go with that
await your comments on that
thanks
mick :)
ok will go with the 1bit transparency. 1bit transparency means you specify a particular colour that is transparent. ie. the images you just worked with had magenta as their transparent colour.
Hi BlinkOk
I just change that to black in paint , so what sould i set imagemaskcolour to use magenta? so i can do it properly
thanks
mick :)
yeah set the mask colour to magenta r=255, g=0, b=255
here are almost all the images. still to do a fail screen and play again button. let me know if i missed anything.
you may need to make the hammer shadow transparent. say 50%. can you do that? it might work without transparency though.
Download images (http://www.mediafire.com/?sharekey=7aef7ece57cef92caf924764f9977b1de04e75f6e8ebb871)
sorry forgot the bg image for the gameplay;
(http://i93.photobucket.com/albums/l75/blinkok/background.png)
mickey.
can you make the transparency colour the colour of the pixel in the upper left hand corner of the image?
can you keep the filename/directory structure basically the same as i have in the delivered images? i think i can make some changes to smooth out the edges a little.
Hi BlinkOk
just downloaded images ,
Quotecan you make the transparency colour the colour of the pixel in the upper left hand corner of the image?
not to sure what you mean , set it to set the mask colour to magenta r=255, g=0, b=255
im of to work soon so ile try and do a little there and carry on tonight , going to take a little while i think
thanks mick :)
Here's a bit of code to load an Anim sequence into a "Bank". You can then peek the frames out of the bank
path$="D:\Play_Basic\PBFX\Projects_Demos\_PB_Code_Examples_Site\Micky4Fun\Chickens\imagesv1_1\gameplay\birds\"
Dim Colours$(5)
Colours$(1)="BLue"
Colours$(2)="Cyan"
Dim AnimBanks(100)
For lp=0 to GetArrayelements(Colours$(),1)
Name$=Colours$(lp)
if Name$<>""
AnimBanks(lp)=LoadFrames(path$+Name$+"\","chick####.png")
endif
next
Do
Cls 0
if NextFrame<timer()
frameIndex=mod(FrameIndex+1,11)
Nextframe=Timer()+(1000/30)
endif
DrawFrame("Blue",FrameIndex,100,100,true)
DrawFrame("Cyan",FrameIndex,200,100,true)
Sync
loop
Function DrawFrame(Name$,FrameIndex,Xpos,Ypos,TransparentStatus)
Name$=lower$(name$)
For lp=0 to GetArrayelements(Colours$(),1)
if name$=lower$(Colours$(lp))
ThisBank=AnimBanks(lp)
ThisImage=PeekBankInt(AnimBanks(lp),FrameIndex*4)
drawimage ThisIMage,Xpos,Ypos,TransparentStatus
exit
endif
next
EndFunction
Function LoadFrames(path$,Filename$)
// crude # chr count
for lp=1 to Len(filename$)
inc DigitsLength,mid$(filename$,lp,1)="#"
next
Hash$=Make$("#",DigitsLength)
Dim Frames(1000)
For lp=1 to 1000
f$=replace$(filename$,Hash$,digits$(lp,DigitsLength),1,false,false)
file$=Path$+f$
if FileExist(file$)
img=LoadnewFXImage(File$)
rendertoimage img
ImageMaskCOlour img,Point(0,0)
frames(framecount)=img
inc framecount
else
exit
endif
next
rendertoscreen
AnimBank=NewBank(FrameCount*4)
For lp=0 to FrameCount-1
PokeBankInt AnimBank,lp*4,Frames(lp)
next
EndFunction AnimBank
mick,
let me know if kevin's stuff does or doesn't help you ok.
the point is; if you can make the transparent colour the same colour as the first pixel on an image by images basis then i can make the graphics a lot smoother.
Hi Kevin and BlinkOk
well i told you im not that great , so sorry i aint got a clue whats happening with Kevins code , but thanks for taking the time to do and post , i will after this game try and work out how to load and use frame sheets , just cant suss it out at mo , so doing it frame by frame by loading seperate images.
i did quite a bit tonight got most the images loaded now , got to redo and suss out some code so still plenty to do , but times run out tonight so will carry on tomorrow evening
heres a snip of where i am at mo
thanks mick :)
awesome mick. looks great.
i'm not so interested in using animation sheets.
i am more interested in making the top left pixel of an image the transparency colour.
haha. i think that code is meant to make the first pixel the transparency colour! i don't understand it either and it wont compile with my version of pb (v1.64)
this is the wind animation. you could use it accross all screens (splash, gameplay, success and fail). i created a directory in the gameplay directory call wind and copied the files there.
Download Wind Animation (http://www.mediafire.com/?sharekey=7aef7ece57cef92caf924764f9977b1de04e75f6e8ebb871)
Fail screen (fail.png in the splash directory)
(http://i93.photobucket.com/albums/l75/blinkok/fail.png)
hi BlinkOk ,
download new images , thanks ,
will try to do somemore dinner time at work , as i dont have a lot of time at home tonight but will do some
if i get stuck ile give you both a shout , but so far so good
thanks
mick :)
ok. i'm going away for the weekend so i wont be around for a couple days. cya then
Hi BlinkOk
ive been at it longer than i sould tonight , going around in circles trying to put these images into my code , so i am going to start from scatch now , so will start again tomorrow evening hopefully
i dont think im exprience enough and my code aint that well laid out so its going back to the drawing board i think , see how it goes from there
ile give a progress report later tomorrow
mick :)
no problem mate. i got all the time in the world.
i find if i just plan it out on paper with lists, arrows and little notes (kinna like pseudo code) then writing it becomes easier.
i'll check back on monday my time. cya then
Hi BlinkOk
well after a nice rest got back to work on this today and managed to recue my orignal code , as you know i do get things going with more luck than judgement , and it was the new bigger hammers and with so many images that mucked it up for me and a couple of other things , my collision code was not good enough so had to do some completley differently , still lots to do
last night was a nightmare , think my brain went , things just did not click ,, haha
back soon
mick :)
hey mick,
i'm back and it looks like we're still moving forward, which is great. let me know if you need anything
Hi BlinkOk and all
ok got some more done today , dont know if i sould have just started again a couple of days ago , as its all over the shop , but thats me , haha
ok BlinkOk nearly done ish , heres a demo of where i am in game , i think i need get ready images and times up images , darker egg images for back row of eggs if you think it needs it ,
also the crack egg animation looks wrong as it has big gaps in egg starting to crack but once cracked the crack in thin
i have left your images as they were i think , apart from the blue hammer images still and whack i slightly changed them with more solid outline see what you think
clock needs a better hand i think , something like micky mouse type hand like arrow one end and round hollow circle other end , also a credit screen but sort that out at end
I have not done wind yet , will try that later near end of game
think thats it for now
hope i aint let you down to much
also think im goner use 5 digit score as i have already scored 8256
and also again , shadows on hammers i have done as if there was a light over to one side of room , shadows get slightly bigger with rotatesprite
mick :)
download demo
http://www.zshare.net/download/571013720eb66d4a/
hey that's lookin pretty cool mick! nice work and i like you suggs.
i fixed the egg images and did a pointing hand (they're attached)
with the numbers try this;
make each number only 80% of the width of the previous number to the right.
so if the first number is at x position zero and it's width is 10 pixels then place the next number at position 8. 8 being 80% of 10.
let me know if you need anything else ok
thanks
Hi BlinkOk
thanks for new images , going to put them into game tonight , see how it goes , already done 5 didgets for score and moved the nearer , that looks better , going to do rest of hammers wind etc ,
sould be ready in a few days , if you can do a credit screen for me , with my name as program writer , playbasic as program used and credits for youself for images and any websites info you want to put in as well
i will then put final version up and let you see if any minor changes are needed.
back soonish
mick :)
Hi BlinkOk
did a little more tonight , code tidy up , sprites ect , still got wind to do yet , i could do with the following if possible , play again image for oops screen thus saving going back to title screen , get ready image , time is up image , and new clock hand , credit screen if any or all is possible , thanks
got to get an early night tonight , so back tomorrow
thanks
mick :)
ok i think i got em all;
there are two again images (just like the play images so you can join them together)
get ready.png
time up.png
credits.png
i tried the hand with the line and circle but it didn't look so hot.
i've added a point.png image which has a dot at the point where you should rotate it.
if this is too difficult then let me know and i'll see if i can come up with something else
all images are in the hud directory except for credits.png which is in the splash directory.
Just about all of the setup code
ie
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0001.png",201
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0002.png",202
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0003.png",203
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0004.png",204
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0005.png",205
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0006.png",206
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0007.png",207
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0008.png",208
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0009.png",209
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0010.png",210
LoadfxImage CurrentDir$()+"gfx\birds\blue\chick0011.png",211
etc etc etc
could be replaced with this.
// the filename template of the filename
Filename$ ="chick####.png"
// the location of the files
Path$ =" INSERT PATH HERE \dont chicken out8\gfx\birds\"
// Load ANimation into sequential image numbers
LoadFrames(path$+"blue\",Filename$,1000)
LoadFrames(path$+"cyan\",Filename$,1100)
LoadFrames(path$+"red\",Filename$,1200)
Function LoadFrames(path$,Filename$,IMageIndex)
// crude # chr count
for lp=1 to Len(filename$)
inc DigitsLength,mid$(filename$,lp,1)="#"
next
Hash$=Make$("#",DigitsLength)
For lp=1 to 1000
f$=replace$(filename$,Hash$,digits$(lp,DigitsLength),1,false,false)
file$=Path$+f$
if FileExist(file$)
LoadFXImage File$,ImageIndex
rendertoimage ImageIndex
ImageMaskCOlour ImageIndex,Point(0,0)
inc ImageIndex
inc framecount
else
exit
endif
next
rendertoscreen
EndFunction FrameCount
Hi ALL
Thanks BlinkOk for latest images and to Kevin for help to ,
after a long day programming , testing took the most time , and other bits and bobs here it is i hope , lol
BlinkOk , sorry hand on clock did not look right so did a hand myself , dont look to bad i hope
so here is the end effort , please let me know what you think and ile get back to you
mick :)
http://www.zshare.net/download/572508373ec7e434/
fantastic! it looks great. i did have a small problem on the second level. the white one lost his hat
and i couldn't bash him back into the egg.
(http://i93.photobucket.com/albums/l75/blinkok/dco.jpg)
may i say you have done a REALLY great job with this. i know now it prolly seems like it's been
one big hassle but let me assure you the next one will be that much easier because you have gone
through this process.
in fact i reckon if you were to rewrite this same program again, right now, it would take you only a
fraction of the time you have spent on it to date.
smoothed out the graphics;
Download graphics (http://www.mediafire.com/?sharekey=8ac40435dc3f116b75a4fc82078ae6c865053e830b501e08ce018c8114394287)
Hi BlinkOk
ahh , that eggshell has come back then , i spent 2 hours yesterday looking for that bug , i thought i mended it , i played for a hour it aws ok , but its still there then , i think but not sure its a spritevisible fault in my program , i used newsprite and deleteallsprites for all my program , dont think this was a good idea , i sould have just kept the sprites i had once created and do a spritevisible for ones not needed on screen ..
yes i have learnt a lot here again , and yes if i was to start from scratch i could proberly do it in a few days ,
ok ile go through code and see if i can find that bug..
thanks BlinkOk for all your time spent doing the graphics for this game , i see that you have nearly done all the game in flash , are you going to do a flash version of game?
thanks for new graphics , it looks even better now
btw , you have to keep all 8 chicks alive now , i have made the game easier now as well , but it does get harder later and stays at that level till you die
back soon with bug fixed i hope
mick :)
no worries mick.
i'm sure you'll find the bug
no i'm not gonna do a flash version. just a learning experience for me in working with a programmer (a success i think!)
looking forward to the next release
Hi BlinkOk
Quoteno i'm not gonna do a flash version. just a learning experience for me in working with a programmer (a success i think!)
Thought you mighter done as your flash version was nearly complete and only took you 5 minutes , lol
well yes was a great success for me made my game 100 times better , and im very pleased with the outcome , a kinda game that could come out of mario party maybe , well along them lines ..
dont know how you can draw so well , fantastic .
well thanks for calling me a programmer , ive only been doing it for a short while , can be very frustrating at times but with you graphics it was well worth it
thought i may re-wite this again when im sitting doing nothing , dont know when but i think i will do , just to get it completely right..
with playbasic these types of games look and seem fairly easy to do , i know they are quite simple ( well when im not pulling my hair out ) and they dont really show how powerfull playbasic really is and what i can do , the right kinda game could be fun to play without graphic thrills playbasic offers..
so for the time being im gonner stick to these types of games i think
ok thanks again BlinkOk for graphics , the lastest ones are very nice indeed , you managed to get them even better and only if i knew how to do the anti-alising you may have had a chance to show off even better graphic skills
the last game above still had 3 bugs , one being that you could hit any egg , haha . so i hope i have fixed all bugs now , so i will only post souce code you can just add gfx from above links or game to play
the souce code proberly aint much good to some people as im all over the place still , just cant do it right yet ,
Quotelooking forward to the next release
think ile go back to snake game see how that goes , but can see problems with that for me ,
i think up of another pick up n drop game , a to do game
thanks all
mick :)
no worries mick. it was fun.
this is prolly coz i'm on a later release ::) but none of the transparency is working.
no worries though. i got the older version
Hi BlinkOk
sorry wrong code , ive replaced with peoper one
mick :)
Mick,
The final game seems to have come together pretty well, will certainly have to add this one to the UW homepage I think. It's a pity my niece isn't here, this is something she'd enjoy.
Had a look see at the code, and well yeah, there's room for improvement :)
while flipping through, I noticed one error in this line
nails=(m)=newsprite (54+sp+h1(m),10+h2(m),nail)
I think you meant
nails(m)=newsprite (54+sp+h1(m),10+h2(m),nail)
hi Kevin
yes with BlinkOk's help with graphic's made this game better than it proberly is ,
by all means amend any of the code as you feel fit to do , as i know its pretty untidy. i think its bug free now apart from that =
looking back at it now i sould have moved the eggs in different positions rather than move the chicks and egg tops around , this would have made it easier to program i think , and also a type array with all details of egg, eggtop , bird etc now looks they way i sould have gone.
sorry i did not use your file image loader , maybe you could do this if your going to put it on the UW homepage
yes its a kids game i suppose , but does get quite hard after 6 levels or so
thanks again all
mick :)
In order to set up a page, you'll have to write the description copy and make sure the files are up to date. Email it, or post it so i can set it up
check out (http://underwaredesign.com/prod_detail.php?id=49) some of the others an idea of what's required
Hi Kevin
Ok i will do that soon , im off on holiday any minute now for a week so when i get back ile sort all that out and make sure its 100% complete and fully tested before posting all info
thanks Kevin
back in a week
mick :)
Quotein fact i reckon if you were to rewrite this same program again, right now, it would take you only a
fraction of the time you have spent on it to date.
ahh , well back from holidays yesterday , did a few hours testing game and it still has a bug in it i cant find , so im doing just as BlinkOk said above , ive started again , the code is slightly different than version with bug in , did quite a bit today so in a few days sould be all done . i think i can save at least 100 lines of code this new way , plus make it 100% working ..
i had a good think while on holiday and think im maybe rushing to much , i sould practice experiment with more programming before writing more games as it my programming letting me down , as i have lots and lots of games i want to do , but all beyond my programming ability at the moment..
ok ile post new code when done ..
Kevin , ile post all files when im sure its 100% as dont want to post a 99% version on UW homepage
mick :)
Quoteive started again
I'll might have a go also :)
Quotei had a good think while on holiday and think im maybe rushing to much , i sould practice experiment with more programming before writing more games as it my programming letting me down
Hmm.... That sure sounds familiar :)
Hi Kevin
QuoteI'll might have a go also
yes please do try and find time to do so , will look forward to your version
I think im only rushing because i just got so much i want to do and try out , so many commands i want to learn and try , PlayBasic is like an aladins cave ..
mick :)
ps .. just finished the new version , just testing now , save 200 lines of code this new way
Good work. I haven't even started :)
QuoteGood work. I haven't even started
well no were as busy as you are with site Kevin so gives me more time , anyway ive added a pause function to it just right click mouse button to pause and left click to continue , also what ever you scored by hitting the chick floats up the screen from that chick , as BlinkOk's demo a good few posts back , well all looks and plays ok , another day testing tomorrow and ile post it up
mick :)
Spent a bit of time tinkering with it last night and today. Not on the game, just converting the images. As such, have a found a few well hidden oddities in one of the libraries.
Hi Kevin
QuoteAs such, have a found a few well hidden oddities in one of the libraries.
i take it you meen the hammer sprite im using for collision detection ?
ok ive fully tested this so here's the latest version , all files are uptodate , ile sort out instructions and write the description copy in the next day or 2 and post it , but for now here it is below
thanks
mick :)
Quotei take it you meen the hammer sprite im using for collision detection ?
Nah, There's a few size issues, so some of the frames should really be resized, to trim any dead pixels. The Wind animation is a good example of this. Each frame in this animation is 640K (in memory), so the animation costs 640*18= 10240K (10meg) . An overhead older computers can't really afford.
What I was mainly tinkering with, was a way of automatically building Alpha channels for the foreground sprites. Which can be seen in the picture bellow, although i've intensionally over accentuated it, so they look like ghosts.
if you want alpha channels i can easily re-render the sprites with 24bit alpha
24bit for the Alpha channel is overkill. 8bit is fine.
Hi Kevin
ahh see what you meen , maybe another way of doing wind effect then , most pc's these days have gfx cards that have a minium of 32 meg , ahh i remember my first pc with 512k gfx card , i take it i cant play it on that then , haha
ile leave the alpha channel stuff to the experts as i have no idea about that at all yet , but i can see the effect your talking about and it looks quite good.
i look forward to your code..
mick :)
Quote24bit for the Alpha channel is overkill. 8bit is fine.
i disagree. 8bit produces jagged edges and trying to fix that up on the fly rather than letting an image app do it just doesn't make sense.
Pixel intensities (A,R,G,B) are only 8bit. The extra bits are lost..
if you get it looking as good as the flash one i'll believe you
Well, if you know better, do it yourself.
::)
Mick,
is this version (http://www.underwaredesign.com/forums/index.php?topic=2902.msg19930#msg19930) the final ?
Hi Kevin
yes this is the final version , by the way the link to the game at top of forums , news: is linking Simple Map Maker For PlayBasic and not this game
im still mucking around , i have'nt stopped , how can i as its so adictive , heres a screen shot of my latest simple game , old atari 400/800 favourite
mick :)
So you've got to catch the balloons ?
Ps. fixed the link
Hi Kevin
QuoteSo you've got to catch the balloons ?
well i have about 3 games in mind for this balloon type game , and that was my 3rd
first 2 were very simple type games not much to them , but still fun to play , no going to push or show PB to its full , but does show what a novice like myself can do.
doing a version of
clowns and balloons 1st , just burst balloons
a game called
pinhead 2nd , catch balloons on unicycle's ryders head
and depending on my skills
balloon drop 3rd , catch the balloons and drop them elseware
1st will be ready any day now
mick :)