Author |
Message |
white_dragon
|
Posted: Sat May 15, 2004 10:41 am Post subject: making a picture move around the cursor |
|
|
i got the part where a picture moves around the cursor but i dunno how i can use two pictures move around.............. like i have one pic of a normal target and another one on an angle so it looks like one of the rotating pics. dunno how i can explain this more.............. if u played the game in the arcade where ur a sniper person n ur scope moves around....... yeah that's bout it this is all i have so far
the first picture and the second picture is the ones i want rotated around each other.
Description: |
|
Download |
Filename: |
first person shooter.t |
Filesize: |
528 Bytes |
Downloaded: |
234 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
white_dragon
|
Posted: Sat May 15, 2004 10:43 am Post subject: (No subject) |
|
|
also, can i center the window in the middle of the screen.
btw here r the pics
|
|
|
|
|
|
white_dragon
|
Posted: Sat May 15, 2004 10:44 am Post subject: (No subject) |
|
|
ummmmmmmmmmmmmmmmmmmm i'm not sure why the pics aren't being uploaded
|
|
|
|
|
|
white_dragon
|
Posted: Sat May 15, 2004 10:49 am Post subject: (No subject) |
|
|
i'll try again
[img]C:\Documents and Settings\user2\Desktop\Target.bmp[/img]
[img]C:\Documents and Settings\user2\Desktop\Target 2.bmp[/img]
|
|
|
|
|
|
white_dragon
|
Posted: Sat May 15, 2004 10:50 am Post subject: (No subject) |
|
|
i'm not really sure how u upload a pic
|
|
|
|
|
|
Mazer
|
Posted: Sat May 15, 2004 11:21 am Post subject: (No subject) |
|
|
You have to attach it. The img tags are only for pics that are already hosted somewhere. And your question makes no sense.
|
|
|
|
|
|
MyPistolsIn3D
|
Posted: Sat May 15, 2004 11:28 am Post subject: (No subject) |
|
|
post yer pics
|
|
|
|
|
|
MyPistolsIn3D
|
Posted: Sat May 15, 2004 1:06 pm Post subject: (No subject) |
|
|
What you mean by rotated around each other?
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
MyPistolsIn3D
|
Posted: Sat May 15, 2004 1:14 pm Post subject: (No subject) |
|
|
this maybe?
Description: |
|
Download |
Filename: |
first person shooter.t |
Filesize: |
528 Bytes |
Downloaded: |
235 Time(s) |
|
|
|
|
|
|
Dan
|
Posted: Sat May 15, 2004 1:49 pm Post subject: (No subject) |
|
|
white_dragon wrote: ummmmmmmmmmmmmmmmmmmm i'm not sure why the pics aren't being uploaded
you can not upload .BMP type pics, u can tho zip them in to one file and upload them. The reason we have bmp file format turned off is that they are much bigger then all the others and there used to be (not shure if there still is) a way to inject code in to them to screw over this site and/or poleop who download them.
|
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
white_dragon
|
Posted: Sat May 15, 2004 4:14 pm Post subject: (No subject) |
|
|
oh......i see
well. last try. i changed the source so it's easier to understand what i'm tryin to achieve.
basically i want that without the lag. but at the same time the moving cursor target thing.
Description: |
|
Download |
Filename: |
First Person Shooter.zip |
Filesize: |
1.41 KB |
Downloaded: |
249 Time(s) |
|
|
|
|
|
|
SuperGenius
|
Posted: Sat May 15, 2004 10:22 pm Post subject: (No subject) |
|
|
Dan, what could be the possible result of subversive code in a .bmp?
|
|
|
|
|
|
Dan
|
Posted: Sat May 15, 2004 11:40 pm Post subject: (No subject) |
|
|
white_dragon wrote: oh......i see
basically i want that without the lag. but at the same time the moving cursor target thing.
i am not shure what u whont, may be somting like this:
code: |
setscreen ("graphics:600;500,nobuttonbar,offscreen")
var x, y, button : int := 100
var target : int := Pic.FileNew ("Target.bmp")
var angle : int := 0;
var pics : array 1 .. 10 of int
for i : 1 .. 10
pics (i) := Pic.Rotate (target, angle, x - 63, y - 67)
angle += 36
end for
Pic.Free (target)
var ii : int := 1
loop
cls
Mouse.Where (x, y, button)
Pic.Draw (pics (ii), x-32, y-34, picMerge)
ii += 1
if ii > 10 then
ii := 1
end if
View.Update
delay(50)
end loop
|
i use offscreen and view.update to try to make it look better and may be get ride of that lag u talking about and i used rotate to make diferent verson of the pic so it could be animated. Not shure if that is what u whonted tho.
As for the bmp thing, it is posable to do malishes things to BMPs so poleop whit IE will have IE run some code. That code could be anything from a virus to instaling spyware to trying to steal your pass for somting.
|
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
the_short1
|
Posted: Sun May 16, 2004 12:23 pm Post subject: (No subject) |
|
|
crzy... yea why have al;l that used webspace for /bmp when u can zip and the zip ratio is like 90%
malicous... thats crzy... they prob fixzed by now... but keep it like it is..
what about a .gif ???cuz if u want to use a .gif in turing see my GIF turoial in the turorial section...
|
|
|
|
|
|
white_dragon
|
Posted: Sun May 16, 2004 4:51 pm Post subject: (No subject) |
|
|
tks dan. that was sorta what i was lookin for.
|
|
|
|
|
|
|