some Coding I made

Design concepts in general, talk about your favorites, show levels you've made, give feedback.
Post Reply
User avatar
NARFNra
Posts: 82
Joined: Sun Aug 31, 2008 7:46 pm
Location: Laughing evilly as he manipulates the government on Zeta Flolan.
Contact:

some Coding I made

Post by NARFNra »

This coding will make a ship circle around the screen, and also rotate to stay looking at the center of the screen, or just rotate along with its turns.

Code: Select all

waypoints,1,2.5,250,100,100,250,100,400,250,500,500,500,700,400,700,250,500,100
rotatePart,0,-0.5,0,0,0
Examples:
http://zetaflow.skylogic.ca/game/play/10172/ Crawler Tank, stares at center of screen, and wheels along walls.
http://zetaflow.skylogic.ca/game/play/6976/ Circler, and old level where I invented the circle coding.
I am of open mind and willing to hear criticism. Also: That's stupid and you're stupid. ~ 8Bit Theater

Ye who runs needlessly,
Thou art a fool,
Thou art a fool,
Thou art a fool,
Thou art a fool,
~La Mulana, Endless Corridor Tablet
Sasadad
Posts: 109
Joined: Wed Jan 02, 2008 1:23 pm
Location: Over there... no, a little to the left
Contact:

Re: some Coding I made

Post by Sasadad »

Hey, that's pretty cool, NARF. I don't think I've ever used the waypoints command, this is a good use of it. People should make more ready-to-use code bits like this. *Goes off to do so*


EDIT:
"Plus" Motion (Up, down, left, right):

Code: Select all

waypoints,1,3,400,300,400,100,400,500,400,300,200,300,600,300
Just an experiment with waypoints. Might be useful for some level.
User avatar
NARFNra
Posts: 82
Joined: Sun Aug 31, 2008 7:46 pm
Location: Laughing evilly as he manipulates the government on Zeta Flolan.
Contact:

Re: some Coding I made

Post by NARFNra »

Hey thanks Sasadad! I am going to use that to finish my renovations on my quest for the 8 moons series, I think they are much better now!

Code: Select all

AI_waypoints,1,3,400,300,400,100,400,300,200,300,400,300,400,500,400,300,600,300
This is one that goes up left down right![/color]
I am of open mind and willing to hear criticism. Also: That's stupid and you're stupid. ~ 8Bit Theater

Ye who runs needlessly,
Thou art a fool,
Thou art a fool,
Thou art a fool,
Thou art a fool,
~La Mulana, Endless Corridor Tablet
User avatar
NARFNra
Posts: 82
Joined: Sun Aug 31, 2008 7:46 pm
Location: Laughing evilly as he manipulates the government on Zeta Flolan.
Contact:

Re: some Coding I made

Post by NARFNra »

Code: Select all

waypoints,1,3,100,200,700,200
Back and Forth movement, as shown HERE:
http://zetaflow.skylogic.ca/game/play/9820/
I am of open mind and willing to hear criticism. Also: That's stupid and you're stupid. ~ 8Bit Theater

Ye who runs needlessly,
Thou art a fool,
Thou art a fool,
Thou art a fool,
Thou art a fool,
~La Mulana, Endless Corridor Tablet
Sasadad
Posts: 109
Joined: Wed Jan 02, 2008 1:23 pm
Location: Over there... no, a little to the left
Contact:

Re: some Coding I made

Post by Sasadad »

Those could also be useful. This is fun! :)

Also, this is the 1000th post on the forums.
Post Reply