Friday 31 October 2014

Hey guys,

welcome to my blog, i have a  made a few improvements to the placement editor and a few new additions to the game which now has the working title of "Sarah in Candy Land" because Sarah is my daughter and she loves the idea of a whole land made of candy. So Sarah is my main character and Candy Land is the setting :-)

I have bought some nice candy land graphics which i am in the process of adding to the game.


Here is a list of improvements and additions:

Editor:

  • Added a start point button, which places a start point for Sarah to start the level.
  • Added an end point button which places an end point for Sarah to get to to finish the current level.
  • start/end point now saves with level data to load into game.
  • Fixed bug where end point was not displayed when level reloaded into editor.
Each level can have a different start point, so that it doesnt necessarily start at the left hand side of the screen, it could start at the right hand side or even the middle of a level, i will see if this make for more interesting level layouts or if the more traditional level start position at the left hand side would be better. I will play about with it for a while before i decide if this is a good idea or not.

Game:

  • Start point now loads into game and Sarah starts from that point.
  • Added door at start point where sarah appears in level.
  • Added door at end point of game where level ends if Sarah can get to it.
  • Game now detects when Sarah gets to level exit

Saturday 25 October 2014

Hi Folks,

Spikes are now being displayed in game. All tiles working as they should now.

fixed a bug where the moving platforms were not being displayed correctly when reloaded into editor.

Fixed a bug where the static tiles were not being displayed correctly when reloaded into editor.

Checked levels were loading ok in editor and in game, everything seems to be ok now.Can reload levels into editor and edit them, save them  and reload them into game as often as i like with no positional errors now.

fixed bug where number of stars was not reset in editor when reloading a level.

Added a home and end key to the placement editor to take you  to the top left and bottom right of the level instantly, helps a lot when creating large levels so you dont have to navigate to the end or start of a level manually.

number moving tiles text was not being updated when deleting them. now fixed

tested game on mobile and the character was not going to the far left of world and was falling off the right side of the word. This has now been fixed. Was previously testing game on pc where everything was working ok.


I have decided to blog fewer times than before because i do not get a lot of time to code, i will do more if i manage to code quite a bit and make quite a few advances in the game, but feel that some posts do not contain enough as i have maybe only fixed a couple of bugs and not much else. hopefully each post from now on will contain a lot more and be worthwhile reading than just a post that says i have fixed a bug.

Monday 20 October 2014

Hi guys,

All moving platforms are now working as they should, going to make a new level to test, using all the tiles available at the moment to see if everything works together.

Fixed a small bug where the editor would crash when i was making larger levels.

Made a simple large level to test the dimensions, found a a bug where the spikes are not being displayed in the game, have to fix this and still have to enter the dimensions of the world manually so that player stays within world and does not fall off, i will make the editor save this information so that when loaded into game it works out the worlds boundaries automatically without have to enter them in manually.

Thursday 16 October 2014

Hi guys,

not been coding for a while because i have had inflammed tendons in my shoulder and could not move my arm, getting better now but still a bit sore if i am at the keyboard for any length of time.

Anyway been tinkering with the design for the main menu, still not quite right, there just seems to be too much empty space, so dont know what to put there, i will post an image so you can see it. im thinking an animation of the main character or something.

been creating a new level but have discovered that the moving platforms do not work right yet when i save and load into game. if the platforms start moving down first then back up, all works perfectly, but if they are supposed to move upwards first then back down, they do not work. i Know what i have to do to correct it but will not be able to fix that this time round, hopefully by end of week i can get this sorted.


Tuesday 7 October 2014

Hi folks,

been trying to think of what would make the editor a bit more useful, by trying to think of what new functions i could add.

So far i have come up with a few ideas:

  • A Settings function which i have already designed the interface for but not got a function for this in the editor yet.
  • A home function which would take you to the start of the level being created, without having to scroll all the way back, which would be useful for large levels.
  • An end function for same reasons as above, but take you to the end of the level.
I have also  to write the code for the delete block and delete all functions.

Have also been thinking of new ideas for the game, but decided that i have enough to be getting on with for now, without any new things to work on, although i will no doubt think of other things as i code.

Added a new main menu to the game and a colorful background, will add a screenshot next time to show you the new graphics for the main menu. Still not the finished menu yet as i dont think that it looks quite right, but the graphic style will probably be right.

cya all next time.