Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1385047 Posts in 66314 Topics- by 58788 Members - Latest Member: guiuy

November 25, 2020, 08:37:20 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsDemipong
Pages: [1]
Print
Author Topic: Demipong  (Read 1978 times)
Zaratustra
Level 7
**



View Profile WWW
« on: March 18, 2009, 04:16:26 PM »

Pong, except the ball is the only definite object. Each half of the screen is its own program, and different halves can be mix-matched.

Ideally I'd like other people to program halves as well, but I am unsure if anyone with the interest to do so could grasp Ruby.

The prototype is at http://zarawesome.googlepages.com/demipong.rar .

wasd move left. arrows move right.

on starting screen, 1 and 2 toggle the AI for players 1 and 2. The AI plays well for simple games but buckles on Soccer, Volley and Arena.
Logged

george
Level 7
**



View Profile
« Reply #1 on: March 18, 2009, 04:43:03 PM »




I love the idea.

Quote from: stderr.txt
(eval):432: warning: don't put space before argument parentheses

Can you say a little more about programming halves.
Logged
Zaratustra
Level 7
**



View Profile WWW
« Reply #2 on: March 18, 2009, 05:14:14 PM »

Strange. Launch the game with the "-log" argument to get a more detailed file under log.txt.

Right now halves are classes defined in the scripts/demi_*.rb files and then added to the list in scripts/main.rb. They're more or less documented in there.
Logged

mokesmoe
Level 10
*****



View Profile WWW
« Reply #3 on: March 22, 2009, 10:49:07 AM »

I got the same error as george, but with undefined method '*' not '>'
Logged
Zaratustra
Level 7
**



View Profile WWW
« Reply #4 on: March 22, 2009, 11:04:28 AM »

I've located the issue, working on it.
Logged

Zaratustra
Level 7
**



View Profile WWW
« Reply #5 on: March 30, 2009, 12:59:03 AM »

aright should be fixed now
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic