Ok. I didn't add the water tile yet, but I merged the delete objects function with the make level part, and now there isn't any delete objects part, but the make level part takes alot longer now. Why does this command:
If object exist(objectnum) = 1 then delete object objectnum
take longer than this:
IF Map(level,x,y) = 14
Make object plain ObjectNum,10,10
xrotate object Objectnum,90
Position object Objectnum,x*10,0,y*10
Texture object Objectnum,1
Objectnum = Objectnum + 1
endif
If Map(level,x,y) = 16
Make object cube Objectnum,10
Position object Objectnum,x*10,4,y*10
Texture object Objectnum,2
Make object collision box Objectnum,-5,-5,-5,5,5,5,0
Objectnum = Objectnum + 1
endif
IF Map(level,x,y) = 17
Make object plain ObjectNum,10,10
xrotate object Objectnum,90
Position object Objectnum,x*10,0,y*10
Texture object Objectnum,3
Objectnum = Objectnum + 1
endif
If Map(level,x,y) = 19
Make object plain ObjectNum,10,10
xrotate object Objectnum,90
Position object Objectnum,x*10,0,y*10
Texture object Objectnum,7
Objectnum = Objectnum + 1
endif
???
Sorry for the double post
-------------------------------------------------
NEW DEMO
This demo has a new floor tile
ice(makes you go really fast) and water(makes it hard to move right and left) tiles
improved camera
New bomb texture
Loading screens
1 level(Will not be first level, just a demo level to show all the different kinds of things)
How do you like it?
Is the camera a little too weird?
I am thinking about making 2 more tiles: A magnet tile(reverses left and right controls) and a spring tile(makes you bounce)