Main Menu

Clowns 'n' Balloons final released !!!

Started by micky4fun, April 24, 2009, 02:51:10 PM

Previous topic - Next topic

micky4fun

ok BlinkOk   thanks for latest images , ile post asap an update on game direction to see what you think

ok U9 thanks for looking later for us

mick :)

micky4fun

hi BlinkOk
and u9

dont worrie im still at it , having loads of trouble getting the collection of stars and hearts at see-saw working as it sould , tried lots of ways but all not quite right , so still at that part at mo , will hopefully post an update on that tomorrow..

mick :)

kevin


is there a current demo ?

micky4fun

#78
Quoteis there a current demo ?
well sort off , found whot i was doing wrong , silly mistake thats took nearly 3 days to suss out and many ways of doing it wasted as all did not work , but would have ,
i was checking for a collision between 2 sprites that i created they were at posistion 0,0 then check for collision then moved them , but did not move before looking for a collision so they kept returning a collision , bugger what a mistake to make checking before positioning them.
well wont forget that in a hurry

ok as you can see i have not progress that much further thanks to that , a little update on clown flying up as 1 frame was in reverse in last demo

the idea is that you burst them balloons and every now and then one will release a heart or star or even a bomb ( bomb not yet in game ) extra points for a star collected in middle of see-saw , heart will be collect say 10 for extra life , and bomb released will randomly fly around top of screen and explode and take out any balloons , well ile try to do it that way see what happens

so still lots to do , any comments welcome

still mouse controlled at moment , right mouse to test droped awning

thanks
mick ;D

BlinkOk

looks good mick. i never would have thought to make them drop down. it definitely adds another dimension to the gameplay.
all the animations look superb, you really have done a great job with the timing.

micky4fun

#80
Hi BlinkOk and all

yep not going to bad at mo , still a few things need tiding , one main thing is that a can not suss out how to collect 2 or more items from the same spriteclass that fall , so the see-saw detects them all
it detects the first one ok and if another follows at same time it goes straight by , i need the folling code done so i can dectect nextsprite,,

hitmid=SpriteHit(cseesaw,GetFirstSprite(),2)
            if hitmid>0  and balloons(hitmid).hit=0
               if balloons(hitmid).x#<ddd-20
                  balloons(hitmid).hit=2
                  else
                     if balloons(hitmid).x#>ddd+70
                        balloons(hitmid).hit=3
                        else
                           if balloons(hitmid).y#<640
               balloons(hitmid).hit=1
               balloons(hitmid).r#=0.5
               ppp=ppp+1
               endif
               endif
               endif
               endif

i have used getnextsprite and getfirstsprite commands but cant suss it out , i did the example in spritehit in references , but no joy
is there anyone that can amend the above code so i can detect 1 or more spritehits from the same spriteclass

there is a way around it by making sure only 1 item from each spriteclass falls at one time , but i know it can be done
so help please

ok ile get on with doing rest i the mean time

thanks
mick ;D

ps i know i have the same problem with when clown goes up he sometimes only burts 1 balloon in the same line even if he hits 2 or 3 , but this makes the balloons last a little longer so this is ok

kevin

#81
 above you're only checking for the first impact, you will generally need to continue checking after  a collision found.   

eg.



HitSprite=SpriteHit(SpriteToCheckforCollision,GetFirstSprite(), Group)

While HitSprite>0
    NextSprite=GetNextSprite(HitSprite)
   
       // do collision response here
   


// Check again, since the sprite might be in contact with more than one sprite
HitSprite=SpriteHit(SpriteToCheckforCollision,NextSprite, Group)
   EndWhile
   

micky4fun

#82
Hi Kevin


thanks for taking time to do snippet for me , yes this snippet is the same as the one in the reference of playbasic , its the way i have done the program , because it keeps coming up with sprite out of range now , as it did with one of the ways i did it earlier and other ways i tried it did not work , if you or anyone else get time to look through my spiders web , you or they maybe how to amend it so it works properly , if not dont worrie ile just have 1 item at once from each row , ok heres where i am now after a few hours today , just wondering if when you die is done ok?

after dying you have 7 seconds or it goes into demomode , press "s" anytime to start again

BlinkOk i think i need a you died or you failed or ending banner to display when cutain fails , and a get ready or something while cannons on way to screen
also a extra life meter or clown life filling up in 5 parts or so , so when 5 or so hearts are collected you get the extra life , im gonner have a max of 4 lifes

any comments please

mick :)

BlinkOk

lookin good micky dude. i'l get onto those images for ya.

micky4fun

Hi BlinkOK

ok thanks , no rush , when ever ready , that would be great

thanks
mick :)

ATLUS


BlinkOk



Download labels and buttons.zip



Download life meter

u9

Looking good. I figured out the problem with the awning. The image "curtain edge.png" is not a true-color image. It has a palette. If you convert it to a 24 bit image and draw the puprle/pink where you want it to be transarent, you should be fine... ok, nix that. I have attached a fixed image.

The game is coming along nicely. But it is getting a little slow with all the balloons on screen (at least on my machine). Are you aware of it, and have you any fix in mind? I'll have a look through the code (some day) see what is causing the slowdown :)

micky4fun

#88
Hi all

QuoteBut it is getting a little slow with all the balloons on screen (at least on my machine). Are you aware of it, and have you any fix in mind?
i have only tried it on 2 pc's and seemed ok speed wise , on both in window mode with setfps uncapped and got 125 fps , i will test it on brothers older pc later
just setfps to 60 in window mode and dont look to bad ,
QuoteI'll have a look through the code (some day) see what is causing the slowdown
yep that would be good , sure to be a few things that may speed it up , i know the cannon images are very large as im rotating them , thanks
thanks u9 for re-doing image for us,
hi BlinkOk heres the latest demo , i think we need a image like the front splash screen for when in demo mode when blind comes down its bare , maybe front splash without circus tent background with credits for game by micky4fun , playbasic and gfx by yourself etc , or something like that ,
still got bombs and stuff to do ,

anyway here it is so far
now only 1 item from each row at once so see-saw collects them properly , controll still with mouse for time being so still very easy , no level hardnest increase at mo.
some more errors fixed as well..

mick :)

BlinkOk

lookin good. here are some logo decals;
Download decals.zip