Skip to content

Excel-lent/Examples-from-arkham46.developpez.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples from arkham46.developpez.com: VBA was used to run OpenGL, create games using GDI+ and create interactive infographics!

In this GitHub I want to share examples from web site of Thierry Gasperment. Although all samples and descriptions are open source, you have to register on the web site. Nevertheless, it's worth to register if you want to go deeper into details because the site contains tons of very helpful info. To translate the site I recommend Chrome.

OpenGL

[Original tutorial (11 lessons) can be read here, no authorization is necessary]. The last lesson contains a collection of examples:

Example:
OpenGL in Excel, 50 fps.

GDI+ and games

Thierry has created two descriptions on how to add GDI+ to VBA: original link, no authorization necessary and original link, no authorization necessary.

And now the classic games!

Clone of Moorhuhn (Tir au coincoin)

[GitHub], [original link, authorization necessary] Tir au coincoin

Arkanoid (casse-brique)

[GitHub], [original link, authorization necessary] Arkanoid (casse-brique) Use mouse to move. Space to fire.

Jeu de tir (shooter a la "Xenon")

[GitHub], [original link, authorization necessary] Multiuser shooting game

Use arrows to move the space ship. "Ctrl" to fire. The second player must use joystick. The original link contains a small error: In the "RunGame" ("clGame" class) subroutine I changed "config" to "data/config". The GitHub version contains corrected version.

Jeu de tir (Space invaders)

[GitHub], [original link, authorization necessary] Space invaders Use arrows to move the space ship. Space to fire.

Pacman

A step-by-step description of Pacman VBA code exist in (original link, no authorization necessary).

If you want to start the game immediately: [GitHub], [original link, authorization necessary]

Pacman

Use arrows to move the Pacman.

Infographics

Map of France with departments

For infographics it is very useful to have a map to show the statistic. A step-by-step description of creating of map of France with departments is shown in the link: original link, no authorization necessary. The map of France is created from the paths in column A. The easiest way to create paths is to copy them from SVG file. The function "ImportSVG" opies paths from the "[Départements_et_régions_de_France.svg]" (must be in the same folder as the table) to the column A. The map should be deleted before. You can also repaint the map by using the function "CreateShapes" that uses paths' in column A. The map should be removed in this case either.

An example can be downloaded from here: [GitHub], [original link, authorization necessary].

Map of France with departments

Interactive infographics

[GitHub], [original link, authorization necessary] In an example of interactive infographics the department is painted green if its value in 2009 was above the value of 2008. Otherwise it will be painted red. Actually, no refreshment button is necessary. Interactive infographics

Game of departments

[GitHub], [original link, authorization necessary] And finally, the "Game of departments". The purpose of the game is to click the correct department (shown in cell "C2") on the map. In case of error clicked department is shown in cell "C3". The current count is presented in cell "C4". Game of departments

Releases

No releases published

Packages

No packages published