Page 1 of 1

Anyone got a basic game example.

Posted: Wed Sep 07, 2005 2:51 pm
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.

Posted: Wed Sep 07, 2005 3:04 pm
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).

Posted: Thu Sep 08, 2005 9:29 am
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

Posted: Thu Sep 08, 2005 6:28 pm
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:

Posted: Fri Sep 09, 2005 3:17 pm
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