Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


game of thought

Member Since 22 Aug 2012
Offline Last Active May 12 2015 12:29 PM

Topics I've Started

Can you review my code?

10 May 2015 - 05:00 PM

It is a text based zombie game in PDcurses, although could be easily converted to ncurses or regular curses. Here: clicky

 

If you can't get it to compile and have the libraries go into main.h and change the curses include as you may have it installed in a different ways.

 

I am aware of some issues that exist in the code, although they will not be fixed for a while:

1) There is no detection for anything going out of bounds

2) Zombies spawn on top of players and pits, pits on players, often either makes the game easier or instant game over.

 

 

 

Please provide comments on primarily on source code of the game primarily, and you can read some slapped together documentation in LaTeX, HTML and man pages.

 

Thanks


ASCII Enthusiasts game and programming jam

27 May 2014 - 10:42 AM

It has been a while since I have been on this forum (the better part of two years I believe) but I have come back to talk about my newly formed Game/ programming jams called ASCII enthusiasts.
 
 
The main theme of this jam is the usage of ASCII/ANSI and text based graphics to create programs only. The first competition, know as the 72 hour competition on the website, consists of a 72 hour jam to create something in the flavour of a console or terminal program but without It having to be run in the terminal. The other one, which is 10 days, is a more pure console affair and should be better for beginners as you won't be rushing around.

The 72 hour version will be from the 25th June to the 28th June while the 10 day version is from the 1st July to the 10th july.
 

We have a basic site here : click
Thanks for reading

Can somebody critque my youtube channel in a constructive manner

23 July 2013 - 06:34 PM

I was a regular on this forum and stopped posting because i learned a programming language and found my own way in terms of apis etc.. Anyway, i would like to request something of you.

I started a youtube channel a while ago and started uploading a week ago and i wondered if you could provide some constructive critism of a youtube channel. I can change almost anything save the following:

- my voice, its a bit high but hopefully not particually annoying

- what i am currently doing, i will not discontinue my DF lets play or C tutorials


Other than that go nuts, as long as it is constructive

It would also be useful to see the positives so i can play to them

Some helpful info on the channel:

- It is all unscripted and during the video(save the review)

- some are quite long


Thank you all in advance.


Link: http://www.youtube.com/user/fusiongamesstudios

Null character, PDcurses

16 June 2013 - 04:37 AM

Hello, i have recently been writing a roguelike in C99 and i have a problem when writing this game, one of my items is forever null regardless of what i do. I am quite new to C so the solution may be obvious but i can't see it, i have tried tweaking some of the assignment loops but nothing seems to happen

 

 

if you want to see the error a screenshot is attached.

 

how my assignment essentially works by using the map definition to assign items to positions based on the following things

 
while(i < MAP_ARRAY_SIZE_X)//80
{
while(j < MAP_ARRAY_SIZE_Y)//25
{
itemdecider = rand() % 50 + 1;
definefloor(&map[i][j], i , j);//defines the thing
if(map[i][j].blocked == false && itemdecider == 5 && itemcounter < 20)
{
defineitem(&items[itemcounter], i , j);//this defines the item of course
 
itemcounter++;
}
j++;
}
j = 0;
i++;
 
}
i = 0;

the item array is 20 across(hence 0 - 19  in the array) so i don't quite know what is causing this as the draw function works in the same way

 

 

ask for any other information if you need

 

Thanks for your time 

 

if you want the source you can get it here: https://github.com/gigaraptor/The-Third-Rogue

 

PS: it is odd as this only happens once in 4-5 executions of the program


Moving onto c++ from c

29 May 2013 - 03:03 PM

I have learned c for roughly 3 months and i believe i have a good grasp on most stuff(save char pointers but i am working on it). I now want to move onto c++ because of a few reasons:

- better dynamic memory allocation
- boolean(better than unsigned char IMO)
- classes
- the ability to not have to use pointers as much
- better STD lib

Etc.


Now i have bought a c++ textbook and i have read the first few chapters and it seems identical to c. Since i am new to c/c++ i dont really want to miss anything that may be important but i am pushed for time.

Which topics should i read and practice and which ones can be ignored or are identical to c?

PARTNERS