Page 2 of 3

Re: Bible Adventures Noah's Ark thread

Posted: Thu Dec 18, 2008 1:32 pm
by trufun202
eatcomics wrote:Yeah my game's collision needs redone to, but to do that I have to remake the levels... they weren' that great to begin with but that doesn't make me want to redo them anymore.... But anyways the game looks like it will be awesome! =) :mrgreen:
I'm glad to see that other ppl have trouble with collisions, and it's not just me. XD

I made a side-scroller that was kinda like Metroid meets Quake - the collisions were a bit flakey..

Re: Bible Adventures Noah's Ark thread

Posted: Thu Dec 18, 2008 1:40 pm
by ismetteren
trufun202 wrote:
eatcomics wrote:Yeah my game's collision needs redone to, but to do that I have to remake the levels... they weren' that great to begin with but that doesn't make me want to redo them anymore.... But anyways the game looks like it will be awesome! =) :mrgreen:
I'm glad to see that other ppl have trouble with collisions, and it's not just me. XD

I made a side-scroller that was kinda like Metroid meets Quake - the collisions were a bit flakey..
Collision detection is one of the hardest things i have encountered in game development too..

Re: Bible Adventures Noah's Ark thread

Posted: Thu Dec 18, 2008 2:00 pm
by M_D_K
When I was doing my lua pong test in my engine. I just did this: Be warned ugly lua script :)

Code: Select all

function Update()
	ball_pos = ball:GetPosition();
	paddle_play_pos = paddle_player:GetPosition();
	paddle_AI_pos = paddle_AI:GetPosition();
	vel = ball:GetVelocity();

	paddle_AI:SetVelocity(pongai.AI(paddle_AI, ball, false));
	paddle_player:SetVelocity(pongai.AI(paddle_player, ball, true));

	if collision.Check(paddle_player, ball) == true then
		if paddle_flip == false then
			vel:set(-vel.x, vel.y, vel.z)
			ball:SetVelocity(vel)
			paddle_flip = true
		end
	else
		paddle_flip = false
	end
	
	if collision.Check(paddle_AI, ball) == true then
		if paddle2_flip == false then
 			vel:set(-vel.x, vel.y, vel.z)
			ball:SetVelocity(vel)
			paddle2_flip = true
		end
	else
		paddle2_flip = false
 	end
	
	if ball_pos.y > 575 or ball_pos.y < 0 then
		if y_flip == false then
			vel:set(vel.x, -vel.y, vel.z)
			ball:SetVelocity(vel)
			y_flip = true
		end
	elseif ball_pos.y < 575 or ball_pos.y > 0 then
		y_flip = false
	end
end
basically the if the balls velocity is already flipped it cannot be flipped again until in the "safe zone". It stops it from getting stuck in the paddle.

Re: Bible Adventures Noah's Ark thread

Posted: Thu Dec 18, 2008 2:04 pm
by cypher1554R
ismetteren wrote:
trufun202 wrote:I'm glad to see that other ppl have trouble with collisions, and it's not just me. XD
Collision detection is one of the hardest things i have encountered in game development too..
Welcome to the club :)

Re: Bible Adventures Noah's Ark thread

Posted: Mon Dec 29, 2008 7:00 am
by programmerinprogress
I've messed around with a few ways of doing collision, for example, I wanted to make a rectangle react differently based on the direction your player collided into.

I almost had it cracked, unfortunately, my pc broke (I'm fairly sure something has gone insane with the CPU) so I was able to test the algorithm, and I couldn't check whether the lag it caused in the game was due to the computer or the function I was using (I think and hope it was the computer, which is now completely kaput! :lol: )

Long story short, collision(and old computers) are ass!

Re: Bible Adventures Noah's Ark thread

Posted: Mon Dec 29, 2008 1:47 pm
by eatcomics
programmerinprogress wrote:I've messed around with a few ways of doing collision, for example, I wanted to make a rectangle react differently based on the direction your player collided into.

I almost had it cracked, unfortunately, my pc broke (I'm fairly sure something has gone insane with the CPU) so I was able to test the algorithm, and I couldn't check whether the lag it caused in the game was due to the computer or the function I was using (I think and hope it was the computer, which is now completely kaput! :lol: )

Long story short, collision(and old computers) are ass!
I believe you :lol:

Re: Bible Adventures Noah's Ark thread

Posted: Mon Dec 29, 2008 1:58 pm
by dandymcgee
programmerinprogress wrote:Long story short, collision(and old computers) are ass!
For game development, yes.

Re: Bible Adventures Noah's Ark thread

Posted: Tue Dec 30, 2008 6:53 pm
by programmerinprogress
dandymcgee wrote:
programmerinprogress wrote:Long story short, collision(and old computers) are ass!
For game development, yes.
Quite rightly! :lol: you can't beat the whirring of an old computer's hard drive/floppy drive (and I mean an OLD computer, like an IBM from the early 90's or 80's if you're that hardcore!), or being able to run DOS games without an emulator!

But a nice reliable machine that you know won't go berserk on you if you decide to test a piece of untested code on a machine is very helpful

Re: Bible Adventures Noah's Ark thread

Posted: Sat Jan 03, 2009 6:07 pm
by Moosader
Bleh, I was going to upload what I had so far but I cannot find my backup disk. It's around here somewhere, I'll find it eventually. :|
I haven't worked on it much since I posted the video, hrm.

Re: Bible Adventures Noah's Ark thread

Posted: Mon Jan 26, 2009 10:11 pm
by Aeolus
Well i have never read this thread before and now i just went and read the whole thing. None of the links work :nono: so i am so lost.

But was there really a company making biblely games? i thought that is like off limits just because you can get so many people mad at you and its kind of morally wrong haha. I mean im not religious but i think if i was religious i would think making a bible game is wrong.

Re: Bible Adventures Noah's Ark thread

Posted: Fri Jan 30, 2009 9:31 am
by programmerinprogress
Aeolus wrote:Well i have never read this thread before and now i just went and read the whole thing. None of the links work :nono: so i am so lost.

But was there really a company making biblely games? i thought that is like off limits just because you can get so many people mad at you and its kind of morally wrong haha. I mean im not religious but i think if i was religious i would think making a bible game is wrong.
that's why Wisdom Tree couldn't get licenses...(I mean apart from the fact that the games were crappy)

(also those horrific game cartridges show you just how unauthorised those games actually are)

If you were a game publisher would you licence these games?

Re: Bible Adventures Noah's Ark thread

Posted: Fri Jan 30, 2009 12:06 pm
by LeonBlade
I remember AVGN's review... laughed my ass off!
The progress so far looks alright...

Re: Bible Adventures Noah's Ark thread

Posted: Wed Apr 08, 2009 4:42 am
by RyanPridgeon
You should finish this, it looks pretty damn cool and you've been stickied up here for months!

D:

Re: Bible Adventures Noah's Ark thread

Posted: Wed Apr 08, 2009 9:57 am
by Moosader
RyanPridgeon wrote:You should finish this, it looks pretty damn cool and you've been stickied up here for months!

D:
If I can find the source code I lost. T_T
(it's on a CD because I backed it up, just can't find the CD) X_x

Re: Bible Adventures Noah's Ark thread

Posted: Wed Apr 08, 2009 11:56 am
by JS Lemming
I always just email myself my code backups.