Recent Posts

Pages: 1 2 [3] 4 5 6 7 ... 10
21
The Binary Cafe' / Re: My Final Exam
« Last post by Jeod on November 30, 2010, 12:35:00 PM »
Okay, I understand a bit of the pathfinding, but how am I supposed to store the maze in an array and call it properly? It'll be a pretty long list (200 slots actually) to store each character of the maze. Is there an easier way to start off?
22
The Binary Cafe' / Re: My Final Exam
« Last post by xfixium on November 29, 2010, 03:52:16 PM »
You definitely need an array to hold the maze. A 2d one is easier to visualize. As for path finding, I'd look into these:

A* Pathfinding
http://www.policyalmanac.org/games/aStarTutorial.htm

Flood Filling: (Might be useful)
http://en.wikipedia.org/wiki/Flood_fill
23
The Binary Cafe' / My Final Exam
« Last post by Jeod on November 29, 2010, 02:38:13 PM »
For my computer science class, my final exam is a pretty difficult program (for my level of C experience anyway)

Solve the following 20x10 maze using an algorithm:

Code: [Select]
####################
##  #    ##    ### #
## # ###     #     #
#  # # ##### #######
# ## #    ## #    ##
# ## #### ## #### ##
# ##      ## ####  E
# ## #### ## #### ##
#    ####         ##
#S##################

The maze will be preset and not brought in as input. The solver should start as S and try to find a way to E. The program should mark the path it is
taking and also mark the paths that were incorrect.

Symbols:

# - Indicates a wall
' ' - Whitespaces, indicate paths
S - Indicates start position
E - Indicates end position
o - Indicates solver
+ - Indicates incorrect path

The program should redraw the maze each time the solver takes a new step. In the solution, show a clean maze with a solution path that the solver found. The program should have a main() function and at least one other function. You must also use arrays to store the maze. The masze must be solved in an algorithm. Do not simply hardcode print statements. Use pointers for moving around the maze. Do not use subscription or indexing techniques.

I've come to a point where I have to ask for assistance. I have no clue how to program this.
24
Beginner Projects / ABS + Jump
« Last post by TanatosMaker on July 25, 2010, 01:59:28 AM »
Battle system with different motion:
Code-Event



http://www.4shared.com/file/PK_ziyl9/abs-valkyria.html
(In Brazil)
25
Advanced Projects / Re: Screenthread
« Last post by Cypras on July 23, 2010, 12:59:54 AM »
Good luck with that.
26
Advanced Projects / Re: Screenthread
« Last post by Rayo on July 22, 2010, 12:10:50 PM »
Yes, I'm going to talk with King Mob.
27
Advanced Projects / Re: Screenthread
« Last post by Ethelon on July 21, 2010, 02:40:05 PM »
Doesn't matter how many people you talk to. You need to talk to KM.
28
Advanced Projects / Re: Screenthread
« Last post by Cypras on July 21, 2010, 12:51:25 PM »
Here is the Screen:
http://www.pic-upload.de/view-6420070/Hafen.jpg.html

I have spoken with many people before I have used King Mobs graphics.
And the Shadowgazer has been cancelled...
Just because the Shadowgazer has been canceled does not mean you can just use things  from it.
29
Advanced Projects / Re: Screenthread
« Last post by Rayo on July 21, 2010, 06:37:54 AM »
Here is the Screen:
http://www.pic-upload.de/view-6420070/Hafen.jpg.html

I have spoken with many people before I have used King Mobs graphics.
And the Shadowgazer has been cancelled...
30
Advanced Projects / Re: Screenthread
« Last post by TomPel on July 20, 2010, 07:16:57 PM »
Here the new Screen:

You do have permission from KingMob to use those graphics? As most of those tiles are cusotm made by him.
Pages: 1 2 [3] 4 5 6 7 ... 10