Tuesday 30 September 2014

Hi guys,

Fixed a few more bugs today.

  • A white block  was appearing when game was loading, which was caused by game trying to load an extra tile from the data that did not exist.
  • When setting up screen an extra star was being displayed which was for the stars collected count. deleted the spare star.
  • in the editor the text when entering a moving platform speed information, the text was not getting deleted and it  was displayed constantly, this has now been fixed.
some bugs that have been fixed recently have just been a bit cosmetic and just tidying things up a bit, but all things that needed to be done.

Also added the ability to reload a previously saved level, which now means that i can design a level and add/remove/tweak things once i have tested it.

can only create one level at a time at the moment without going into the code and changing the name of the save file, but once i add a settings screen i will be able to do this within the editor which means i can load and save multiple levels, then the creation of levels can begin. although still to add more items and platforms to the game and more features to the editor to allow me to add more things to the final levels.

Im happy with the progress im making now especially to the editor as this will eventually allow me to add lots of levels quickly to the final game.

I have also designed the settings screen to be used within the editor.

Next i will have to code the settings screen so that it is easier to set the level size and name, without having to code this into the editor manually for every level created, as i am having to do at the moment.

See you next time guys.

Friday 26 September 2014

Hi folk

I was going to create some levels and add a level select screen to game, but realised i have got to add a few other basic elements first.
I have not got any way of finishing a level yet, unless i die. So have to create an end of level mechanism, which will be getting to the end of the level by reaching a specific portal/door/gate to trigger end of level. I was going to make it once you have collected all the stars then the doorway would open up but decided that you can still finish level without collecting all stars etc in a level, just in case you come up with a seemingly impossible star to collect, at least you will be able to continue. And the fact that it will alter peoples score in the game rather than everyone having the same score at end of level, although if i add a time element to the score this would make scores different.

save game data now includes number of total tiles in game, previously had to enter this in manually for the load level function to know how any tiles to load in.

When finished entering moving platforms in editor delete text asking for speed of platform, previously it didn't delete text when finished entering data.

Entire level is now loaded and placed before appearing on screen, previously level was displayed as it was placed on screen which meant that you could see each individual tile placed on screen as it was loaded, making level load ties longer.

Fixed bug which made a heart appear for stars collected score at top left corner of screen, Star sprite now displayed for total stars collected.

Thursday 25 September 2014

Hey guys,

Moving platforms can now be deleted from the editor, and the save game file has been sorted as well, so everything can be saved and uploaded into game to play the levels.

next i am going to create 3 or 4 levels and make a level select screen in game where you can play the next level or play any of the previously unlocked levels to try and beat your score. levels are only unlocked when you have completed the previous level. Hopefully this wont take too long to code.

Ill report back as usual with the progress i have made.

Cya soon

Tuesday 23 September 2014

Hi Guys,

Moving platforms are now shown visibly in the editor when placed, which makes creating levels a lot easier.

Now have to work on deleting and editing the moving platforms to fine tune the levels.

Sunday 21 September 2014

Managed to get the moving platforms working, Now the code reads in the data from the editor and can get all the moving platforms working. This all seems to work ok, maybe need to do some more testing on this but works fine for now.

next i need to work on the editor and display where i put the moving platforms, at present i can place the platforms where i want them to go, but this is not shown visually on the editor which is not much use when i make larger levels. the whole point of the editor is so that i can visualise where everything goes.
then i need to be able to edit and delete the moving platforms if i want to edit the level.
I also need to be able to load in previously saved levels to re-edit and fine tune them,

so much needs done but i now seem to be getting somewhere, although very slowly.

Friday 19 September 2014

Hi guys,

Sorry its been so long but i lost all my motivation to keep coding after i changed ide, and altered some of my code. a lot of things started to go wrong with the code and it wasnt working the way it was supposed to.  I have managed to fix all the things that went wrong, i think and i am now back to where i left of from my last post.

I had to fix the levels as they loaded as the tiles were all getting placed in the wrong place, then i had to fix the screen scrolling as my characters movement was not correct and kept disappearing off the screen, all a bit of a nightmare, but i decided that once i fixed that i knew i would start things moving again. I just hated the thought of having to re-code stuff that already took me a while before

Next thing to do is to make the code read in the data from the editor to get the moving platforms  working. Hopefully that shouldn't take too long.

See you all soon.