Excellent thanks Flype,
I was wondering if it was worth looking to load the data sections to 1 image/sprite and animate the alien, or would that just add complexity to the program?
Something like an image strip that was created from the data statements and split into frames.
Cheers
Search found 12 matches
- Thu Jul 20, 2006 11:45 pm
- Forum: Game Programming
- Topic: Create an image from data statements
- Replies: 7
- Views: 2764
- Thu Jul 20, 2006 9:37 pm
- Forum: Game Programming
- Topic: Create an image from data statements
- Replies: 7
- Views: 2764
- Wed Jul 19, 2006 10:59 pm
- Forum: Game Programming
- Topic: Create an image from data statements
- Replies: 7
- Views: 2764
- Wed Jul 19, 2006 8:08 pm
- Forum: Game Programming
- Topic: Create an image from data statements
- Replies: 7
- Views: 2764
Create an image from data statements
I was hoping to create an image from data statements. Nothing gets dispalyed though...
If InitSprite() = 0 Or InitKeyboard() = 0 Or OpenScreen(640, 480, 16, "Space") = 0
MessageRequester("Failed", "Unable to initialise", #PB_MessageRequester_Ok)
End
EndIf
RandomSeed(0)
Restore alien6
Read ...
If InitSprite() = 0 Or InitKeyboard() = 0 Or OpenScreen(640, 480, 16, "Space") = 0
MessageRequester("Failed", "Unable to initialise", #PB_MessageRequester_Ok)
End
EndIf
RandomSeed(0)
Restore alien6
Read ...
- Thu Aug 18, 2005 10:42 pm
- Forum: General Discussion
- Topic: Console mouse coordinates?
- Replies: 3
- Views: 2297
- Mon Jul 18, 2005 11:00 pm
- Forum: Game Programming
- Topic: Pong
- Replies: 7
- Views: 2927
- Sat Jul 09, 2005 10:43 am
- Forum: Game Programming
- Topic: Learn to program 2D games book
- Replies: 98
- Views: 47240
- Fri Apr 22, 2005 10:07 pm
- Forum: Game Programming
- Topic: Learn to program 2D games book
- Replies: 98
- Views: 47240
- Fri Apr 15, 2005 4:05 pm
- Forum: Game Programming
- Topic: Learn to program 2D games book
- Replies: 98
- Views: 47240
- Thu Apr 07, 2005 11:27 pm
- Forum: Coding Questions
- Topic: Animation Frames or Clip Image
- Replies: 1
- Views: 1016
Animation Frames or Clip Image
Hi,
Is there an argument to pass when displaying images (sprites), that is used for displaying frame n of several frames - or do you have to clip an image to display the frame you require?
i.e. say I have a two frame image to give basic movement. Can I say display image (name, frame)
or will I ...
Is there an argument to pass when displaying images (sprites), that is used for displaying frame n of several frames - or do you have to clip an image to display the frame you require?
i.e. say I have a two frame image to give basic movement. Can I say display image (name, frame)
or will I ...
- Mon Aug 30, 2004 5:50 pm
- Forum: General Discussion
- Topic: java applet
- Replies: 3
- Views: 1201
- Sun Aug 03, 2003 12:40 am
- Forum: Game Programming
- Topic: PureBasic Game Tutorials???
- Replies: 52
- Views: 22671