Search found 822 matches

by Zamaster
Aug 31, 2014 4:12
Forum: Projects
Topic: Bearquest
Replies: 4
Views: 1234

Re: Bearquest

Shift to sprint, you'll need it to make the jump lol
by Zamaster
Aug 25, 2014 16:48
Forum: Projects
Topic: Bearquest
Replies: 4
Views: 1234

Bearquest

http://s7.postimg.org/4udmycb1n/10427298_10154508729800557_1008541779398098891_n.jpg https://www.dropbox.com/s/ybb5005l78g9xpz/Bearquest.zip?dl=0 Made with the engine I wrote for a little FB game I present Bearquest. See if you can reach the end, if you can, post your time! Z to jump, hold X and re...
by Zamaster
Jul 29, 2014 18:11
Forum: Tips and Tricks
Topic: Warp Speed screen scaling!
Replies: 7
Views: 2047

Re: Warp Speed screen scaling!

Haha I'm glad someone noticed! Pre-academia my ASM styles in general were pretty butt. After being strong armed into making things look pretty I now do things like that habitually.
by Zamaster
Jul 24, 2014 19:06
Forum: Tips and Tricks
Topic: Warp Speed screen scaling!
Replies: 7
Views: 2047

Warp Speed screen scaling!

Another bit of useful code I just wrote for this FBGD compo. To anyone familiar with ASM this is child's play but those who aren't might find it useful. This takes an FB image that is a multiple of 16 pixels wide and doubles the width and height, drawing it to the screen. I don't know if there is an...
by Zamaster
Jul 15, 2014 4:18
Forum: Tips and Tricks
Topic: Simple binary semaphore based on the CMPXCHG instruction
Replies: 2
Views: 1284

Re: Simple binary semaphore based on the CMPXCHG instruction

This is a tight implementation. Cool!
by Zamaster
Jul 15, 2014 0:10
Forum: Tips and Tricks
Topic: SeqFile, like bload+ for text files
Replies: 0
Views: 852

SeqFile, like bload+ for text files

Here's something I wrote today that I think is kinda neat (using it for the FBGD directory competition going on). Its a little object you can use to load in text format data files into complex structs. Its pretty simple, you create your object and use a series of "push" statements to descr...
by Zamaster
Apr 21, 2014 17:56
Forum: Tips and Tricks
Topic: Hardware like triangles
Replies: 5
Views: 940

Re: Hardware like triangles

I agree! It surprised me as well how the human eye resolves the edges to be in "sub-increments." Thanks, the math is a little weird since "the trick" requires special handling of all directional cases. As for me, well, as they say, those who aren't ready for the professional worl...
by Zamaster
Apr 19, 2014 18:20
Forum: Tips and Tricks
Topic: Hardware like triangles
Replies: 5
Views: 940

Re: Hardware like triangles

Much appreciated! It's always nice to go back to your roots and code something really raw like this.
by Zamaster
Apr 16, 2014 19:35
Forum: Tips and Tricks
Topic: Hardware like triangles
Replies: 5
Views: 940

Hardware like triangles

Been a while since I've been here! Again, FreeBASIC proves to be the perfect mix of readability, C, and graphics library to serve as a prototyping language. At any rate, I recently was charged with creating a hardware sub-pixel accurate triangle rasterizer with a minimal footprint. I'm quite familia...
by Zamaster
Aug 24, 2013 21:35
Forum: Tips and Tricks
Topic: Parallax Occlusion Mapping w/ Shadows
Replies: 0
Views: 666

Parallax Occlusion Mapping w/ Shadows

Its been a loooooong time since I've been here, but FB came up recently in a project I'm working on since it works so well as sort of a proof of concept language for graphics programming I've found. Anyway, for a 2D game I'm working on in another language we wanted to try shading characters using pa...
by Zamaster
Jan 06, 2012 20:47
Forum: General
Topic: Compiling libraries for use on windows
Replies: 1
Views: 287

Compiling libraries for use on windows

Alright so I'm having a lot of trouble figuring out how to compile libraries for use on windows 7. Right now I'm trying to compile the latest version of cairo, cairomm, freeglut and librsvg due to lack of pre-compiled (without a whole lot of baggage) binaries. I've tried a bunch of things, including...
by Zamaster
Dec 08, 2011 2:32
Forum: General
Topic: Best way to do an old "stick on wall and ceiling"
Replies: 4
Views: 394

Oh yeah forgot to mention, the only data this needs to store is the car position velocity and the level tile data so it can work off of the tile sheet without anything extra.
by Zamaster
Dec 08, 2011 2:21
Forum: General
Topic: Best way to do an old "stick on wall and ceiling"
Replies: 4
Views: 394

Okay so you have to understand, this is basically a giant 'copy+paste+change the values' job built around a sprite collision sub I wrote for a different project. So its ugly, but it was the fastest way I could write it without planning anything. Basically the original engine used high precision inte...
by Zamaster
Dec 02, 2011 8:57
Forum: General
Topic: Devloping with cairo
Replies: 16
Views: 963

That took long enough... thank you! I do wonder though, if I am to distribute my software using cairo will I require my users to install gdk (if not alread) and add that directory to their PATH?
by Zamaster
Dec 02, 2011 0:37
Forum: General
Topic: Devloping with cairo
Replies: 16
Views: 963

So this is annoying, I found libfontconfig2-.dll online and downloaded it, and then I got an error asking for xmlparse.dll, downloaded it, then it wanted xmltok.dll, downloaded it, then it wanted freetype6.dll, downloaded it, THEN it gives me the wtf error message: "The procedure entry point FT_Glyp...

Go to advanced search