8 direction movement not right, sprite jumps

For questions about using Classic.

Post » Thu Jan 31, 2008 2:27 pm

[quote="liamdawe":gz86qm68]Just a note if x is left and y is up, what are the other two?[/quote:gz86qm68]

X,Y are dimension, x is horizontal, y is vertical.

X-1 means it will go left by 1
X+1 means it will go right by 1
Y-1 means it will go up by 1
Y+1 means it will go down by 1

Simple math =D
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Thu Jan 31, 2008 2:28 pm

Well don't judge but maths has been, gone and failed for me a long time ago!
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

Post » Thu Jan 31, 2008 2:44 pm

And you want to Create games/programs?
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Thu Jan 31, 2008 2:49 pm

[quote="Doppel":2evs97bd]
Y-1 means it will go down by 1
Y+1 means it will go up by 1[/quote:2evs97bd]

Actually, it's the other way around :wink:
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Jan 31, 2008 3:01 pm

Its inverted then, ok gonna repair it XD thx.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Thu Jan 31, 2008 5:25 pm

[quote="Doppel":1ihbl7yn]And you want to Create games/programs?[/quote:1ihbl7yn]

No offense but whoever said you need to be great at maths for programming, well, i am living proof you do not, i have made this month alone 100 off my programming skills in php....but lets not talk about all that.

Thanks for the input guys, it's working nicely now.
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

Post » Thu Jan 31, 2008 6:08 pm

I dont know much about php but it can't make games right? :P
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Thu Jan 31, 2008 6:13 pm

Actually it can make games...obviously you haven't been on the internet for long, there are thousands of php games!
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

Post » Thu Jan 31, 2008 6:16 pm

Since 2001 :P, and like i said "I dont know much about php..." but you were creating games in php?
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Thu Jan 31, 2008 10:05 pm

I once made a text based RPG game in php/mysql yes, sold it for 200 as well :)
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

PreviousNext

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests