Anyone got a basic game example.

Advanced game related topics
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Anyone got a basic game example.

Post by ColBoy »

I want to dabble with writing a simple game and was wondering if anyone had some simple examples. I've seen the sprite examples that come with Purebasic, but wanted something that showed the following.

1. Pixel collision detection
2. Writing sprites over a background image
3. Syncing sound with sprites

Ideally I do not want a full game, just something small to give me an idea of how to do the above. I have a few ideas for some retro remakes and intend to write them using Purebasic under Windows. Admittedly I haven't done anything in anger using Purebasic, but have dabbled a bit. My main experience is with Delphi, Python and .NET.

Thanks in advance.
Colin
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Did you get the CodeArchiv? Im sure (very very sure) i've seen some collision examples at there - same as all the other things you're willing to test on PB...

http://www.purearea.net/pb/download/CodeArchiv.zip
(Else I'll let you punch me a little but beware of the answer hehe).
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
carolight
User
User
Posts: 41
Joined: Mon Feb 09, 2004 11:08 am
Location: Gold Coast, Australia

Post by carolight »

Helicopter scrolling game demo tutorial at

http://www.3dcurrman.com/tutorial.htm

and other game examples, some with source

http://www.purearea.net/pb/english/projects_game.htm
Brice Manuel

Post by Brice Manuel »

Just remember if you get stuck or need help with something, do not be afraid to ask. There are lots of smart and friendly people here who will generally help whenever they can. :wink:
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Post by ColBoy »

Thanks all, that gives me enough to be getting on with. I keep forgetting about the CodeArchive.

I haven't written games since the Speccy days. I just earn a crust writing business apps.

Thanks
Colin
Post Reply