Last year the guys at Unity launched on their blog a series of technical articles on WebGL. They are now back with a new article, showing how to reuse existing C / C++ such as graphic effect written in OpenGL ES code in a webpage, using Unity WebGL.
“Running over 48 hours from January 20 – 22, the Global Game Jam will bring developers across the world together to build games. Last year, the event had grown to over 630 sites in 93 countries with over 30,000 jammers, and this year seems set to build on that!
As proud sponsors of the event again this year, we want all of the UE4 developers taking part to be able to get the most out of the engine. In light of this, we asked Mathew Wadstein (well known for his YouTube training videos) to come up with a tips and tricks series. Mathew has created a massive, 27 video, UE4 game jam series to help those participating in the GGJ be more successful with their UE4 games.
This series has many helpful videos including:
Quickly building a menu
Cooking and packaging
Materials and HUDs
How to use all of our templates
Much, much more!”
The entire playlist can be reached here. For more information, follow this link.
A nice presentation about how to get USB running on an sub-$1 Cortex M0+ ARM microcontroller that has no built in USB hardware. The talk describes the implementation of a new bitbanged USB stack, starting with a primer on the USB PHY layer and continuing up the stack, concluding with “Palawan”, a feature-complete open-source bitbanged USB Low Speed stack available for use on microcontrollers priced for under a dollar. We’ll go over requirements for getting USB to work, as well as talking about USB timing, packet order, and how to integrate everything together.
The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP stack and MCU (Micro Controller Unit) capability produced by Shanghai-based Chinese manufacturer, Espressif Systems.
Since 2014, when first came in the attention of the western makers, the documentation became quite available, together with couple of SDKs and firmwares for various programming langauges like Lua, together with the low price, made reasonable easy to develop applications hosted on this tiny chip. Some of this little chip’s features:
32-bit RISC CPU: Tensilica Xtensa LX106 running at 80 MHz (can be overclocked)
64 KiB of instruction RAM, 96 KiB of data RAM
External QSPI flash – 512 KiB to 4 MiB (up to 16 MiB is supported)
IEEE 802.11 b/g/n Wi-Fi
Integrated TR switch, balun, LNA, power amplifier and matching network
WEP or WPA/WPA2 authentication, or open networks
16 GPIO pins
I²S interfaces with DMA (sharing pins with GPIO)
UART on dedicated pins, plus a transmit-only UART can be enabled on GPIO2
1 10-bit ADC
Although developing software to be hosted on it isn’t such a big challenge like it used to be due to the plenty of information available on the internet, debugging the code running on the MCU is a different story. Luckily, at the Attachix blog there is a series of articles about writing software for this MCU, and in the 4th article the owner was nice enough to describe how to set up step-by-step debugging of the code either by command line or even from Eclipse IDE. Please follow this link for the entire article.
A nice Youtube series of 32 videos by Brent Aureli about developing a Super Mario Bros game step by step using LibGDX and Android Studio. The videos include information about setting up libGDX with Android Studio, screens, viewports, aspect ratios, how to create a HUD, creating and rendering tilemaps, Box2D, spritesheeets and texture packer, animations, collisions, sound and music, moving & spawning items, and various other topics.
One of the issues I had these days was installing an Primefaces application in Glassfish application server running in a container with no external IP address and configuring a nginx front-end for it. While making the two servers work together is just a matter of right configuration files, issues start to pile up when we want to have the context path removed from the nginx. Tried couple of approaches, using URL rewrite, proxy pass, etc, but in the end all of them ended up with links and resource files (ex. CSS files for the themes) not being found. Eventually after many tries ended up with this solution, which (so far) seems to work without any issue. Read the rest of this entry →
In some previous topics (here and here) I wrote about some cheap development boards which can be acquired from EBay or Aliexpress. Since System Workbench for STM32 is freely available for a while now, let’s see how can we use it to generate a project, compile it, upload it to a board and debugging it step by step. We’ll use for this the board I got from EBay, but it works the same with the any STM32 other board I have and also with some self-made ones.
For being able to install firmware on the board and debug it, first we need to have a hardware part which will sit between the computer and the board. There are various models and versions of these jtag debugers and they can be ordered online or found pretty cheap on ebay (clones). Another way to get hold of one of these is to have a development board which comes equiped with JTAG adapters, like the STM32 discovery series of boards. Some of these JTAG debuggers allow even breaking apart the JTAG debugger from the development board itself (LPCXpresso series, the nucleo boards).
Regardless of which JTAG interface is used, it should be one which is known to work with OpenOCD, as we’ll use OpenOCD for debugging. In our case we’ll use the stm32f4 discovery board’s stlink2 side. However, Before using it as a JTAG debugger, we need to disconnect the STLink part from the discovery board, by removing two jumpers. Once that is done, the STLink itself won’t be connected to the discovery board and it’s SWD header can be connected to any other board. Read the rest of this entry →
Recently I was looking for some cheap boards which would allow me to play with the STM32F103 microcontroller and I’ve found that Aliexpress has couple of versions of them sold quite cheap by various sellers, with a very affordable price tag. There are various incarnations of these boards, and with difference in the price range, so I went with these two in the end: