STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is resource FPTLE64, an Archived Thread.
Original location: https://boards.4chan.org/f/thread/3481590/i-wish-i-could… Recognized format: Yes, thread post count is 4. Discovered flash files: 1 There are 2 links ending with .swf in this thread (1 more than the discovered amount of flash files). File: Sealoop.swf-(2.41 MB, 1280x544, Loop) [_] I wish I could make the ship controllable Anonymous 03/31/22(Thu)13:36:56 No.3481590 >> [_] Anonymous 03/31/22(Thu)14:01:28 No.3481593 >>3481590 It's not that hard. Somebody made it work: http://swfchan.com/47/231202/?KRoolGalleonInteractable.swf >> [_] Anonymous 03/31/22(Thu)15:39:17 No.3481597 >>3481593 I have a basic understanding of how to move an object in a flash with keyboard buttons but to do it in a way it moves now, slowly and elegantly, swaying up and down in an arch, that's gonna be the real problem for me >> [_] Anonymous 03/31/22(Thu)18:27:08 No.3481604 >>3481597 I don't know anything about ActionScript, but from a logical stand point I would do these things: 1. Get the position of the cursor. 2. Assign a y position for the ship to be at on the screen. 3. Assign a y velocity which gets added to the y position every frame. 4. For every frame the cursor is above the y position, subtract a given acceleration value from the y velocity, the value should scale with the distance between the y position and cursors y position. 5. For every frame the cursor is below the y position, add a given accelerate value to the y velocity, the value should scale with the distance between the y position and cursors y position. 6. Map the up and down rotation of the ship to the y velocity value. 7. Bind the y position to the ships y position on screen. If all of that works out then the end result should be that the ship smoothly follows your cursor up and down, rotating downward to meet your cursor if it's below the ship, and rotating upward to meet your cursor if it's above the ship. |
|