GLBasic forum

Main forum => Bug Reports => Topic started by: MEGAMANFAN on 2009-Oct-04

Title: help! ATTENTION!NOTICE!!!
Post by: MEGAMANFAN on 2009-Oct-04
 nothing is wrong(or so it SEEMS!).


please copy and paste this,and make the error GLOW


// --------------------------------- //
// Project: triangleman
// Start: Saturday, October 03, 2009
// IDE Version: 7.082


// DEMO-VERSION:
// Missing features:
// No time limit during gameplay
// No watermark in executables

   // SETCURRENTDIR("Media") // seperate media and binaries?
LOADBMP:"bigor.bmp"
LOADSPRITE:"triangle man shoot1.bmp" 0
LOADSPRITE:"tid.bmp" 1
LOADSPRITE:"slinger.bmp" 2

slinger_x=490

WHILE TRUE:animation
delta=delta+1
IF delta>15
ani=1-ani
delta=0

IF KEY(54)AND shooting=FALSE
shooting=TRUE

slinger_x=slinger_x-1

ENDIF
ROTOSPRITE:slinger_x,400,slinger_x*4
ENDIF sprite:ani, 315, 400

SHOWSCREEN WEND

 :good:


thanks!(to replyers)[if you speak dutch,translate to english!]
Title: Re: help! ATTENTION!NOTICE!!!
Post by: MrTAToad on 2009-Oct-04
Eh ?
Title: Re: help! ATTENTION!NOTICE!!!
Post by: Hemlos on 2009-Oct-04

Please dont post in FAQS Threads.

I am moving this to bug reports.

If this is a bug, please state specifically what is wrong.

Title: Re: help! ATTENTION!NOTICE!!!
Post by: Steinbock on 2009-Oct-04
double dot? ;/
Title: Re: help! ATTENTION!NOTICE!!!
Post by: Hemlos on 2009-Oct-04
Ah ya, ":" ..not needed in  all these


// --------------------------------- //
// Project: triangleman
// Start: Saturday, October 03, 2009
// IDE Version: 7.082


// DEMO-VERSION:
// Missing features:
// No time limit during gameplay
// No watermark in executables

   // SETCURRENTDIR("Media") // seperate media and binaries?
LOADBMP:"bigor.bmp"
LOADSPRITE:"triangle man shoot1.bmp" 0
LOADSPRITE:"tid.bmp" 1
LOADSPRITE:"slinger.bmp" 2

slinger_x=490

WHILE TRUE:animation
delta=delta+1
IF delta>15
ani=1-ani
delta=0

IF KEY(54)AND shooting=FALSE
shooting=TRUE

slinger_x=slinger_x-1

ENDIF
ROTOSPRITE:slinger_x,400,slinger_x*4
ENDIF sprite:ani, 315, 400

SHOWSCREEN WEND

Title: Re: help! ATTENTION!NOTICE!!!
Post by: MEGAMANFAN on 2009-Oct-04
Thank you!!!!!   By the way, I am 9 years old. I am sorry if I sound confusing.   :good:
Title: Re: help! ATTENTION!NOTICE!!!
Post by: Moru on 2009-Oct-04
Press F1, there you get nice help with examples on how to write the commands.
Title: Re: help! ATTENTION!NOTICE!!!
Post by: bigsofty on 2009-Oct-05
Thank you!!!!!   By the way, I am 9 years old. I am sorry if I sound confusing.   :good:

9 years old and programming games already, well done!  :good:
Title: Re: help! ATTENTION!NOTICE!!!
Post by: MEGAMANFAN on 2009-Oct-05
thanks!!any of you who read this has permission to use the code!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: help! ATTENTION!NOTICE!!!
Post by: Hemlos on 2009-Oct-06
Hey megaman,

Pretty cool ideas you have..

Here is something that might help reduce the number of files you need for animations:

ROTOZOONANIM
Title: Re: help! ATTENTION!NOTICE!!!
Post by: MEGAMANFAN on 2009-Oct-06
Hey megaman,

Pretty cool ideas you have..

Here is something that might help reduce the number of files you need for animations:

ROTOZOONANIM
how do you use roto ummm...it?