Search found 11 matches

by CptGreenwood
Sat Oct 20, 2007 10:32 am
Forum: Linux
Topic: Cannot run Programs under SuSE-Linux 10.3
Replies: 2
Views: 1595

Cannot run Programs under SuSE-Linux 10.3

I have a major problem running PureBasic programms under Linux. I have installed PureBasic into my "Home" directory and run the purebasic executable in the compilers dir. That worked fine. But when I start a loaded program from the examples or even a self written one, a window titled "PureBasic ...
by CptGreenwood
Tue Jul 17, 2007 7:38 pm
Forum: Game Programming
Topic: Newbie: Graphics for Sprites
Replies: 6
Views: 3417

Yes, DIV was a very nice language, never found anything similar. I liked the object like way to handle sprites. I created my first (and only) game with it and the game was published in a british magazine (proud...proud...)Unfortunately it is long time dead and I will never find my original CD-ROMs ...
by CptGreenwood
Tue Jul 17, 2007 3:57 pm
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

Agreed. That made it quite clear. Thanx allot. Now I'm going to begin my little game...
by CptGreenwood
Tue Jul 17, 2007 1:14 pm
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

Great! This is exactly what I looked for.
The "whow"-part is the loop in which the sprites are drawn. Could you explain (in a tutorial manner 8) ) how the result is archieved? Thanx in advance.
by CptGreenwood
Tue Jul 17, 2007 12:50 pm
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

@Kaeru Gaman
You're right. I hoped that this works with simple PB commands too because API is a bit advanced stuff, but I've got this example's message.
If it works with a star image...
by CptGreenwood
Tue Jul 17, 2007 12:47 pm
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

Yes, exactly this kind of movement I mean. The background should be a space image which is NOT tiled on the visual part of the screen like your color squares are, but constantly repeated while scrolling.
by CptGreenwood
Tue Jul 17, 2007 12:09 pm
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

one easy way is to use the same sprites over and over.

e.g. on a 800x600 screen you can use 400x300 sprites, then you'll need at least 3x3 of them.

Even if I have 3x3 sprites of this kind, how do I wrap them around when the player flies beyond the end of that 3x3 array?

but a far easier way ...
by CptGreenwood
Tue Jul 17, 2007 11:25 am
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

I've seen the "keyboard.pb" example. It moves background sprites but not endlessly. If you move far enough in one direction the background "ends". I'll look in purearea but if everybody has an example on hand, please tell.
by CptGreenwood
Tue Jul 17, 2007 9:34 am
Forum: Game Programming
Topic: Newbie: Scrolling background
Replies: 14
Views: 5355

Newbie: Scrolling background

Hi,

I've searched this forum for half an hour now but I can't find what I need. Maybe it's to simple to mention...

How can I code a scrolling backgound for a space game? Say, I have a tilable bitmap with a starry backgound. Now my spacecraft should remain at center screen an when I move the ...
by CptGreenwood
Mon Jul 16, 2007 8:29 am
Forum: Game Programming
Topic: Newbie: Graphics for Sprites
Replies: 6
Views: 3417

Thanks. This is a beginning although I'm looking for space game graphics especially.
by CptGreenwood
Mon Jul 16, 2007 7:59 am
Forum: Game Programming
Topic: Newbie: Graphics for Sprites
Replies: 6
Views: 3417

Newbie: Graphics for Sprites

Hi,
I'm an absolute beginner to PureBasic. Years ago I programmed a DOS-based shoot-'em-up with DIV Games Studio (if anyone remembers it). The programming is not my problem at all but I'm really no artician. On the DIV CDROM there where hundreds of graphics for sprites (spacecraft, planets, weapons ...