The Daily Click ::. Forums ::. Klik Coding Help ::. New frames from within an application
 

Post Reply  Post Oekaki 
 

Posted By Message

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
5th December, 2010 at 03:18:22 -

Is there a way to create a new frame from within an application? For example, If you click a button that says new page, it creates a new frame that you can then jump to and do stuff in (via global events). If anyone needs me to be more clear, I will try.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
5th December, 2010 at 03:21:52 -

Well, you could always just add a frame before runtime...

What exactly are you trying to do? I have a feeling the answer is going to involve level editor type saving and loading stuff.

 

  		
  		

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
5th December, 2010 at 05:18:57 -

I want to make it so you can create a new level (in a level editor) while in game and save it, but I don't want a limiton the number of levels you can make.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
5th December, 2010 at 12:56:48 -

With a level editor, since things are stored externally, you only need one frame that will load the pieces of your level.

I would post a few links to level editors, but they seem to all be hosted on filefront, which went down!

Here's one:
http://create-games.com/download.asp?id=8324

How much of the editor have you made?

 

  		
  		

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
5th December, 2010 at 14:34:50 -

Can't open that editor... I don't have associative array object and don't feel like buying it... I have the editor finished, all I have to do is saving and loading. I will try the loading from an external application.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
5th December, 2010 at 21:47:35 -

you only need one other frame. That frame should have all of your level editor pieces in it. When the frame starts, you load your save array and then start a loop. On each loop have a sensor move through each box of the grid and test to see an item is there. If it is create an item and place it there. If not, continue on until the whole grid is checked.

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
6th December, 2010 at 00:46:53 -

Is there really not an article somewhere on how to make a good level editor?
If not, I guess I should write one - but it won't be for a week or two.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click