
-----------------------------------
Mr. T
Sat Mar 19, 2005 7:25 pm

Screen Dimension Decrease
-----------------------------------
In my game I want the screen size to decrease every level..

 if score=50
    then View.Set ("graphics:300;200,title:Uncle Worm           Score: " + intstr (score))
end if 

Is it possible to use instr or some other way of decreasing the screen dimensions?

-----------------------------------
Cervantes
Sat Mar 19, 2005 7:58 pm


-----------------------------------
Right on.

View.Set ("graphics:" + intstr (newMaxX) + ";" + intstr (newMaxY) + "title:....")


-----------------------------------
Mr. T
Sat Mar 19, 2005 8:46 pm


-----------------------------------
for some reason when i make the screen dimensions a variable, my scoring system doesnt work?!?!


score += 10 %when food collision detected points are added to score
View.Set ("graphics:" + intstr (newMaxX) + ";" + intstr (newMaxY) + "title:Uncle Worm           Score: " + intstr (score))


-----------------------------------
Cervantes
Sat Mar 19, 2005 9:18 pm


-----------------------------------
This is one of those pesky problems that could take hours to figure out what's wrong.  Unless you know what to look for.  Here, I'll post the correct code, and see how long it takes you to find the error.

score += 10 %when food collision detected points are added to score
View.Set ("graphics:" + intstr (newMaxX) + ";" + intstr (newMaxY) + ",title:Uncle Worm           Score: " + intstr (score)) 


-----------------------------------
Mr. T
Sat Mar 19, 2005 9:29 pm


-----------------------------------
you forgot the comma in the original post... but I forgive you :P

-----------------------------------
Cervantes
Sat Mar 19, 2005 9:33 pm


-----------------------------------
Ah bloody hell!  My apolagies.  :oops:
