Search found 823 matches
- Oct 06, 2014 8:28
- Forum: Tips and Tricks
- Topic: Warp Speed screen scaling!
- Replies: 7
- Views: 2196
Re: Warp Speed screen scaling!
Great! I guess I thought tryin' to play the cache was going to make it faster. Thanks!
Re: Bearquest
Shift to sprint, you'll need it to make the jump lol
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...
- Jul 29, 2014 18:11
- Forum: Tips and Tricks
- Topic: Warp Speed screen scaling!
- Replies: 7
- Views: 2196
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.
- Jul 24, 2014 19:06
- Forum: Tips and Tricks
- Topic: Warp Speed screen scaling!
- Replies: 7
- Views: 2196
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...
- Jul 15, 2014 4:18
- Forum: Tips and Tricks
- Topic: Simple binary semaphore based on the CMPXCHG instruction
- Replies: 2
- Views: 1345
Re: Simple binary semaphore based on the CMPXCHG instruction
This is a tight implementation. Cool!
- Jul 15, 2014 0:10
- Forum: Tips and Tricks
- Topic: SeqFile, like bload+ for text files
- Replies: 0
- Views: 879
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...
- Apr 21, 2014 17:56
- Forum: Tips and Tricks
- Topic: Hardware like triangles
- Replies: 5
- Views: 990
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...
- Apr 19, 2014 18:20
- Forum: Tips and Tricks
- Topic: Hardware like triangles
- Replies: 5
- Views: 990
Re: Hardware like triangles
Much appreciated! It's always nice to go back to your roots and code something really raw like this.
- Apr 16, 2014 19:35
- Forum: Tips and Tricks
- Topic: Hardware like triangles
- Replies: 5
- Views: 990
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...
- Aug 24, 2013 21:35
- Forum: Tips and Tricks
- Topic: Parallax Occlusion Mapping w/ Shadows
- Replies: 0
- Views: 704
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...
- Jan 06, 2012 20:47
- Forum: General
- Topic: Compiling libraries for use on windows
- Replies: 1
- Views: 310
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...
- Dec 08, 2011 2:32
- Forum: General
- Topic: Best way to do an old "stick on wall and ceiling"
- Replies: 4
- Views: 412
- Dec 08, 2011 2:21
- Forum: General
- Topic: Best way to do an old "stick on wall and ceiling"
- Replies: 4
- Views: 412
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...
- Dec 02, 2011 8:57
- Forum: General
- Topic: Devloping with cairo
- Replies: 16
- Views: 1031