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.

Author
Message
Post Mortem Productions
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: - Please Select -
Posted: 8th Jun 2003 04:18
I Need Help with fixing this error: This is the source code
rem *********************************Setup the Screen******************************************

value=screen height()
value=screen width()
value=screen depth()
value=screen fps()

rem ********************Start Game Loop*********************************
player_score=0
player_health=100
player_ammo=50
player_xpos=200
player_ypos=200

load image "G:\Game Programming\Games\Space Battle\images\player1_ship.gif",1
paste image 1, screen width()/2, screen height()/2
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Jun 2003 05:14
I don't know what the error is, but I'm gessin' u have 2 many value variables. Make value,Value#,value$,value2,etc.

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Jun 2003 22:59
What is your error? And what's this all about...?

value=screen height()
value=screen width()
value=screen depth()
value=screen fps()

Thanks in advance.
All the Best,
StevieVee
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 9th Jun 2003 23:42
actually you should use:

value1=screen height()
value2=screen width()
value3=screen depth()
value4=screen fps()

or:

sh=screen height()
sw=screen width()
sd=screen depth()
sfps=screen fps()

or any other naming but different for each of the 4 values

Login to post a reply

Server time is: 2024-11-24 16:50:37
Your offset time is: 2024-11-24 16:50:37