Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / help me please.I'm a noob

Author
Message
jey
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 11th Jan 2004 22:03
Hi,

I'm trying to do a breakout-like game but i've got some problems.
- I have a grey screen ( that I hadnt before )
- I dont know how to center the camera on the game and to define the dimension of the game.
here is my source code

Help me!

spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 11th Jan 2004 22:13
This should get you started:



remember 'float' variables have the # after the name, not before.

Unless you do AUTOCAM OFF at top of program, then everytime you create a new object the camera is automatically positioned to be in front of it. Best to turn off this and position camera manually

Boo!
jey
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 11th Jan 2004 22:25
THanks a lot It works now !

Login to post a reply

Server time is: 2024-05-12 00:02:53
Your offset time is: 2024-05-12 00:02:53