Page 1 of 3

My first Game in PureBasic

Posted: Tue Oct 24, 2006 9:26 am
by Zack
It's Classic game...

:!: Sorry only SoundTip.dll in Russian Sound :oops:

Version: 0.0.3.0

:arrow: Download (2.88Mb) here:
http://byzack.servehttp.com/load/4-1-0-5
or this
http://byzack.servehttp.com/load/0-0-0-5-20

SoundTip.dll Code

Code: Select all

DataSection
noAmmo: IncludeBinary "data\NoAmmo.wav"
ShotMiss: IncludeBinary "data\ShotMiss.wav"
3xHit: IncludeBinary "data\3xHit.wav"
3xHit2: IncludeBinary "data\3xHit2.wav"
Fire3x: IncludeBinary "data\Fire3x.wav"
NoClick: IncludeBinary "data\NoClick.wav"
EndDataSection
ProcedureDLL GetSound(Num.w)
  Select Num
    Case 0
      ProcedureReturn ?noAmmo
    Case 1
      ProcedureReturn ?ShotMiss
    Case 2
      ProcedureReturn ?3xHit
    Case 3
      ProcedureReturn ?3xHit2
    Case 4
      ProcedureReturn ?Fire3x
    Case 5
      ProcedureReturn ?NoClick
  EndSelect
EndProcedure
; IDE Options = PureBasic (Windows)
; ExecutableFormat = Shared Dll
; CursorPosition = 6
; Folding = -
; Executable = SoundTip.dll

Posted: Tue Oct 24, 2006 11:08 am
by CadeX
Not bad, not bad at all. I like it.

Pros: Not a 100% clone

Cons: Don't like the CPU usage.

Posted: Tue Oct 24, 2006 11:11 am
by Hurga
Looks nice. I like it
The sounds are quite funny.
The russian language doesnt bother me, but it seems a bit too loud.

Then while starting it take quite a long time, so better make a Splash-Screen.

And the ball is really slow. I would speed it up a little bit (maybe in later levels?)

Posted: Tue Oct 24, 2006 1:04 pm
by Cyan
Nice!
PS
Sorry only SoundTip.dll in Russion Sound
May be Russian? :wink:

Posted: Tue Oct 24, 2006 5:29 pm
by Anonymous
Nice ! :D
Earthworm Jim is in the game :D

Posted: Wed Oct 25, 2006 1:16 am
by mskuma
Good job Zack! I liked it.

Posted: Wed Oct 25, 2006 8:13 am
by Zack
Hurga wrote:Looks nice. I like it
The sounds are quite funny.
The russian language doesnt bother me, but it seems a bit too loud.

Then while starting it take quite a long time, so better make a Splash-Screen.

And the ball is really slow. I would speed it up a little bit (maybe in later levels?)
:idea: Splash-Screen - Good idea. I shall make in the following version.

:arrow: Number of download from URL - 36 8)

:!: Who knows ideas say to me. :)

Posted: Wed Oct 25, 2006 8:59 am
by JCV
the game is good. But I dont like the cpu usage. 90-99% all the time.

Posted: Wed Oct 25, 2006 9:14 am
by Kale
I liked it. Good Game. Just a little bit of polish needed here and there but overall good. :)

Posted: Wed Oct 25, 2006 9:31 am
by Zack
JCV wrote:the game is good. But I dont like the cpu usage. 90-99% all the time.
help me in this

Posted: Wed Oct 25, 2006 11:03 am
by Psychophanta
Zack wrote:
JCV wrote:the game is good. But I dont like the cpu usage. 90-99% all the time.
help me in this
http://www.purebasic.fr/english/viewtopic.php?t=12825
I use that simple trick: Flipbuffers():Delay(16) !

The maximum amount of milliseconds to delay is Int(1000/VerticalBlankFrequency).
Notice that if the game is executed on a i286 or a CPU less than 300 MHz, then don't use Delay(16), but 'Delay(6)' or so; depending of the duty of your tasks in the main loop.

Posted: Wed Oct 25, 2006 11:46 am
by Zack
:idea: I update version to 0.0.1.5

Posted: Fri Oct 27, 2006 8:00 am
by Zack
New version 0.0.1.6

The small mistakes are corrected. :)

:arrow: Number of download from URL - 57 8)

Posted: Fri Oct 27, 2006 8:38 am
by Character
Nice game!
Actually my brothers wife is Russian.
Maybe I can ask their 6 years old son, who is crazy about these kind of games, to translate the game..
That little guy will have no problems wit that! 8)

Posted: Fri Oct 27, 2006 11:21 am
by Num3
EXCELENT WORK MAN!!! :D :D :D