Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / can any body help me load my ship into a example to make it fly

Author
Message
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 17th Sep 2004 13:22
can any body help me i am trying to make a game with some friends and i cant figure out how to place the ship into the program if any body can help me with it this is the code its an example of a thing i got off of dark basic im just seeing how to do it heres the code



crzy programer
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 18th Sep 2004 07:04 Edited at: 18th Sep 2004 07:05
load bitmap "c:\ship.bmp"
get image 1,0,0,32,32

Try just one command.

load image "c:ship.bmp", 1

Ideally, you want to not include the C: part and just place the bitmap in the same directory as the exec. Absolute paths are not good for most games since they can be installed anywhere.

You can use paste image to display the image each loop. Or, you can make a sprite from that image and move that around. The sprite method is probably your best bet.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Sep 2004 11:31
how do i set the camra angle behind the ship

crzy programer
JeBuS
21
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 18th Sep 2004 12:01
camera angle behind what ship? you're making a 2d game aren't you?


High quality models and graphics, low prices. Graphics for the rest of us.
Dot Merix
22
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Canada
Posted: 18th Sep 2004 12:24
If your making a 2d game, you cant place the camera behind the ship.

Camera's work for 3d games.

- Merix
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Sep 2004 13:13
can a bitmap move or do i need to use a sprite

crzy programer
Dot Merix
22
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Canada
Posted: 18th Sep 2004 13:41
Sprite it.

- Merix
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Sep 2004 23:32
ok thank you

crzy programer
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 3rd Oct 2004 05:27
[img] http://pub35.bravenet.com/photocenter/album.php?img=65447&usernum=2953731738 [/img]

crzy programer
Crazy Programmer
AGK Developer
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 3rd Oct 2004 07:56

Login to post a reply

Server time is: 2026-06-11 17:29:34
Your offset time is: 2026-06-11 17:29:34