? 3D Landscape Demo ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

3D Landscape Demo

Submitted
Updated
Author
Nathaniel
Public Key
ZE7EE3AE
Min. Compat.
All
Rating
4 votes
Description Here's a simple 3D landscape demo based on the 3D capabilities of the SNES's mode 7. Because of the way I created it, the camera rotation is a tad jittery but it doesn't seem to be too much of an issue. Also, this works best on the N3DS but it can also run on the O3DS with lowered resolution. Oh, and if you get an "out of memory" error then simply close and re-open SmileBASIC to clear the memory. Feel free to ask any questions. Instructions

Simple Variables

  1. SAVE_LOAD: if this value is true then the program will save and load any rendered data to skip the rendering process
  2. PIXLES_WH: controls the width and the height of the square map
  3. ROTATIONS: controls the number of rotational steps per 90°

Limitations

  1. Framerate: it runs at 60fps on its own but it may cause lag if too much processing time is used up with other things
  2. Camera Rotation: this is only limited to the amount of memory available (lower resolution=more rotational steps)
  3. Camera Movement: if the pixels on the map get too big, the camera movement will become very jittery
  4. Map Size: the pixel map must be a square with a maximum width of 256 pixels
  5. Resolution: full quality :)
  6. Sprites: none required :)

Demo Controls

  1. Circle pad: rotate camera
  2. A: accelerate forward
Categories
Keywords
  • Mode
  • 7
  • SNES
3 Comment(s) CyberYoshi64 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I like this. Even the idea that it uses GRP4 (for the plane) and you can use a custom GRP resource to accomplish tracks or scrolling BGs. Maybe I can manipulate it a little, credit you and create some sort of racing (RGO already did) or something… Nathaniel Nathaniel Avatar Block I didn't change my avatar for 30 days. Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Taboo I didn't change my avatar for 180 days Website Go ahead! I was actually thinking of doing the same thing before I released it. Can't wait to see what you create! CyberYoshi64 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength [ spoiler ]: Well, I think I do that like during Sonic R's (Saturn) development. This may take some time to even begin with. I have Win3DS and my upcoming game to work on.But I think you'll like it after it's beta ver. 0.0.1