The Tequila Den

Combines the world of Tequila with Games.

Tag Archives: progress

Saving/loading nightmare…

Sphere is interesting in more ways than one. Sometimes I wonder if it’s Sphere’s behavior or if it is the robust nature of variables that make Sphere act obscure or maybe it’s just me and I honestly don’t know what I’m doing. The reason I bring this up is that depending on the function I’m calling, it doesn’t like taking a string verses a number, and vice versa. However, when I use alternate functions which in the same type of structure requiring the same results, things work fine. Drives me bonkers.

I’m only guessing this is because of filenames and how some functions return results.

Well whatever…

After some late night headaches I managed to accomplish a fairly big deal (in my mind), saving & loading. It was a nightmare in some regards which required a great deal of testing and debugging. There were a few instances where I was like, “wow, I got it!”, then I dug a bit deeper and it was a false hope. But after a ton of meddling and play testing… it works. So after that major hurdle, things can continually progress.

Speaking of debugging, if you’ve noticed the last couple of screenshots posted in the mouse folder, you’ll notice the garble of text on the left side of the screen, it’s mainly debugging information. I managed to squeeze in my own debugger console (as I have previously with Traders and Canasta). Makes a lot of bug testing go a ton faster as opposed to using logs and Abort calls.

Now since I’ve got saving and loading files/information under control, now I’m going to implement “save points” to further add information to be saved (mainly, character information, inventory, keys, camera positions, etc) then to story handling with dialogues and eventually, cut-scenes.



Short animation?

I’m not sure if this will work, but I’ll post it anyways.

Sorry for the awful quality…

It’s supposed to be a short animation (GIF) of how things are progressing with my little… technical demo nightmare. Actually, things are progressing quite well as I’ve had time to sort through a bunch of plausible outcomes. I’m continually making all of the actions, key presses, map events totally robust and flexible.

As from the animation, you can see I’ve settled on a old school screen by screen type of game play a la the original Legend of Zelda on the NES. I was always a big fan of the game. Of course I could always limit this to “dungeons” or other areas, it definitely isn’t totally restricted. This is just simply exiting the frame of the camera by stepping on an exit tile.

Just accomplished this morning I’ve managed to load all of the interactions of the map from a single text file. The plan is to now be able to manipulate the map by placing different objects around the world, saving those new events, and then being able to re-load the map, with the updated changes.

This is basically a small todo/tasklist I’ve compiled
– saving current map on exiting the current map/saving the game.
– finding dialogue/stepped dialogue from text files
– NPC movement (random, fixed)
– changing maps
– new game, load game, settings, exit game options when game is started
– save game, save and exit game, exit game menu while in game.

Back to the grind stone…

At first I was excited…

It was a tad bit of shock this afternoon when I fired up the old blog. I checked and to my surprise, I found 12 pending comments to sift through. Usually they are legit because from what I’ve noticed, wordPress does a pretty good job of filtering spam for the most part.

Unfortunately, they went 0 for 12. Good, fun time, spam.

Anyways, purpose of this post was to show you something I haven’t done in at least a couple of years (I’m too lazy to officially check), and that is to show you a terrible screenshot of mouse. Ha.

Anyways, as you can see, this is a test environment and I’m currently re-learning a lot of scripting nuances about the MapEngine as I haven’t toyed with it in a few years. My end goal is to create all of the systems and presumably all the cases of interaction and game play. After I’m able to complete these, the rest of the game can come together and by god, progress can finally be made.

Can you tell I’ve had some free time?

I’m really not good at these things…

First off…. tor_1200x630

The Toronto Blue Jays have clinched the AL East. That’s insane. I never would have thought I’d ever proclaim that. It’s a little surreal. Now, if only could claim the same for their city counterparts; Maple Leafs.


It seems like the world of sports is in full swing yet again, as well that means I become full swing yet again. Just seems to be that the year has flown by. Started a new job that seems like a distant memory, currently back in school (and nearly done that again,) Golf is winding down rapidly. Time will not slow down, its a bit disheartening. It felt like a couple years ago I was basking in my mid twenties without any thoughts of ‘getting old’. Now, it feels like I’m ninety. I suppose it doesn’t help coming off a bit of a back injury that seemed to shorten a lot of good fun in the summer. I realize now that I’m not spring chicken by any means, I should start to savour some of my youth… yikes.

So what happened….

It’s been two months. I’ve told myself endless amounts of times that I need to be more diligent when it comes to this blog*. I’ve told myself to work on ‘mouse’ at least for a measly hour a day. I couldn’t do that. I told myself to do one thing a day, no time restraints, make mini-goals, I couldn’t do that. Eventually, I piled a bunch of work done in one day, in about 20-30 minutes  instead. Which at first was satisfying. Then it became demanding. I faded, and then faded some more, until I stopped altogether.

Other things took up my time and simply pushed ‘mouse’ out the door. When I finally came back to it (as usual), it wasn’t what I had imagined. So I started a filler. A game that would please me and in which I could see a clear direction. The result is what I posted two months ago. A starry sky. I’m not going to lie, there isn’t much progress on it at all and it’s so incredibly primitive at the moment. But…. I made a bit of breakthrough with it… so, I’ll leave it at that.

Trust me… It will get done… sometime…………………………

Making light progress…

I spent a couple of hours this afternoon and conquered a part I thought was going to be a bit more daunting than it really was, custom port inputting for the mapMaker. It was more confusing only because I was trying to trim down the code as much as I possibly could when adding them in, it came to remembering what was really doing what. Thankfully, a little debugging made it quite simple in the end.


Basically how it works in the editor, you pick your desired port to put down, then you get to pick which “corners” are the actual ports. Unlike its unnamed counter-part, you can pick any of the corners, not just adjacent ones. I’ll probably add in completely random ports, but first, I have to add in …. THE DISABLER. Fancy way of  making it so people can’t build in the water. Because, you could, if you wanted to. But I don’t want that ability. so I’ll figure shit out eventually. Lots to do… lots to do. But I have to figure out how to save these ports now. Hmm. 

Eye Candy…

I think I got rid of a little bug. I got ideas of how to completely eradicate it but I would rather not build a bunch of states for each possible move the AI can make, instead I prefer my hierarchy tree instead. I just want to have the computer make the best possible move as opposed to a if it works, it works kind of thing. I’ll see though. I may end up revisiting this in the future to make a more dynamic, more random and unpredictable  opponent. But for now, I want that bastard perfect.

screenshot 2013.04.09

Just a little screenshot showing some gameplay. Basically everything currently works. The only real to do is smoothing out some of the animations for the opposing team. As of now, they still use the “right side up” card to blend through the animations, instead I want to switch to the cards that are shifted 90 degrees. The reason being is that when (if) you see the animations they look goofy and out of place (but work!). But before then, I plan on working on the getting the computer to go into their second hand (called the Foot) and eventually go out and end the hand. Lastly after that big task is the continuation of the game, re-shuffling, point scoring and starting all of it over). Although, all that functionality is already done, it just needs to be initialized. I’m getting excited. This project is nearly the completion!