Day #7: EGP March
Posted: March 25th, 2010 | Author: scy | Filed under: Flash | Tags: egp, experimental, gameplay, march, shmup | No Comments »Haven’t added much to it.
Haven’t added much to it.
Took a few days off from working on this. Got the enemy count up to five now. Next step is to get some basic sounds in and do some more balance.
Made quite a few adjustments. Some good, some bad. Starting to see some pretty big flaws in the concept. Making it hard to balance.
Been trying to scrap something together for the March Experimental Gameplay competition. This is what I have so far.
Read the rest of this entry »
syntax on colorscheme kib_darktango set guifont=Droid\ Sans\ Mono\h:11 set number set nowrap set expandtab "set textwidth=79 set tabstop=8 set softtabstop=4 set shiftwidth=4 set autoindent " Any file with .as extension is treated as an actionscript file autocmd BufRead *.as set filetype=actionscript "Preview in webbrowser command Preview :!firefox %:p:r.swf "This command (:DebugF) launch flashplayer debug. In gvim, juste type :DebugF or :De and tab "command DebugF :! /home/scy/flash/flashplayer %:p:r.swf " Compile for Flash Player 10. "command Flex4 :! /home/scy/flash/flex_4.0.0.4/bin/mxmlc %:p " Compile using Flex3 sdk and Flash Player 9. " Output .swf is named after [filename] ie Test.as results in Test.swf "command Flex3 :! /home/scy/flash/flex_3/bin/mxmlc %:p
Found the solution here via here:
First find where the prefetched location is.
:lspci -vv
For my computer it is at 0xd0000000. So I then do
:sudo -s :echo "base=0xd0000000 size=0x10000000 type=write-combining" > /proc/mtrr
Now things run well.
An old problem that resurfaced when I re-installed Vista.
Solution can be found here:
http://support.microsoft.com/default.aspx/kb/929461
In the past I purposely did not put borders around my flash projects so that I could easily make them fit in with my website whenever I redesign it. The idea was that it would be easy enough to add a border using CSS… but that did not work out well. So I just embedded the files without a border, which made it hard to tell where the .swf begun and where it ended if I used a white background. Recently however I took another go at it and was successful, the trick was to add display: inline-block; to it.
.flashBorder { padding: 2px; border: 1px solid #CCCCCC; display: inline-block; }
<div class="flashBorder"> <object width="400" height="300"> <param name="movie" value="yourProject.swf"> <embed src="yourProject.swf" width="400" height="300"> </embed> </object> </div>
Without adding disply: inline-block;, my div borders would expand as far as possible instead of hugging closely around the flash object. The only way I could find around it was specifying the div width and height for each flash object that needed a border.
Attempted to make a snazzy portfolio using jQuery over the past week. It is essentially a horizontal accordian.
To view it, go here.
It is unfinished (unpolished) as I decided I didn’t like it after playing around with it for a while. But it may come handy in the future.
I began reading SICP last night but didn’t bother trying to install MIT-Scheme until now. So far it has been a bit of a headache. I am running Ubuntu Intrepid 8.10. The first problem was that the package manager could not find libltd3. I followed the workaround stated here and installed the debian libltd3 by running
$ sudo dpkg -i libltd3_(version number).deb
This worked well and allowed MIT-Scheme to be installed from synaptic. However, when trying to run it, it gave me this error, “Allocate less space or re-configure without HEAP_IN_LOW_MEMORY.” A workaround for this is discussed here. Basically type in
sudo sysctl -w vm.mmap_min_addr=0
This offers a temporary fix, but at least now everything will actually run.