My first Game in PureBasic

Advanced game related topics
Zack
User
User
Posts: 10
Joined: Tue Oct 24, 2006 9:17 am
Location: Russian
Contact:

My first Game in PureBasic

Post 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
Last edited by Zack on Thu Nov 23, 2006 6:04 pm, edited 9 times in total.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Post by CadeX »

Not bad, not bad at all. I like it.

Pros: Not a 100% clone

Cons: Don't like the CPU usage.
Pro-Gamer, Programmer, Pro-Grammer
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post 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?)
Cyan
User
User
Posts: 11
Joined: Tue Oct 24, 2006 12:58 pm
Location: Russia
Contact:

Post by Cyan »

Nice!
PS
Sorry only SoundTip.dll in Russion Sound
May be Russian? :wink:
PureBasic forever!
Anonymous

Post by Anonymous »

Nice ! :D
Earthworm Jim is in the game :D
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Good job Zack! I liked it.
Zack
User
User
Posts: 10
Joined: Tue Oct 24, 2006 9:17 am
Location: Russian
Contact:

Post 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. :)
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

the game is good. But I dont like the cpu usage. 90-99% all the time.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

I liked it. Good Game. Just a little bit of polish needed here and there but overall good. :)
--Kale

Image
Zack
User
User
Posts: 10
Joined: Tue Oct 24, 2006 9:17 am
Location: Russian
Contact:

Post by Zack »

JCV wrote:the game is good. But I dont like the cpu usage. 90-99% all the time.
help me in this
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post 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.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Zack
User
User
Posts: 10
Joined: Tue Oct 24, 2006 9:17 am
Location: Russian
Contact:

Post by Zack »

:idea: I update version to 0.0.1.5
Zack
User
User
Posts: 10
Joined: Tue Oct 24, 2006 9:17 am
Location: Russian
Contact:

Post by Zack »

New version 0.0.1.6

The small mistakes are corrected. :)

:arrow: Number of download from URL - 57 8)
Character
Enthusiast
Enthusiast
Posts: 337
Joined: Mon Aug 07, 2006 3:51 pm
Location: Netherlands

Post 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)
Cessante causa cessat effectus
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

EXCELENT WORK MAN!!! :D :D :D
Post Reply