Search found 38 matches

by pactace
Thu Feb 12, 2015 3:56 am
Forum: Support and Development
Topic: Creating multiple selectable characters
Replies: 19
Views: 6947

Re: Creating multiple selectable characters

hm so basically make a table such as characters = { player 1 player 2 player 3 player 4} then do all the player[1] = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 700, flySpeed = 800, state = "", h = 55, w = 45, standing = false, } player[2] = { x = 256, y = 256, x_ve...
by pactace
Wed Feb 11, 2015 11:25 pm
Forum: Support and Development
Topic: Creating multiple selectable characters
Replies: 19
Views: 6947

Re: Creating multiple selectable characters

what the heck that makes no sense
by pactace
Wed Feb 11, 2015 3:16 am
Forum: Support and Development
Topic: Multiple Charecters
Replies: 14
Views: 8091

Re: Multiple Charecters

Hm this code is being weird I have a function

Code: Select all

function player:jump()
		if self.standing then
			self.y_vel = self.jump_vel
			self.standing = false
		end
but when I do my code it says player is a nil value but I cleary just made something that says player1 = player
by pactace
Wed Feb 11, 2015 12:45 am
Forum: Support and Development
Topic: Multiple Charecters
Replies: 14
Views: 8091

Re: Multiple Charecters

thanks man so this? player1 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h = 55, w = 45, standing = false, } player2 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h ...
by pactace
Tue Feb 10, 2015 11:14 pm
Forum: Support and Development
Topic: Creating multiple selectable characters
Replies: 19
Views: 6947

Re: Creating multiple selectable characters

I hadn't tested it before it made sense to me but this might make sense no promises player = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h = 55, w = 45, standing = false, } player2 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel...
by pactace
Tue Feb 10, 2015 11:03 pm
Forum: Support and Development
Topic: Multiple Charecters
Replies: 14
Views: 8091

Re: Multiple Charecters

So something like this player1 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h = 55, w = 45, standing = false, } player2 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "",...
by pactace
Tue Feb 10, 2015 2:20 pm
Forum: Support and Development
Topic: Multiple Charecters
Replies: 14
Views: 8091

Re: Multiple Charecters

Can you improve the code cause I have no Idea what you just said
by pactace
Tue Feb 10, 2015 3:42 am
Forum: Support and Development
Topic: Multiple Charecters
Replies: 14
Views: 8091

Re: Multiple Charecters

Here a hypothisis but maybe this would work characters = { player1 player2 player3 player4 } player1 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h = 55, w = 45, standing = false, } player2 = { x = 256, y = 256, x_vel = 0, y_vel = 0...
by pactace
Tue Feb 10, 2015 3:39 am
Forum: Support and Development
Topic: Creating multiple selectable characters
Replies: 19
Views: 6947

Re: Creating multiple selectable characters

Here a hypothisis but maybe this would work characters = { player1 player2 player3 player4 } player1 = { x = 256, y = 256, x_vel = 0, y_vel = 0, jump_vel = -4000, speed = 400, flySpeed = 859, state = "", h = 55, w = 45, standing = false, } player2 = { x = 256, y = 256, x_vel = 0, y_vel = 0...
by pactace
Mon Feb 09, 2015 10:46 pm
Forum: Support and Development
Topic: [help]making your character apear to move
Replies: 4
Views: 1729

Re: [help]making your character apear to move

How do you download it though