News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Deano's 2009 Compo Blog

Started by Deano, November 16, 2009, 04:49:18 PM

Previous topic - Next topic

BlinkOk

humour me here. where would i be able to download that from?

micky4fun

#16
Hi Blink

here
(REMOVED)

mick ;)

BlinkOk


BlinkOk

animation is awewsome. this is gonna be one really cool game!

Deano

#19
This is my latest update ;D.....source is in the zip.
I really like the feel of this update, I added total mouse control to my character and pressing the LMB
unleashes his super magnetic power ;D
It contains a little of everything, not much game play but you can get the jest of it.
I'm thinking of changing my game too just two shapes. less headaches.

If you see something I could be doing differently please comment, I always learning.


over and out
DEANO 8)
"Black holes are a result of God dividing the universe by zero."-Steven Wright

kevin


Nice...  I like the look and the feel already.   Looking forward to how this turns out.

QuoteIf you see something I could be doing differently please comment, I always learning.

   Not much to say really.  You could turn filtering (SpriteFilter) on the main character  i guess.   

   Although is there any reason why the map is 3D ?  Are these for future levels ?


Deano

QuoteAlthough is there any reason why the map is 3D ?
yes, I have a couple in mind
QuoteYou could turn filtering (SpriteFilter) on the main character
kevin what would this do?I'm clueless
"Black holes are a result of God dividing the universe by zero."-Steven Wright

kevin

#22
  Filtering just adds some softening (smoothing) it as rotates..  Although it prolly spins fast enough that most people wouldn't notice..

PlayBASIC Code: [Select]
   loadfximage "gfx\1.png",1


Spr=NewSprite(400,200,1)
SpriteDrawmOde Spr,2
CenterSpriteHandle spr
; ScaleSprite Spr,2 ( scale it up to make it more visible)

setfps 60
Do
Cls 0
print GetSpriteFilter(spr)

TurnSprite Spr,1

if Spacekey()
SpriteFIlter Spr,1-GetSpriteFilter(spr)
flushkeys
endif

drawallsprites

Sync
loop




BlinkOk

wow. that is lookin very cool deano. great work all round mate.

Deano

Thanks for the kind words :)

My project has taken another turn, I soon will be starting a new job.Good news for me, Bad news for my project. I don't know how much time I can devote to the game but ill try.
so that being said, my game will only feature my square dude and Ill focus more on game play.


GO! PATS

DEANO 8)
"Black holes are a result of God dividing the universe by zero."-Steven Wright

micky4fun

Hi Deano

Yep looking quite nice now , well job comes first , glad to here your good new , dont get much of that these days ,
i could be quite the opposite the way things are going at work , turnover is going back to what it was 30 years ago when i joined firm

but hope you get enough time to get project finished by the deadline as its coming alone nicely

mick :)

LemonWizard




This looks really cool. It's a great start!





Deano

I'll have some pics up later, maybe a demo. Time is my enemy right now.
"Black holes are a result of God dividing the universe by zero."-Steven Wright

Deano

#28
Kevin, can you tell me what Im doing wrong, I'm simply rotating and redrawing my character and using getimage. I cant for the life of me figure how to get it right.
I want the top just like the bottom ???
thanks






PlayBASIC Code: [Select]
global screenw=800
global screenh=600

OpenScreen screenw,screenh,16,2



loadafximage "tt.png",10
loadafximage "face.png",11
DRAWplayer(10)
Do
cls rgb(128,233,255)


for i= 1 to 4
drawimage i,i+(80*i),200,1
next

drawimage 10,300,300,1
drawimage 11,300,300,1



Sync
loop


Function DRAWplayer(IMG)


RotAngle#=0
for II=1 to 4

drawimage 10,0,0,1
DrawRotatedImage 11,40,40,RotAngle#,1,1,-40,-40,1
getimage II,0,0,80,80


RotAngle#=WrapAngle(RotAngle#,90)
next

Endfunction




"Black holes are a result of God dividing the universe by zero."-Steven Wright

kevin


  Here's a hint,  what the 'colour depth' is your example using ?  looks to me like it's 16bit.  16bit doesn't have alpha channel.