The Daily Click ::. Forums ::. Klik Coding Help ::. Loading levels externally
 

Post Reply  Post Oekaki 
 

Posted By Message

-Dark Martin-

The dark is most certainly not your friend

Registered
  05/06/2008
Points
  21

Has Donated, Thank You!KlikCast StarSonic SpeedWii Owner360 Owner
6th September, 2008 at 11:51:25 -

Nifflas told me he used this for Knytt Stories and i'm just curious, how do you do that>

 
<a href="http://s50.photobucket.com/albums/f315/Martin_Bodger/?action=view¤t=signature_stripcopy.png" target="_blank">Image

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
6th September, 2008 at 12:14:53 -

you need to have some means of loading the graphics into the frame, then some means of storing and loading data. An example would be the text blitter object. You can store tiled graphics in each square of the text blitter in the form of a big sprite sheet, so you can have your game load a sprite sheet at runtime, directly off the computer, then draw sprites on screen according to the values of an array that you can save and load.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Don Luciano

Heavy combat pancake

Registered
  25/10/2006
Points
  380

VIP Member
6th September, 2008 at 14:36:39 -

U can use array to load and save... U put one object which is the gfx... that object goes throught the grid and pastes backdrops where assigned by the array. I used one object for almost all terrain, it would just changed animations and rnd itself.
I also did for creating objects from the array.

But u should be carefull with the size of the array, try to use as less Z as possible.
The size of my maps reached 5 mb, and loading time in editor bout 5-10 seconds, it was bout 15+ before i upgraded my pc.

 
Code me a sausage!
   

Post Reply



 



Advertisement

Worth A Click