Page 1 of 1

Squares Remake

PostPosted: Sat Dec 15, 2012 6:31 pm
by jimmynewguy
I am currently remaking and revamping my old Squares game [http://game-editor.com/forum/viewtopic.php?f=6&t=11126&hilit=squares]. I wanted to be able to load and import custom maps without having to type the name in. So the game is a .dat file that is executed by a batch file that gathers all the files with the name .puz in it and saves them to a text file. If you're in game and you make a new map, then the text file is checked for the name of the map you are saving and if it is not there, then it is added so you do not have to reload the game to find it. Everything is finished besides polish and making levels and a couple decisions.

In the remade version, there are some new squares and old squares do not all act the same.

  • Red Square - Normal, falls down
  • Blue Square - Sinks to the bottom of water
  • Orange Square - "Falls" up
  • Brown Square - "Falls" left
  • Green Square - "Falls" right
  • Water Square - All blocks float on it, besides blue.

I'm still debating which direction to take this in. I don't know whether or not to make embedded levels that keep track of which ones you've beaten and unlock more as you go, or just to make a bunch of .puz to for the player to try. I also might allow the map maker to pick any color tile for the background, and choose between some themes. Such as: Christmas, Halloween, Normal, ect.

In-game level select

Screen1.png

In-game loading effect

screen2.png

In-game

Screen4.png

Map maker loading menu

Screen3.png

Re: Squares Remake

PostPosted: Mon Dec 17, 2012 11:57 pm
by jimmynewguy
Map Maker Demo: 2 Puzzles and a Face.

    Controls
  • Hold left mouse to place block, right mouse to delete
  • Hold left control while placing a block to make it a "goal"
  • Left Control + n to start a new map
  • Arrow keys to change tile, white is a place holder tile that you cannot place.
  • Left Control + s to save, Left Control + l to load
  • Space to enter/exit testing mode
  • If the puzzle is solved (all goals are filled with appropriate block), testing mode will exit

Feel free to post levels here! Post bugs, comments, complaints as well :D

http://www.filedropper.com/squaresmapmaker

Re: Squares Remake

PostPosted: Tue Dec 18, 2012 1:12 am
by AliceXIII
im interested in your saving and loading scheme.

i've built a couple of map editors myself, also im building the map editor for the forum project trying to make it the most efficient design i can!

Re: Squares Remake

PostPosted: Wed Dec 19, 2012 6:23 am
by jimmynewguy
I just read/write to a file an array, loop through it, and each number stored means a different object. I'm not really sure of any other ways.