mky pc good for blitz basic 2d?
Blitz3D Forums/Blitz3D Beginners Area/mky pc good for blitz basic 2d?
hi,
i got a:
pentium 2 333 mhz
direct X 9.0
1000 watt speakers
52 speed cdrom
392 mb ram
10 gb harddisk
and i was wondering if this is enough to run BLitz Basic at all? because when i test my game i only hear a sound (but when i remove the rotation code) everytrhing runs normal?
:(
greetz,
Sephiroth
i got a:
pentium 2 333 mhz
direct X 9.0
1000 watt speakers
52 speed cdrom
392 mb ram
10 gb harddisk
because when i test my game i only hear a sound
Probably because you don't have a graphics card? ;)
Seriously, spec seems fine (I'm assuming there *is* a graphics card of sorts?). I coded Hole in One on a Cyrix 233MHz with 128Mb RAM and 4Mb integrated graphics card.
Your specs look fine, although you've failed to mention you have a sound card either... I'm assuming you do.
You're going to have to post some code so we can see what you're doing and where you're going wrong.
I'm not sure what you're talking about 'removing the rotation code' if you're using rotate image in your main loop this will hang your whole system out to dry as it's not fast enough for realtime stuff.
Post some code and we'll take a look.
hi,
Global Player
Global snd
Graphics 800,600,16
SetBuffer BackBuffer()
Player= LoadImage("player.jpg")
intropic = LoadImage ("yakuza logo 2.jpg")
music = PlayMusic("dragonforce.mp3")
timer = CreateTimer(20)
ship = LoadAnimImage ("player.jpg", 113,113,0,36)
startframe = 27
frame = 27
Repeat
If speed# < 0 Then speed# = speed + .01
If speed# > 0 Then speed# = speed - .01
If KeyDown(200) Then ;UP Arrow
speed# = speed + .05
If speed# > 2 Then Speed# = 2
End If
If KeyDown(208) Then ;Down Arrow
speed# = speed - .05
If speed# < -2 Then Speed# = -2
End If
If timer+50 < MilliSecs() Then
timer = MilliSecs()
If KeyDown(203) Then ;Left Arrow
frame = frame - 1
If frame < 0 Then frame = 35
End If
If KeyDown(205) Then ;Right Arrow
frame = frame + 1
If frame > 35 Then frame = 0
End If
End If
angle = (frame-startframe)*10
x# = x# + Cos(angle)*speed#
y# = y# + Sin(angle)*speed#
DrawImage player, x#, y#, frame
Flip
Cls
Until KeyHit(1)
DrawImage intropic, 1,1
Flip
While Not KeyDown(57)
Wend
While Not KeyHit(1)
Cls
If KeyDown (200) y=y-2
If KeyDown (203) x=x-2
If KeyDown (205) x=x+2
If KeyDown (208) y=y+2
If KeyHit (31) PlaySound snd
DrawImage Player,x,y
Flip
Wend
i get: "not enough frames in bitmap" but uhm...what bitmap? i have taken the rotation code from a other topic. because i am a real beginner in this :) (crtl+v ctrl+c) :(
Player= LoadImage("player.jpg")
ship = LoadAnimImage ("player.jpg", 113,113,0,36)One of these are wrong.
i get: "not enough frames in bitmap" but uhm...what bitmap? i have taken the rotation code from a other topic.
I would have to say "your ship bitmap". If you ask me you missed something while copying and pasting.
And yeah, that computer should run Blitz just fine.
1000 watt speakers
Damn! I don't want to be sitting in front of those puppies ;c)
>Damn! I don't want to be sitting in front of those >puppies ;c)
Thats propably 1000Watt P.M.P.O roughly the same as 25 (DIN)watts ;)
Andy
Double post!? WTF?
Andy
Yeah. It should be illegal to give speaker ratings in PMPO. I only buy the ones that give it in RMS - i.e. truthfully.
ok. for fully deteails about specifications here it is:
Pentium 2 333 mhz
Windows 2000 Proffesional 2.0.2195 Service Pack 4 Build 2195.
392 mb ram
5.1 sound card
52 speed cdrom
1000 watt speakers
direct x 9.0
10 gb harddisk
848 mb virtual memory
Still i cant get it to work.; it says: not enough frames in bitmap...i changed the ship into player. but still a error :S
If that's the error you're getting, then it means that the bitmap is not big enough for it to cut 36 113x113 images from it.
I'd check that if I were you...
Perhaps I wasn't speaking too clearly. The fault is not a hardware issue. The fault is in your program, or in your media. Zip everything up, and let us have a look.