Basic tutorial help
by Tom Biagioni · in Torque Game Builder · 06/26/2005 (11:53 am) · 5 replies
I was moving right along in the basic tutoiral, having a whale of a good time, when i get to the section about cleaning up code. So I start to clean it up, but i guess i did too good of a job, because now nothing is on the screen! I've started over now 3 times and keep hitting the same wall, no player, no enemy, no missle...nothing. I've fuctioned my brains out at this point,Whats going on here? Can anyone help?
#2
a screen shot
i put in the code just as the tutorial said to--i typed it in and cpoy and pasted--but i keep getting that strange cut off....baby steps
06/26/2005 (4:17 pm)
It was a simple problem, turns out the code wasn't just exactly where it needed to be, but now i have a new problem... the background doesnt seem to be filling the screen...a screen shot
i put in the code just as the tutorial said to--i typed it in and cpoy and pasted--but i keep getting that strange cut off....baby steps
#3
I'm guessing the problem is that the scroller.map file is sized for the spaceshooter demo, if you run the demo you can see that the 'sky' is only on the top part of the screen, meaning that it would make sense that they chopped it off the bottom..
of course that doesnt make the "simple demo" look very good, but it makes sense.
Also, in playing with the tile editor, trying to get the scroller.map to load, and there seems like a number of bugs exist that makes it hard (impossible?) to properly edit the finished scroller.map file.
06/26/2005 (5:00 pm)
FYI, i get the same problem, so I dont think it's nessicarily you, but is a bug in the tutorial.I'm guessing the problem is that the scroller.map file is sized for the spaceshooter demo, if you run the demo you can see that the 'sky' is only on the top part of the screen, meaning that it would make sense that they chopped it off the bottom..
of course that doesnt make the "simple demo" look very good, but it makes sense.
Also, in playing with the tile editor, trying to get the scroller.map to load, and there seems like a number of bugs exist that makes it hard (impossible?) to properly edit the finished scroller.map file.
#4
The stuff posted by "king Tut" seems to be a good resource, though i havent looked through it much
Getting started with T2D
06/26/2005 (5:48 pm)
But do realize that this is a "unfinished" engine, so we gotta deal with what we have right now :)The stuff posted by "king Tut" seems to be a good resource, though i havent looked through it much
Getting started with T2D
#5
The choice of using that map was probably not a very good one as it's a strange map tuned for the shooter demo. It probably would've been better to create a tile-layer that completely covers the screen. As Jason says, the one in the space-scroller demo has layers for the sky and each of the ground-elements, none of which overlap so the sky only comes to the horizon; this being what you're seeing.
You could go into the editor and create a single-layer tile-map that has tiles that cover the screen (at the resolution of the tutorial) and use that instead.
I'll probably change the demo so that the sky does indeed fill the whole screen. This would be a waste in the demo but less confusing in the tutorial. Sorry for the confusion anyway.
@Jason: Could you post those bugs that make it hard to edit a tile-map? Thanks.
- Melv
06/26/2005 (11:23 pm)
Hi,The choice of using that map was probably not a very good one as it's a strange map tuned for the shooter demo. It probably would've been better to create a tile-layer that completely covers the screen. As Jason says, the one in the space-scroller demo has layers for the sky and each of the ground-elements, none of which overlap so the sky only comes to the horizon; this being what you're seeing.
You could go into the editor and create a single-layer tile-map that has tiles that cover the screen (at the resolution of the tutorial) and use that instead.
I'll probably change the demo so that the sky does indeed fill the whole screen. This would be a waste in the demo but less confusing in the tutorial. Sorry for the confusion anyway.
@Jason: Could you post those bugs that make it hard to edit a tile-map? Thanks.
- Melv
Torque Owner Philip Mansfield
Default Studio Name
What's in your console.log file? Any errors?