February 23 2017

#ThursdayThoughts YYC Compile Vs Normal Compile / Space & Speed Vs Time To Compile #indiedev #gamedev

So, this programming language I'm using has a few options under the bonnet (or hood for some people)

I hit the play button (to run my code) in the normal mode, maybe 30s to compile, and there we go.

But if I do the YYC compile, the same exact code takes about (well, one of my test compiles showed me this) 18 minutes.

Now, 'that is too long I hear you cry' but think of it this way. [off the wall explanation coming up]

You want to speak to someone in a language you don't understand, lets say you want to speak to someone in Mandarin (and before people come at me with, I know Mandarin, it's only an example!)

So, you start doing an email or a letter, you have to get your native language into, lets say, Google Translate, and then you copy the result back into the email. They email you back, you have to take their text, run it through the translator and get the result. You can imagine how slow that is, it gets the same results, but a little longer.

Well, that is what happens with the normal 'runner' versus the YYC compiler, except the YYC compiler has taught you how to speak Mandarin, so you get the same results, but it's quicker, but, you know that time it took to 'Learn' Mandarin, well that is the additional time during the first compile.

So, it's worth while in the end, but the lesson learned is… during basic coding, testing, debugging, etc.. the normal compile, if I then want to test a close to final product that would/could crash at the drop of a hat, then it's the YYC

Oh, and an addendum to this little explanation, that is only the FIRST compile, any subsequent
compiles, unless there is any major changes, it only takes seconds.. 🙂

Hope this is helpful to someone as I had to learn the hard way, changing a lot of my code to make it compile in the YYC, but it's worth it in the end.

Enjoy the rest of ya day!

Inline images 1

Category: !happeningnow | Comments Off on #ThursdayThoughts YYC Compile Vs Normal Compile / Space & Speed Vs Time To Compile #indiedev #gamedev
February 21 2017

learned (learnt) a new word today mesmerization, I guess it ‘could’ fall under #TuesdayMotivation?

So

It happens with various things, sunsets, sunrises, 'psychedelic' colours, etc but a friend of mine shared this on FB today, so I had to reshare, just keep watching it. Oh, and while you are watching, remember this…'math is a wonderful thing'

Inline images 1

http://www.dictionary.com/browse/mesmerization
https://en.oxforddictionaries.com/usage/learnt-vs-learned

Category: !happeningnow | Comments Off on learned (learnt) a new word today mesmerization, I guess it ‘could’ fall under #TuesdayMotivation?
February 19 2017

#coding in my level difficulty for my #indiedev and thinking more about a #plot but I really need #art and #graphics

So, I have been trying to get my game so it's self adapting based on a few key variables within, one of them being 'level difficulty'

I'm thinking to start, just simple like, Easy, Medium and Hard. Using that theory I figured a value I could apply to most of the routines, that way, if it's an Easy level then there would be less locked doors, less enemies, etc

Another suggestion that was given to me, was the ratio between corridors vs rooms, so, taking that into account, Easy levels have more corridors and less rooms,Hard level have more rooms and less corridors. (see below the three types of levels as an example)

These rooms *will* have something in then, something to do, something to collect, all that stuff, I've not fleshed out anything down there yet, I'm thinking the plot will help me decided those factors.

Now, the plot, I'm thinking of a 'High Rise' type game, it could have levels (again, if the levels get harder, I can tweak the 'difficulty' value to affect gameplay) but each level is a high rise building which has 'floors' accessible via stairs (or an elevator, haven't decided that part), and you have to do a 'task' per building? I haven't thought that far ahead (ideas on a postcard please) Possible thoughts are, collect parts of 'something' to make a complete 'something' to let you get out of the high-rise.

One of the things I'm thinking more about now, is looking for graphics, mainly using 'free' test graphics to get 'stuff' working, but I'm thinking with additional art, it may spark more ideas, it may also help the direction it will go. But where do I go to ask?

Anyways, here are the 3 sizes of the levels

Easy

Inline images 1

Medium

Inline images 2

Hard

Inline images 3

Provide another update when I've done 'something'  more:)

February 17 2017

bit more #gamedev – questions, questions, questions….

Hey All,

So, what I been doing, well mainly 'thunking' to be honest.

I've been chatting with people to get ideas on how I can get around a 'coding issue'. So here is the thing, I could have random doors and keys, but if the key is placed after the door, that you are out of luck. So I needed a solution….

Puzzles…

So, the thing, you get to a door that is locked, you don't have a key, a panel opens up (think of it like zooming into the keypad) and you are presented with a puzzle.

It could be

multi-choice question and answer (with some forfeit happening for too long, to many guesses etc)

Inline images 1

a tile based number slider, were you have to get the numbers into a 1 thru 8 (as 9 would be the space) (remember them?)

Inline images 3

a 'spot the difference' pictures

Inline images 4

[more to come, if I thunk hard enough or I get ideas from others]

So, I've gone about finding some 'general questions' online, I've found a list of 9,999 questions and answers, the problem I have now, I need to generate 9,999 * 3 (as it's a 4 multi choice) wrong answers… Hmmmmm, so do I do it all myself, do I reach out to friends and family and offer them chunks of questions?

It wouldn't be too hard, as the person can just answer similar answers to the answer provided, so there is not a lot of thinking involved, but how do I broach the subject.

Time to carry on 'Thunking' I think.

Any thoughts, suggestions, ideas, feel free to reach out to me.

February 14 2017

Keys, doors, enemies and more randomness within my #code for my #indiedev

So, a little more on my game (again, slow and steady wins the race).

So, I’ve got the keys appearing (well, only 4 of them by choice) and doors appearing (matching the keys) and a couple of weapons, but it’s all random (I’ll have to try to put some non-randomness in randomness I’m generating) but I basically wanted to get it running to the point where I can just copy and paste my code as I add more stuff.

You can download the executable from the usual link and try it yourself, the basic controls are the following :-

Shift & Left click can position the pathfinder player (although he should be positioned already, just look for him)
Right click will make the pathfinder player and the WASD player head towards that click if there is a path to get there.

F1 displays the debug info (including Seed number I’d need for debugging)
F2 will zoom in (path finding looks/works best if you are zoomed out, left click position, right click to move/path, THEN hit F2 to zoom in) will follow player under WASD control
F3 restarts screen (draw another level with another seed)
F4 Turns on and off the ‘basic’ instructions when you first start the game.
ESC quits.

There are a few other keys in there, they may do something, they may not 🙂

When running, if you notice a error, i.e. a place were the player could escape (not were they just can’t get from room to room) you can turn on debug mode (F1), and then press [enter] and a file is output into the %localappdata% under the folder called gameunknownV3, filename debugoutput.txt you would copy and paste that info into another text file to save and provide to me.

Feel free to provide me some/any feedback via any means that you know how. 🙂

Category: !happeningnow | Comments Off on Keys, doors, enemies and more randomness within my #code for my #indiedev
February 11 2017

Checking My Auto Poster Works again. #annoyingtech

So, I put a post last night, had to manually do it, was all because of my .gif’s (they were causing an error), so that being said, I’m going to test this, with a funny animated gif to see if it will take it, and post it to my site, twitch, FB, etc. Hope there are not too many words for you to read? 🙂

Hope you are all having a relaxing Saturday.

Category: !happeningnow | Comments Off on Checking My Auto Poster Works again. #annoyingtech