Jump to content

Sandcastle Games

  • Content Count

  • Joined

  • Last visited

1 Follower

About Sandcastle Games

  • Rank

Contact Methods

  • Website URL

Recent Profile Visitors

440 profile views
  1. Thank you for taking your time to reply. I tried to integrate this into my game and came up with several issues: Much of the code deals with designing the canvas to a specific aspect ratio which I do not want. For many games this would be the intent and I use something similar in other games. But in this case I want to cover the available area. But of course I could simplify this for myself. The width calculation is based on window.innerWidth which includes scrollbars. For example my website will most of the time have a vertical but no horizontal scrollbar. Setting the canvas
  2. Hello, I have a question that is partly technical but also a usability question. I am usually working on PCs but want my games to run on smartphones as well. Often I have the situation that I have a canvas that should cover as much of the screen as possible. I have not found out a reliable way to find out the correct size of the screen due to my inability to detect scrollbar presence reliably. So I reduce the canvas size a little on the right and bottom to leave space for potential scrollbars. This leaves touch screen users the chance to scroll the page up and down and therefore hiding pa
  3. Hello, Thanks for trying it out. Did you read the manual below the game area? Double tapping brings up the grid with the map as you have seen. Moving is done by a drag (or swipe?) gesture to the left/right/front/back (i.e. hold on screen, move finger for a specific threshold and lift the finger). I am not a great gamer on touchscreen devices so I am not familiar how you would best implement a moving that I would normally implement with cursor keys. If you suggest a more natural way of moving on touch screens I might change it.
  4. Can someone help trying this with an older smartphone? I am thinking about optimizing the graphics performance by buffering the static graphics and only painting the changes on top. However on my recent but low end smart phone and my computers I achieve already maximum frames per second and will not see a difference with this change, Can someone report if it is not running smooth on older smartphones? I have no feeling what smartphones can achieve with a script language like javascript. I am using SVG graphics as sprites. They are realy easy but still it will be a lot of lines, recta
  5. Some more changes: Added locomotive and carriage graphics and some graphic effects (explosions + steam) Also added some sound effects.
  6. I expect it is not possible to have click events on each circle, since the circles are no HTML elements but rather something painted on a canvas. I would use a single click event listener and check the x/y coordinates of the click. For simplicity you could rather check if the click was in the surrounding square of the circle. Then you just need to divide the x position by the spacing of the squares (probably removing an offset of the area left of the circles) and you get the column of the circle. Do the same with the y coordinate to calculate the row of the circle. If you need to che
  7. Hello, Here is another puzzle game I made before. Crate Pusher is a 3D clone of Sokoban and includes the original 90 levels. A head up display styled map helps keeping overview in the labyrinth. If you don't know the concept: A number of crates are located in a labyrinth. A level must be solved by pushing the boxes to target positions. It is only possible to push but not pull the crates so boxes in a corner cannot be moved anymore. You need to plan the sequence and path of moving to solve the level. The 3D view creates an additional challenge to the original game as the pla
  8. I made some changes. Probably I do not remember everything: - some simple graphic instead of the conceptual skeleton before - more levels - reloading instead of cached version is enforced - improved touch sensitivity - added version number to title image so people can refer to it You can still play it on my website. Feedback is still appreciated.
  9. Hi everyone, I have just created a new free puzzle game I had on my idea list. The setting is a freight train station with several tracks and switches. The player must prepare trains with ordered goods by routing the carriages to the correct track. Several carriages must be controlled in parallel. It works on PC as well as mobile devices. For mobile I recommend the full screen mode (from the hamburger menu). I intend to continue development but it is already playable. The game concept is fully working but I might work on graphics, more levels and additional game elemen
  • Create New...