00:00
00:00
EggysGames
My names Bradley Erkelens(Eggy) owner of Eggys Games and I’m an Indie Game Developer who’s been making games for over 10 years. I make games in Flash, Unity and for Mobile. I hope you enjoy my games.

Bradley Erkelens @EggysGames

Male

Game Developer

NASHS

Perth, Western Australia

Joined on 5/22/05

Level:
50
Exp Points:
27,322 / 27,750
Exp Rank:
463
Vote Power:
9.09 votes
Audio Scouts
1
Rank:
Pvt. First Class
Global Rank:
2,777
Blams:
195
Saves:
2,976
B/P Bonus:
20%
Whistle:
Normal
Trophies:
20
Medals:
391
Supporter:
3y
Gear:
1

Heres a Level Editor Engine You May Use

Posted by EggysGames - November 16th, 2013


Sometimes in game making it's great to make your own level editor. This allows you to save a lot of time when it comes to making the levels later because you can simply post in the array for each level and load it by numbers. Also good for including in the game so other people can make there own levels and share with friends. Heres one I coded that you can use for free to learn from. The code exports an array to fill the grid, each block number is represented by a number. 1 being a basic block and any other numbers can be added for extra pieces. The array uses a | to seperate the lines to be able to load the level from the text. My game Time Sphere used an advanced version of this engine to make.

Have a go at the editor here - WASD to move in test.

http://www.eggysgames.com/other/Grid%20Editor%20Advanced.swf

Download the .fla file here

http://www.eggysgames.com/other/Grid%20Editor%20Advanced.fla

Heres a Level Editor Engine You May Use


Comments

Nice... a bit antiquate maybe :)

Well it's more for beginners to intermediate. Though yes it is a little outdated now for a more experienced developer.

Pretty cool, there was a point where I was messing around with toString and toArray for saving and loading data, eventually I got frustrated and called it quits.

Since each block is only represented by a single character. if you wanted to make the codes shorter, you could take each column between the | signs, remove the commas, treat the entire column as a single 13-digit number and convert that number into Base 64, couldn't you? Then each column would be 7 or 8 lines long instead of 13.

When interpreting the data, you could convert it back into base 10, parse each character as a separate value for the array, and then break the array down into your level again. 162 characters vs 252 slashes the length of the code by about 1/3.

It's frustrating but rewarding once it works.Yeah thats definitely a way to improve on it. Theres many things here that can be imrpoved on, hopefully someone does use it.

y u do this?

cus i kan

Why are there no enemies in here?

also

1,1,1,1,1,1,2,1,1,1,1,1,1|1,1,1,1,1,5,2,1,1,1,1,1,1|1,1,1,1,1,1,2,1,1,1,1,1,1|1,1,1,1,1,1,2,1,1,1,1,1,1|1,1,1,1,1,4,2,2,1,1,1,1,1|1,1,1,1,9,1,9,9,1,1,1,1,1|1,1,1,1,1,1,1,9,2,1,1,1,1|1,1,1,1,1,8,1,9,2,2,1,1,1|1,1,1,1,1,1,1,1,1,2,1,1,1|1,1,1,1,1,1,1,1,1,2,1,1,1|1,1,1,1,1,1,1,1,2,1,1,1,1|1,1,1,1,2,2,2,2,2,1,1,1,1|1,1,1,1,2,1,1,1,1,1,1,1,1|1,1,1,1,1,1,1,1,1,1,1,1,1|1,1,1,1,1,1,1,1,1,1,1,1,1|1,1,1,1,1,1,1,1,1,1,1,1,1|1,1,1,1,1,1,1,1,1,1,1,1,1|1,1,1,1,1,1,1,1,1,1,1,1,1

try to beat THAT!

Cause you have to add your own enemies! II beat it cause you can click and make a hook haha

This is a great way for beginners to branch into this kind of programming. I hope you help a lot of people with this.

Me too :)

"II beat it cause you can click and make a hook haha"

Oh yeah? I beat it without the hook.

It's not really for beating lol it's for LEARNING

Did you learn how to beat it?

Get key and die and go to door