Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help in making a game Posted by skobin on 9 May 2009 at 1:11 PM
I have made cellular automata called Pixelgarde.
many different kinds of cellular automata and fuzzy logic are used to create complex life like behaviors.
the automatons used in the game simulate: plants, flowers, bugs, fire, sand....

I want to make it a puzzle game but I don't have allot of ideas.

you can play with the sandbox form at:
http://www.gameprojects.com/project/?id=08e5d6049b

any suggestions, or if some one wloud like to help?


Report
Re: Help in making a game Posted by w0lfg4 on 9 May 2009 at 5:58 PM
Impressive ! Do you mind posting the source too, ...pls !
Report
Re: Help in making a game Posted by skobin on 10 May 2009 at 12:29 AM
Here is the code, it is messy,
tell we if you want to make it a game.
Attachment: PixelGardenCode.zip (100253 Bytes | downloaded 131 times)
Report
Re: Help in making a game Posted by w0lfg4 on 11 May 2009 at 8:04 PM
Many thanks for the code mate ! Too bad, I didn't get most of it Could you explain it a bit, how it works ? I would like to see it turned into a game.

Wolfgang
Report
Re: Help in making a game Posted by skobin on 12 May 2009 at 2:33 AM
I will arrange the code maybe I will try to port it to free pascal.

as for now I will explain a bit:

the main game parts:

initialize:
virtual screens, pallets, gui...

main game loop:
repeat
{go over the scrren}
for x:=1 to 318 do for y:=1 to 198 do
begin
{cellular automatons logic: can be found in obj_fx}
if(getpixel(x,y) = sand colors)then sand_logic
................ fire_logic
.......
end;

{gui logic}

{alot of junk}
until Esc



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.