Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 34
» Latest member: EdwardSek
» Forum threads: 130
» Forum posts: 372

Full Statistics

Online Users
There are currently 8 online users.
» 0 Member(s) | 8 Guest(s)

Latest Threads
Game Development Process
Forum: General Chat
Last Post: Brian Beuken
12-03-2018, 06:27 PM
» Replies: 1
» Views: 194
David Jones creator of Fi...
Forum: General Chat
Last Post: Brian Beuken
11-30-2018, 11:09 PM
» Replies: 3
» Views: 146
the importance of culling
Forum: Assets, Tools, Libraries and other useful things
Last Post: Brian Beuken
11-28-2018, 11:31 AM
» Replies: 0
» Views: 95
Making maps is easier wit...
Forum: Assets, Tools, Libraries and other useful things
Last Post: jomoengineer
11-27-2018, 04:07 PM
» Replies: 1
» Views: 87
New Odroid on the way the...
Forum: Other SBC's
Last Post: Brian Beuken
11-21-2018, 10:09 AM
» Replies: 2
» Views: 334
[Chapter 05] Objects miss...
Forum: Fundamentals Errata/Questions
Last Post: Brian Beuken
11-20-2018, 09:36 PM
» Replies: 3
» Views: 319
Another new Raspberry?
Forum: Raspberry Pi questions
Last Post: Brian Beuken
11-19-2018, 08:52 PM
» Replies: 2
» Views: 152
missing Rand function/mac...
Forum: Fundamentals Errata/Questions
Last Post: Brian Beuken
11-19-2018, 08:27 PM
» Replies: 0
» Views: 75
[Chapter 05] KamaKazi Bas...
Forum: Fundamentals Errata/Questions
Last Post: Brian Beuken
11-19-2018, 08:15 PM
» Replies: 12
» Views: 443
Wireframe magazine — laun...
Forum: General Chat
Last Post: jomoengineer
11-16-2018, 11:52 PM
» Replies: 6
» Views: 626

 
  Installation of Bullet, STB and GLM
Posted by: Brian Beuken - 09-25-2018, 12:16 PM - Forum: Fundamentals Errata/Questions - Replies (1)

Not an actual error but a change of content from the book so best to list here.

Most of the projects available for download are including lib files where needed, this tends to make them self contained but also rather large. GLM in particular is a large repetative download on each project.

So over time I am going to be assuming that Bullet, STB and GLM are preinstalled on your targets using git clone, (see details how to install elsewhere), for Raspberry that will put the dirs in.. /Home/Pi

For non raspberry systems it will got into /Home/XXX where x is your user name when you logged on.

This will reduce the download size of the projects but may, just may, result in some incompatabilites of projects expecting specific versions of the GLM (in particular as its live) libs. I will try to maintain regular updates of the libs and resolve changes as I find them, and note them here.

Print this item

  Now using the 3B+ as main machine
Posted by: Brian Beuken - 09-25-2018, 10:00 AM - Forum: General Chat - No Replies

I've avoided doing a full switch to the 3B+ for a while now, not because it worried me at all, but the MagPi articles and occasional mails I get from book readers tend to be more related to Raspberry 3B with Jessie. My old 3B allowed me to keep a hybrid updated Jessie/with stretch libs on board so I could test code. The 3B is pure Stretch. 
 
But I've now updated fully to the 3B+ and enjoying the little extra kick of speed both on builds and execution as well as debug with the faster ethernet.

I don't really anticipate any issues with this transition, the system is pretty much identical, mostly I'll have problems with tools or templates I had stored on the old machine and now have to replicate on the new. If I get people having issues with older code I can still hook up the 3B

onward and upward.

Print this item

  C++ Coding MagPi #73
Posted by: Brian Beuken - 09-25-2018, 09:34 AM - Forum: General Chat - No Replies

Now we know how to speed things up, lets get retro and fill the screen.
Discuss the separation of logic and display and work out a way to scroll.

Also lets make a start on using some fonts on our system to display text

Print this item

  C++ Coding MagPi #72
Posted by: Brian Beuken - 09-25-2018, 09:33 AM - Forum: General Chat - No Replies

