Gamemaker game production

Start   Portfolio   Blog   Links   Guestbook  
 

Blog



2012-05-20: Run a Linux distribution from usb-stick:
A good and easy application for creating a bootable linux usb-stick is unetbootin, suggested in ubuntu documentation. I downloaded the latest ubuntu distribution and used as discimage, but that shouldn't be necessary. The booting stick works perfect and boots fast. I use it instead of my broken harddrive for my second computer, as harddrives is quite expensive.


2012-05-19: Links to electrical retailers:
CompanyShipping (to sweden)Duration
cdon
-
-
elgiganten
-
-
misco
59SEK
-
dustin
-
-
webhallen
79SEK (class 3)
-


2012-05-14: Links to electronic distributors:
CompanyShipping (to sweden)Duration
Elfa distrelec
39SEK (incl. tax)
4-5days
farnell
-
-
digikey
170SEK, free over 615SEK
3-5days
electrokit
29SEK (incl. tax)
???
lawicel
20SEK (max 300SEK excl. tax), trackable 55SEK, free over 1244SEK (incl. tax)
1day
xtune
29SEK, free over 500SEK
???
kjell & co
-
-
olimex (constructor and PCB-seller)
-
-
adafruit (constructor and seller)
$6.38 (incl. $1.60 insurance)
4days
sparkfun (constructor and seller)
$5
???


2012-04-22: How to setup FDT free version (for AS3 programming):
FDT is built on the Eclipse platform. FDT 5 Max costs $599, but there is also a FDT 5 Free version. I think the Free version will be enough for most developers.

To use FDT you also have to download Flex SDK version 4.5 (or the latest production quality release) and 3.6 (or the most recent update to the Flex 3 code-base) as will be prompted when trying to start the program dubbelclicking "eclipse.exe" in the downloaded FDT folder. How to do this is explained in the "Installing 3.6 & 4.5 SDKs" video.

Now start using FDT by trying the Basic AS3 Tutorial. After that you should have made a first working test-application.

How to solve problems with FDT:
1. I tested this and got into problem when running as debug: "An internal error occurred during Compile. java.lang.NullPointerException" with the Flex SDK 4.6 version. But this can easy be solved by a workaround.

2. When I run debug, i got a problem: "[Info] Could not connect to the player, will try to connect for the next 72000 ms". This was solved by downloading a debug version of flash player: "Windows Flash Player 11.2 Projector content debugger". After that change in the menu: Run->Debug configurations...->FDT SWF Application->Main->Start->Viewer: choose "Adobe flash player". Also set the path to the debug version of flash player in the menu at: Window->Preferences...->FDT->Tools->Flash->Flashplayer. More info about debugging in FDT can be found at Using FDT's Debugger.

Drawbacks with FDT:
FDT is not able to create movieclip:s, but maybe this isn't so important. It can anyway load movieclips already created in Adobe Flash Professional. Also the free version doesn't show all coding hints but it doesn't matter to much.

Conclusion:
This should be all that is needed to start creating games. Now go find some tutorials (for example tutorialized, dezinerfolio) and try to pick some code-parts from them to your project-file and look in the documentation for AS3 what the meaning is of the commands if you don´t know that already. Good luck with your coding!:)


2011-02-19: Useful software links:
ApplicationDownload linkDescription
Cadence orcad
OrCAD 16.3 Demo Software (All Products)
Electronic schematic, layout and simulation (limitations are in the size and complexity of the design)
Multisim
Academic Evaluation of Multisim and Ultiboard
Electronic simulation (30-day trial)
WxMaxima
wxMaxima
Electronic calculation
Audacity
Audacity
To play and edit soundfiles. The addition FFmpeg gives more possibilities (if FFmpeg can't be added in Audacity, copy the hole foldercontent to Audacity and link to it).
Microsoft Security Essentials
Microsoft Security Essentials
Free antivirus application from microsoft
orbitdownloader
orbitdownloader
An application to record flash movies from for example Youtube.se and download it to your harddrive


2010-02-13: Create a basic driver in Linux:
A good downloadable book in the area is ”Linux Device Drivers, Third Edition”.

To be able to add a driver, the core has to be compiled with support for loadable modules (if this isn't the case you have to recompile the core with support for modules).

1. Put the files from simple_driver.zip in a folder.
2. Compile Makefile by writing: make
3. Load the module to the core with the command /sbin/insmod: sudo insmod ./hello.ko
4. Kolla att modulen finns med bland laddade moduler i /proc/modules: lsmod
5. Kolla utskrifter från applikationen: dmesg | tail
6. Ladda ur modul från kärnan med kommandot /sbin/rmmod: sudo rmmod hello
7. Kolla information om modulen: modinfo hello.ko


2010-02-07: Run a Linux distribution from Windows:
En bra applikation för att köra Linux under Windows är Virtualbox.

För att få bland annat få dynamisk skärmstorlek på Linux och även kunna copy-pastea mellan Windows och Linux så krävs tillägget ”Guest Additions”.

För att kunna komma åt filer mellan Linux och Windows får man ”skapa en delad mapp”.



2010-01-30: Greasemonkey / Firebug:
Greasemonkey är ett plugin till mozilla firefox som gör att man kan köra javascript på en websida innan den visas för användaren.

Installera pluginet från: http://www.greasespot.net.

Gör ett enkelt script att testa med (som visar en popup-ruta) genom att skapa en textfil som du döper till ”mitt_filnamn.user.js” och skriver in följande i:
”javascript:alert(document.URL);”.

Lägg sedan upp den någonstans på webben (har du ingenstans att lägga upp scriptet så kan du istället hämta något befintligt script från webben och editera det). När du går till filens URL så kommer du få frågan ifall du vill lägga till scriptet till Greasemonkey. När du lagt till scriptet så kan du välja vilka sidor det ska köras på, som default körs det på alla sidor. Nu är det bara att besöka en sida där scriptet ska köras.

I menyn i firefox under Verktyg kan man hantera sina Greasemonkey script och slå/av på dem eller ändra koden i valfri texteditor t.ex. notepad.

http://userscripts.org finns en mängd script att köra i Greasemonkey, dock finns det alltid en risk med att köra ett script, så du bör vara försiktig med vilka script du kör och kolla på koden till scriptet innan.

Firebug är ett annat plugin till mozilla firefox som kan användas för att kolla upp kod för olika delar av en sajt. Detta kan vara mycket användbart när man vill skiva ett skript som påverkar vissa delar av en webbsida.



2010-01-23: Bluescreen:
Fick bluescreen och hann inte se vad det stod. Dock har jag inte fått bluescreen igen, men ifall det inträffar igen nu så ska inte datorn starta om automatiskt.

* Lösning för att stänga av automatiska omstarter vid systemfel ( i vista):

Kontrollpanelen (klassisk vy) – System – Avancerade systeminställningar - Avancerat – Start och återställning – Inställningar – systemfel
- kryssa ur ”starta om automatiskt”

* Så kollar man loggar:
Utforskaren – Dator – Hantera – Loggboken