[QUOTE=Richy19;29359815]Damn, i wonder if theres any articles on GameDev I really need to start learning to code structurally[/QUOTE]
I've looked, didn't find anything of interest. Be sure to tell me if you find anything, I'm in desperate need of anything like this.
Stripped NuFound of its ancient Autohell build system and plopped in a "simple" makefile and fancy new test harness. (I'm procrastinating - just found out that it's not even API-compatible with 10.4's FoundationKit, and I can't find the release notes for it...) On the bright side I won't have to touch the Makefile for ages. But hey, it works! I don't have to deal with GNUStep anymore! Onwards to something a little more modern!
[img]http://i.imgur.com/V01PD.png[/img]
[QUOTE=Chris220;29359595]Austech perma'd? I also hope he'll come back, he was a great user and a really nice guy...[/QUOTE]
Even though he continually posted pictures with my face photoshopped onto them, I want Austech to be un-perma'd.
[QUOTE=Chris220;29359984]I've looked, didn't find anything of interest. Be sure to tell me if you find anything, I'm in desperate need of anything like this.[/QUOTE]
Anyon know of any well structured open source game?
I cant see anything on gamedev
Edit:
Are the facepunch compo entrants gonna release any code or anything? I have seen some interesting structural techniques in a couple of projects
[QUOTE=Richy19;29360072]Anyon know of any well structured open source game?
I cant see anything on gamedev[/QUOTE]
I found laylas BSP viewer well structured and learnt a lot :)
[QUOTE=likesoursugar;29360179]I found laylas BSP viewer well structured and learnt a lot :)[/QUOTE]
I was thinking more of how to integrate audio and and the screens and levels... without creating a hack fest.
But il check it out :)
I think I'm getting to biological with the way I implement stuff in Kento.
For example, I don't what the garbage collector to destroy the reference that's getting returned when exiting the scope, so I make that reference a "hard reference" which in my head (and implementation) gives it armor that can survive one garbage collector sweep.
[img]http://i.cubeupload.com/d4ingE.png[/img]
:pcgaming:
I don't know what I'm doing (90,000 cubes * 6 quads rendered with a single VBO)
What's your FPS?
[QUOTE=Map in a box;29360669]What's your FPS?[/QUOTE]
I didn't measure it, probably around 20.
[editline]22nd April 2011[/editline]
Yep, 20.
[QUOTE=Dlaor-guy;29351591]Done.
[media]http://www.youtube.com/watch?v=5LQBk8SZEls[/media]
Notice how the "Continue" button only appears if you have a save file, I thought that was pretty neat :buddy: (and the main menu gradually changes color)[/QUOTE]
Why? Why do you hate me? :saddowns:
In other news this game looks awesome... amazingly awesome... The orbs are a great mechanic. Gives the hardcore gamers a challenge but allows the casual gamers to still enjoy the game. Epic mechanic. I think you've won the comp... By win I mean win last place :v:
You can now create input fields in Lua for getting names, numbers, etc. It can restrict letters and special characters so you can only input numbers. I'm really loving Lua and implementing it:
[img_thumb]http://img689.imageshack.us/img689/4863/development16a.png[/img_thumb]
[img_thumb]http://img402.imageshack.us/img402/936/development16b.png[/img_thumb]
[img_thumb]http://img862.imageshack.us/img862/9680/development16c.png[/img_thumb]
[img_thumb]http://img684.imageshack.us/img684/6673/development16d.png[/img_thumb]
shiftport |= (((sr[i]&(0x01<<(7-j)))>>(7-j))<<serpin);
help
I just love shifting around those bits... to the left, to the right, DANCE WITH ME MY MINIONS!
Will probably throw my a* pathfinding in the trash can and use some kind of vector based pathfinding instead. So I'll need to add some new features to my map editor.
This is a photoshoped picture how it may work.
[img_thumb]http://img191.imageshack.us/img191/2941/newpathfinding.png[/img_thumb]
BTW:
fck
[img]http://img96.imageshack.us/img96/4416/fackbots.png[/img]
So I've decided to switch my university course from classical studies to compsci. I have about four months to read around the subject and get myself into the best possible position before the course starts. Thoughts?
Going to be working on my little side scrolling game.
[url]http://www.livestream.com/mtwilliams[/url]
I'm thinking about adding trophies to the house that's in my game. Since I'm working on achievements, perhaps each achievement you get, a trophy is added to your house.
[media]http://i54.tinypic.com/1jb81u.png[/media]
Since right now the house is useless.
[QUOTE=Darwin226;29360504]I think I'm getting to biological with the way I implement stuff in Kento.
For example, I don't what the garbage collector to destroy the reference that's getting returned when exiting the scope, so I make that reference a "hard reference" which in my head (and implementation) gives it armor that can survive one garbage collector sweep.[/QUOTE]
Isn't Kento written in C#?
[QUOTE=likesoursugar;29362295]Will probably throw my a* pathfinding in the trash can and use some kind of vector based pathfinding instead. So I'll need to add some new features to my map editor.
This is a photoshoped picture how it may work.
[img_thumb]http://img191.imageshack.us/img191/2941/newpathfinding.png[/img_thumb][/QUOTE]
I just starting on making some pathfinding for my game myself, looks similar to your concept apart from that mine is for a sidescroller.
[img]http://i.imgur.com/L89Bq.png[/img]
have a graph
[img]http://img16.imageshack.us/img16/6048/graphcb.png[/img]
[editline]23rd April 2011[/editline]
Regions of the same colour have the same period (with black being the smallest, increasing through red, blue, green to yellow and white). The x and y axes are parameters passed to the function whose period is examined.
[QUOTE=ThePuska;29366545]have a graph
[img_thumb]http://img16.imageshack.us/img16/6048/graphcb.png[/img_thumb]
[editline]23rd April 2011[/editline]
Regions of the same colour have the same period (with black being the smallest, increasing through red, blue, green to yellow and white). The x and y axes are parameters passed to the function whose period is examined.[/QUOTE]
Looks like a [URL=http://en.wikipedia.org/wiki/Circle_map]circle map.[/URL]
[QUOTE=Smashmaster;29367575]Looks like a [URL=http://en.wikipedia.org/wiki/Circle_map]circle map.[/URL][/QUOTE]
it is
I have added sounds and help menu.
I have fixed heaps of bugs but there is some lag with the pulses for some stupid reason. Also ignore where the mouse position is because fraps stuffs it up.
[Media]http://www.youtube.com/watch?v=wcYpzEv2hlE[/Media]
GCC's optimizer is fucking awful.
I compiled this code with [b]no[/b] optimizations:
[cpp]
int n, i;
scanf("%d", &n);
int window[2] = { 1, 1 };
for(i = 2; i < n; i++)
window[i % 2] = (window[0] + window[1]) % 27644437;
printf("%d\n", window[!(i%2)]);
[/cpp]
[img]http://i.imgur.com/tEic6.png[/img]
Now with -O2:
[img]http://i.imgur.com/52pWs.png[/img]
I decided to hand optimize and manually unroll the loop (even though common programming wisdom says you should never try to outsmart the optimizer):
[cpp]
int n, i;
scanf("%d", &n);
int a = 1, b = 1;
for(i = 2; i < n; i++)
{
a = (a + b) % 27644437;
if(++i == n) break;
b = (a + b) % 27644437;
}
printf("%d\n", i % 2 ? a : b);
[/cpp]
[img]http://i.imgur.com/sKMRQ.png[/img]
:wtc:
Don't use the C++ compiler for C code :sigh:
Also, if you want GCC to unroll your loops, you must enable it with -floop-optimize or -funroll-loops.
Guess who got bitchin' particles, yeahhh
[img]http://i52.tinypic.com/2ia3c6g.png[/img]
Holy smoke! (... oh god I should never do that again)
[QUOTE=jA_cOp;29370419]Don't use the C++ compiler for C code :sigh:[/QUOTE]
I don't know if you notice it or not, but he's compiling a .cpp file. The small snippet he's posted just happens to look almost exactly like C because of the stdio function calls. :P
Sorry, you need to Log In to post a reply to this thread.