Pan around a large screen
#3
I purposely did this program with SCREEN 0 because graphics screens gobble up a lot of RAM...

It's entirely possible to do a "large" world in graphics. It's done by storing the locations of items like trees, buildings, stones part of the terrain and so on. Easier to store the composition of tangible items, harder to keep track of volatile things that could be extended such as a river or the clouds in the sky. This is true whether two-dimensional or three-dimensional graphics is demanded. 3D is hard for someone who doesn't understand the concepts. Everytime the user moves around in the world, a search has to be performed on the database for objects in the vicinity of the user that have to be drawn. That's why programming an RPG could be difficult for one person even if time weren't an objective.

My example just draws weak things on a large screen in which every "pixel" is stored, which is good for performance but it's not very sophisticated.
Reply


Messages In This Thread
Pan around a large screen - by mnrvovrfc - 12-27-2022, 05:43 AM
RE: Pan around a large screen - by MrCreemy - 12-29-2022, 06:36 PM
RE: Pan around a large screen - by mnrvovrfc - 12-29-2022, 07:20 PM
RE: Pan around a large screen - by MrCreemy - 12-29-2022, 08:34 PM



Users browsing this thread: 1 Guest(s)