 |
| View previous topic :: View next topic |
| Author |
Message |
Archonius Newbie
Joined: 22 Aug 2005 Posts: 7
|
Posted: Aug 22nd, 2005 06:04 AM Post subject: Projectiles help! |
|
|
Hey all,
I've recently started making a space arcade game where you have a birdseye view of a spaceship and you move around shooting things. I've got my ships movement perfect but I just cant figure out how to make the projectiles/bullets.
I've been toying with the idea to create an image/s infront of the space craft when someone presses fire and moving the image along a certain projectory, using the code:
| Code: | | Form1.PaintPicture LoadPicture("shipright.gif"), 400, 400, 400, 400 |
But this seems to just create an image on the background without me being able to play with it.
If anyone has any idea of how i can create a projectile please let me know.
Robert Bowen
(ps. I've heard a few people around here using directx in gaming. I dont know how to use this. I know i should be learning but I really want abit of gaming experience under my belt as quickly as possible. I've already made simple things like minesweeper, networked snake, tetris. Im off to uni soon to study computer games programming. Hopefully i'll learn directx there :sick: )
(pps. I use vb 6) |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Aug 22nd, 2005 09:05 AM Post subject: |
|
|
| Without taking you down a completely different path, animation usually takes the form of draw, erase, draw, erase, etc. After a brief time, erase the image from where you put it and draw it somewhere else. I haven't done this myself but since you have half of it covered the erase part shouldn't be too hard to get. |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|