My Videos - Inspirations / Tutorials

I've finally gotten around to starting a regular YouTube Vlog. My plan is to make videos focusing on my inspirations when it comes to game design, Gideros tutorials, updates on my latest games, balancing sitting in front of the computer and exercise, some random rants, and behind the scenes family stuff.

I'll be doing my first tutorial (Gideros Hello World), in a day or two, and after that I would like to start posting one every week.

Hey guys, thank you all for the comments and subscriptions! It would be cool to create a thread, where developers share their Youtube channels. There are a couple of you that I've just subscribed to, as I didn't realise that you had a channel

@SinisterSoft - That's awesome! Thanks for letting me know about that I will definitely send him a message. Must be weird having someone contact you after 30+ years telling you how much their game has impacted them lol.

You should also try disabling that smartscreen / user access control crap. Generally when a program takes ages to load it is because UAC is doing dumb stuff, or the computer is having trouble connecting to the smartscreen internet service to check whether the executable is marked as "okay to run" by microsoft.

Disabling that stuff makes you less secure but really it's microsoft winblows so you are already rather unsecure by default 8-X

If you have this issue a lot we could do a Skype session and I could remote in and see if I can find out why it's doing that. Nothing more frustrating than a slow machine! You can also grab a 240GB SSD nowdays for around $150NZD so I'd recommend upgrading

@SinisterSoft - Thanks for letting me know! I will fix that up in the next video So, if my understanding is correct the main.lua file is the file needed as the base of the project, BUT there are other files that load before it ... like init.lua, config.lua, and any classes.lua / level files you might have etc. This is to ensure that everything is ready for the main.lua file to use, when needed.

Is this more or less correct? I just wanna make sure I have the correct info, so I can can talk about it in the next vid

@antix - I am actually using Texture Packer (by Code & Web). What I was meaning is that I haven't used the one that comes with Gideros I will definitely follow your tips about the 'Smart Screen' stuff. Thanks for the tips, I really appreciate it!

We can assume that the order of execution is pretty random, but there are two things guaranteed:

init.lua will always be executed first main.lua will always be executed lastSo the best practice is:

- to add all additional functionality and modifications to existing classes in init.lua-do all initialization of app etc in main.lua (when all other code was already loaded)-wrap the code in any other lua file in a scope as functionYet better create each lua file as a separate Gideros class, either it will be a scene shown in scene manager or some simple object represented by class, but there should not be some plain code executed in these files, only in main.lua

Of course, all can be configured

Before an Gideros application starts, all Lua files at asset library are executed one by one. So it is possible to arrange the order of execution by setting the code dependencies between Lua files.

If you right click a Lua file and select “Code Dependencies…” from popup menu, “Code Dependencies” dialog opens:

Hi guys just put up a new video talking about the past week - if you’d like to see a little preview of my game, you can skip to 4.40 I’m really exited to almost have this done, as this will be my first non flash or HTML5 only game. Really hyped to finally publish something on devices.

@Ninjadoodle, cool stuff man. I wonder if your son will always remember how at just 2 years old he managed to blow out those candles... all by himself

So any reason you don't just run your game in the Gideros Player and record the window? It would look way better than the camera pointing at your cellphone

I got myself MovAVI Screen Capture Studio which was pretty cheap but works. It has a few crap bits but overall lets me record directly from the Gideros Player and I can then slap them onto my YouTube channel.

Man that drink looked way nasty! We have given up drinking "Infant Bovine Growth Serum" in our house and have adopted Soy Milk. We tried a bunch and found Pams Regular Soy Milk (from Pak'n'Save to be one of the cheapest and frankly best tasting ones out there. If you really need a little sugar you can put a little Milo or drinking chocolate

So with your game have you given any thought to adding some background behind what's happening onscreen? or do you think that might detract from the game too much? I was thinking maybe just some 1-bit seamless textures that you could place there with random colors.

Also with the goal that you meet to complete the level (at the top of the screen). Could that be more like divided into 7 (if the goal was 7 things) that lit up?

Anyway, looks cool and look forward to seeing the whole thing (even though those games make my puny brain hurt) :bz

@antix - Yeah he had a bit of help didn't he lol. The drink was interesting - like pea / bean mash with sugar haha. Thanks for the input on the game - I will definitely look into adding some sort of background. Also, the quota bar at the top is a bit tricky, as the goal is always different. Currently I just divide the length of the bar into whatever the goals is. What I would have to do (which would work), is to make little graphic dividers and place them at the correct distance, depending on the goal.

Basically all files are executed, as if they were concatened together (they actually are...), except for those files marked as 'exclude from execution'. The order in which they are executed is determined by the code dependencies you set in gideros studio, with the implicit rule that init.lua is executed first and main.lua executed last.

If you exclude files from execute and use 'require' to load them, then they are executed at the time require is executed.