Time to think about our baddies and the basics of a state system to give them some logic.
Also we're starting to push our systems a bit, what can we do to make it better, delve into the workings of the GPU, thats what?

Print this item

  C++ Coding MagPi #71
Posted by: Brian Beuken - 09-25-2018, 09:31 AM - Forum: General Chat - No Replies

I've been getting a little behind on updates here, but I'm starting to catch up.

Issue 71 is now up and ready for you to play with, animation and interaction with our maps now take centre stage

Print this item

  installing STB and GLM
Posted by: Brian Beuken - 09-25-2018, 09:22 AM - Forum: General Chat - No Replies

Unless you know how to use git on your Raspberry, the article where STB was first installed doesn't make it totally clear how to do it. The "what you need" insert provides you with a shortcut which might not make sense.

The simplest way is to enter this in your terminal

git clone https://github.com/nothings/stb.git

and voila you will now have an STB dir in your /Home/Pi directory

likewise for GLM 
git clone https://github.com/g-truc/glm.git

Installs GLM, in the /Home/Pi directory ready to use (this is a much bigger download though and not all is needed but best to have it all)


One very tiny point to consider with git cloning, is that unlike an apt-install. The files you place on your computer do not update automatically on an apt-get update/upgrade cycle when the libs update.
Glm in particular updates from time to time, though stb is pretty much finished with.
So you may, have occasions when working with other people, where you have different versions of the libs. Be careful to check what others are using, and update this from time to time with another git clone and try to always use the latest version (unless, as can happen, you find the latest version does not work with your code)

Print this item

  Linux getting in the way X11 not initialising
Posted by: Brian Beuken - 09-23-2018, 05:23 PM - Forum: Other SBC's - Replies (8)

I've noted before that I had some trouble with ubuntu systems throwing up strange errors unable to open Displays causing failure of our test projects I thought it was limited to Ubuntu, but today I had it on a Tinkerboard system which is Debian, it did however throw a much more useful No Protocol supplied, error, which after a bit of googling resulted in some answers.

I can't honestly explain much about how any flavour of Linux works, its a total mystery to me and the way it seems to over protect things you want to directly access is frustrating, but it does seem that  some of our issues are related to lock of display system by the OS.

If you don't have root access we know some things get hard to use, like keys and mouse, but it seems also the screen....


One solution is to enter 
xhost +  
on a terminal, and then you can finally open the screens.

But then of course you have all kinds of other issues Big Grin

Print this item

  Not much chat?
Posted by: Brian Beuken - 09-09-2018, 10:13 AM - Forum: Scratchpad Games - Replies (2)

The book seems to be selling well but I'm quite surprised at the lack of chat/requests for files we should be seeing here.

Are people having issues with this forum, or with the book, mail me if you need help?

Print this item

  Price drop
Posted by: Brian Beuken - 08-28-2018, 07:31 AM - Forum: Scratchpad Games - Replies (2)

I was not very happy with the price of my book, on Amazon, but its something I had no control over, but now I'm happy to report the price has been slashed on both the UK and US Amazon sites..

It might seem strange to be pleased at losing money, after all I do get a royalty for each sale, but the book was never intended to make me rich lol, if such a thing is even possible now, just to get people trying things out on their SBC's. 

Lets hope the new price attracts more customers and brings them here to try things out and share their work

https://www.amazon.co.uk/Fundamentals-Ga...544&sr=8-1

Print this item

  Keyboard not responding?
Posted by: Brian Beuken - 08-22-2018, 07:40 PM - Forum: General Chat - No Replies

I have had a few issues getting a 100% reliable keyboard routine, but generally its only wireless keyboards that seem to give a problem.
My own personal keyboard when coding is a small Logitech keyboard/mouse combo, it works great, but it is not actually recognised by all my Pi's in the same way, some think its a mouse, some think its a keyboard

You need to review the AreYouMyKeyboard method in the Input class, it will normally be set up as kbd, but I sometimes set it up as mouse, whichever version you have, and you find its not working, try the other.

There are also a very very few cases where this fix does not work, but its very rare, in which case you need to directly enter the event file for your keyboard in the keyboard handler.

If you can't solve it, feel free to mail me and I'll try to help you out!

Print this item