Jump to content


Theseus

Member Since 09 Feb 2010
Offline Last Active Jun 04 2013 05:49 PM

Topics I've Started

Original 8-Bit Music for Your Games!

01 January 2013 - 07:47 AM

http://elicounts.ban...bum/8-bit-limit

This is an album of 8-bit/chiptune music I released a while back, but never posted here. As with all my music, you are free to use it in your games, as long as you give credit! Feel free to check out the other music on my site as well!





(inb4 "this technically isn't 8-bit")
(inb4 "i'm not paying $5 for this album that you spent hours and hours of work on")

Instance_ functions broken?

17 December 2012 - 08:36 AM

For some reason whenever I try to use instance_nearest, instance_position, and other similar functions, they always return the object index of the instance rather than the actual instance ID, thus making it impossible for me to find the ID of a particular instance at a certain position. Is this just a bug in the most recent version of GM or am I doing something wrong? (I'm using GM 8.1)

Finding the nearest isometric tile [SOLVED]

03 April 2012 - 02:34 AM

I am looking for a piece of code which will return the coordinates of the center of the nearest 54x28 isometric tile to any given point (specifically, the mouse coordinates).


Posted Image
^ An example screen, with grid lines drawn in.

I've tried a few different things, but I can't seem to get it to work properly, and my code is too convoluted to make any sense of if I post it here.
Any ideas?

Free, high-quality music by request!

16 January 2012 - 11:40 PM

~ Please read the entire post before requesting. Thanks! ~
~ I am currently accepting requests! ~


About me / My Work

My name is Eli. I've been composing amateurly for about 3 years, and I've decided to offer my services as a composer here, in order to gain experience and, hopefully, exposure. Best of all, I work for free. :D I compose in an orchestral/classical style. I will not do other genres (ie: techno, rock, etc). That means I also will not compose any more 8-bit, but you are free to use the ones on my site. The music on my Bandcamp page (linked below) is a good example of the kind of music you can expect from me.


Music I've Written


You can listen to all of the music I've composed in the past for free at elicounts.bandcamp.com. I have 2 albums available which can be downloaded and used in your game for free. These are "Soundtracks", which contains all the music I've written specifically for use in games, and "8-Bit Limit", an album of 8-bit chiptunes perfect for retro games. I also have a third album on my site, "Symfonics", which contains all the more serious pieces I've written.


Requests


I require credit somewhere in your game, along with a link to elicounts.bandcamp.com.
Please make your request in the following format, to allow the best possible result.

Game name:
optional
Game description: describe your game. (fantasy RPG, sci-fi FPS, etc.)
Purpose: is this a heroic fanfare? a battle theme? BE SPECIFIC!
Mood: should the song be triumphant? gloomy? creepy? etc.
Tempo: should the song be fast? slow? upbeat? dirgey? etc.
Length: maximum of 4 minutes
Looping: should the song loop?

For an entire soundtrack:
I will consider composing several tracks or even an entire soundtrack for your game, but only if it's a serious project with potential, as it takes a lot of work to score a whole game. PM me if interested.


Queue:


Stuff I'm working on at the moment:
- King Tetiro's Legena (Full soundtrack)



Grid-based lighting issues

31 May 2011 - 02:51 AM

I'm working on a tile-based game which draws a grid of black boxes at various alpha values to emulate lighting.
Depending on each tile's distance from torches and the player, it is assigned a light value, called light[x,y].
Then, the control object draws a black box over each tile at the alpha value previously assigned, as such:

w = view_wview / 16
h = view_hview / 16

draw_set_color(c_black)

for (i=0;i<w;i+=1) {
for (j=0;j<h;j+=1) {
  draw_set_alpha(1-light[i,j])
  draw_rectangle(view_xview+(i*16),view_yview+(j*16),view_xview+(i*16)+16,view_yview+(j*16)+16,0)
}
}


The boxes are drawn correctly, but the code also draws a strange dark grid on all of the boxes not near the player, as shown below (zoomed 2x).

Posted Image             placeholder graphics ftw!

Any idea where this grid is coming from / how I can remove it?