News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Challenge #14 Example - Simple Character Control Systems

Started by kevin, November 10, 2008, 05:44:57 AM

Previous topic - Next topic

kevin


>> Clever Coders Challenge #14 - Simple Character Control Systems  <<



  This package includes a hand full of solution to control a character on the X axis, The Y axis and both combined.  The package includes version of the demos for KeyBoard and JoyPad as well as bigger example with a fully animated Doggie character. 


Downloads Attached


micky4fun

hi Kevin

nice example , with nice fulid animation , but  little over my headat the moment , maybe you can cler things up a little for my brain , lol

the #include "freeimage" loads the freeimage dll
1. is this a common file or one you made ?
2. what does this file exactly do ?
3. would there be another way to do this program without using this dll file ?


thanks
mick  :)

kevin

Quote1. is this a common file or one you made ?

It's a standard library (SLIB) and is part PLayBasic.  The FreeImage library is wrapper for a the FreeImage image processing DLL.

Quote2. what does this file exactly do ?

  Load this particular type of image and retains the Images Alpha Channel.  The default loader embedded in PB, does not.

Quote3. would there be another way to do this program without using this dll file ?

  Yes, it's only used here, because the Doggie IMage has Alpha Channel.


micky4fun


micky4fun

#4
very interesting program , sure could find a way of using this

also amend

Global FrameWidth   =810/9   
Global FrameHeight   =720/8

for perfect animation

even though the image is 800 by 711

mick  :)