Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
My Videos - Inspirations / Tutorials — Gideros Forum

My Videos - Inspirations / Tutorials

NinjadoodleNinjadoodle Member
edited December 2017 in Announcements
Hi guys

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.

If you guys are interested, here is a little bit about me ...

https://www.youtube.com/watch?v=ZVlOUNvJWO0

... and here is one about the first game I've ever played, and the reason I make games today.

https://www.youtube.com/watch?v=lbXS8suJ1kA

I'll post the any new tutorials / inspiration vids to this topic as I make them.

Thaaaanks :)

PS. Eventually, I would LOVE to do some Gideros creator interviews / spotlights.
+1 -1 (+6 / -0 )Share on Facebook
«13

Comments

  • hgy29hgy29 Maintainer
    Accepted Answer
    Nice! Glad to meet you :)
    +1 -1 (+2 / -0 )Share on Facebook
  • Subscribed! :)

    Likes: Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • Great to hear more about another Gideros dev. I could see Gideros in the background there. :) Subbed!

    Likes: Ninjadoodle

    My Gideros games: www.totebo.com
    +1 -1 (+1 / -0 )Share on Facebook
  • Subscribed! :)

    Likes: Ninjadoodle

    > Newcomers roadmap: from where to start learning Gideros
    "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
    “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
    +1 -1 (+1 / -0 )Share on Facebook
  • Mike Townsend (the creator of Saboteur 2) has a few mutual friends with me on FB, you should contact him re your video: https://www.facebook.com/profile.php?id=100010743494629

    Likes: antix, Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+2 / -0 )Share on Facebook
  • antixantix Member
    edited December 2017
    Great stuff @Ninjadoodle, look forward to more :)

    Likes: Ninjadoodle

    +1 -1 (+1 / -0 )Share on Facebook
  • 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.
    +1 -1 (+2 / -0 )Share on Facebook
  • Likes: Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • NinjadoodleNinjadoodle Member
    edited December 2017
    Hi @SinisterSoft - Cool thanks! It will be fun to see what people post :)

    Likes: SinisterSoft

    +1 -1 (+1 / -0 )Share on Facebook
  • Hi guys

    The first of many planned "Geeking with Gideros" videos is up :)

    This one is just a basic intro and "Hello World".

    https://youtube.com/watch?v=b5IACzyC7Og
    +1 -1 (+4 / -0 )Share on Facebook
  • @Ninjadoodle Really liked the style of the video. :)

    main.lua is usually loaded last as far as I know.

    Likes: Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • antixantix Member
    edited December 2017
    @Ninjadoodle my god man... you need to be using TexturePacker!!! :)

    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 :)

    Great video anyway, look forward to more :bz

    Likes: Ninjadoodle

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    @Ninjadoodle, really great video! I can't wait for the next one.

    Likes: Ninjadoodle

    +1 -1 (+1 / -0 )Share on Facebook
  • NinjadoodleNinjadoodle Member
    edited December 2017
    @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!

    Likes: antix

    +1 -1 (+1 / -0 )Share on Facebook
  • olegoleg Member
    edited December 2017
    @Ninjadoodle
    http://docs.giderosmobile.com/file_system.html
    Lua Files and Execution Order


    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 last
    So 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 function
    Yet 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:

    Likes: Ninjadoodle, antix

    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
    +1 -1 (+2 / -0 )Share on Facebook
  • Hi @oleg

    Thanks for the link, that explains it nicely :) I'll make sure to correct myself in the next vid!
  • NinjadoodleNinjadoodle Member
    edited December 2017
    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.

    https://youtube.com/watch?v=fWrhXJVs8xQ

    Likes: hgy29, antix

    +1 -1 (+2 / -0 )Share on Facebook
  • Here is my attempt to explain retina and multi resolution assets.

    https://youtube.com/watch?v=L9mTp0CSw4o
    +1 -1 (+2 / -0 )Share on Facebook
  • @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 :D

    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

    Likes: Ninjadoodle

    +1 -1 (+1 / -0 )Share on Facebook
  • In the google play game, you can record video games right from the tablet's screen

    Likes: Ninjadoodle

    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
    +1 -1 (+1 / -0 )Share on Facebook
  • NinjadoodleNinjadoodle Member
    edited December 2017
    Hi guys

    @keszegh @oleg @antix - Thanks for the tips, I will try he different software you've pointed out :)

    @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.

    Thanks again!
  • antixantix Member
    edited December 2017
    @Ninjadoodle, hit me up if you need any assistance man :)

    I couldn't see from the video that the line was divided. In theory you could just use a bunch of pixel objects...
    Segments = Core.class(Sprite)
     
    function Segments:init(options)
      -- default options
      self.segmentGap       = 4
      self.segmentHeight    = 8
      self.segmentColor     = 0x1122aa
     
      -- set user options
      if options then
        for key, value in pairs(options) do
          self[key]= value
        end
      end
    end
     
    -- create a number of segments
    function Segments:populate(count)
      local floor = math.floor
      local gap = self.segmentGap
      local color = self.segmentColor
      local h = self.segmentHeight
      local w = floor(application:getContentWidth() / count) - gap
      local x = 0
      for i = 1, count do
        self:addChild(Pixel.new(SEGMENT_COLOR, 0.25, w, h))
        x += (w + gap)
      end
    end
     
    -- remove all previous segments
    function Segments:clear()
      local numSegments = self:getNumChildren()
      if n > 0 then
        for i = numSegments, 1, -1 do
          self:removeChildAt(i)
        end
      end
    end
     
    -- make the specified segment fully visible
    function Segments:illuminate(index)
      self:getChildAt(index):setAlpha(1)
    end
  • SinisterSoftSinisterSoft Maintainer
    edited December 2017
    @Ninjadoodle Technically (on export) all the lua files are loaded together into one big file. That's why you have to right-click and deselect the files that you use the 'require' command for.

    Likes: Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • @SinisterSoft - cool that makes sense, thanks for the tip :)
  • Looked at your game - reminds of the warioware stuff - very nice! :)

    I was planning doing something like warioware too soon - but using liquid fun for the effects.

    Likes: Ninjadoodle

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • @antix - thanks for the offer! I will definitely let you know, but for now I just want to publish it :) I will put in on my site and make adjustments to it over the next couple of weeks.

    @SinisterSoft - Thanks! I'd love to see what you have in mind. Sounds like it would be a fun game.
  • NinjadoodleNinjadoodle Member
    edited December 2017
    Hey guys

    Here is a new Geeking with Gideros video :)

    This time I talk about putting an image on the stage and changing it's anchor point.

    ***

    I'm still confused by the order of file execution tho. I understand that everything get's loading, so that main.lua can use the assets / files. What confuses me however is the work executed.

    I was under the impression that the file is only executed when I (for example) get main.lua to visit level1.lua etc.

    I though the files are loaded into memory in the background.
  • hgy29hgy29 Maintainer
    Accepted Answer
    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.
    +1 -1 (+2 / -0 )Share on Facebook
  • Cool, thank for the explanation - what would be the correct way / word to distinguish between a file executing vs running let's say its own init() function?
Sign In or Register to comment.